/*RESPONSIVE PART */
* {
  box-sizing: border-box;
  margin: 0; padding: 0;
}

	.column {
	  float: left;
	  height: fit-content;
	  align-items: center;
	  word-wrap:break-word;	  
	  justify-content: space-evenly;
	  
	}

	.left, .right {
	  width: 20%;
	}

	.middle {
	  width: 60%;
	}
	
	.row:after {
	  content: "";
	  display: table;
	  clear: both;
	}

	.footer {
	  float:left;
		height: 15vh;
		background-image: url('sweater.jpg');
		width: 100%;
	}
	
/* NAVIGATION */

.menu {
	transition: transform .2s; 
	border: 0px solid red;
}

.menu:hover {
	transform: scale(1.25);
}

	.header {
	 float: left;
	 height: 10vh;
	 background-image: url('sweater.jpg');
 }
 
	.mheader {
	  display: none;
	}
 
	.mobile {
	  display: none;	
	}
	
	.navbar{
	  display: flex;
	  align-items: center;
	  height: 100%;	
	  justify-content: space-evenly; 
	  gap: 5px;
	}
 /* invisible links */
 a, a:hover, a:focus, a:active {
      text-decoration: none;
      color: inherit;
	}  

/* TEXT OVER IMAGE */
	.note{
		position:relative;
		text-align: center;
		}

	.centered{
		position:absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		}
		
		.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

	.overlay{
		position:absolute;
		top: 50%;
		transform: translate(-50%, -50%);
		}	

/* TEXT OVER IMAGE V2*/

.txtbox{
  background-image:url(img/note3.png);
  word-wrap:break-word;
  padding: 20%;
  background-repeat: no-repeat;
  background-attachment: fixed; 
  background-size: 100% 100%;
  }
  
  .mathtxt{
  background-image:url(img/mathpaper.jpg);
  word-wrap:break-word;
  padding: 2%;
  margin: 5%;
  
    }

/* BLOG */

	.card {
	   padding: 0;
	   margin: 20px;
	   display: flex;
	   flex-flow: row wrap;
	   background-image: url(img/mathpaper.jpg);
	   background-repeat:repeat;
	   word-wrap:break-word; 
	   border: 5px solid black;
	   transition: transform .2s; 
	}
	
	.card:hover{
	  transform: scale(1.05);
	  }
	
	.tittle{
	  padding-left:2.5%;
	  word-wrap: break-word;
	  float:right;
	  height:400px;
	  width:60%;
	  text-align:left;
	  }

/* LAYOUT */

.flex-container {
  display: flex; 
  gap: 5px;
	flex-wrap: wrap;
	flex-grow: 1;
	flex-direction: row;

}

.flex-container > div {
  margin: 0;
  padding: 0;
  font-size: 30px;
  width: 45%;
}

.flex-container-row {
  display: flex;
  justify-content: center; 
  gap: 5px;
	flex-wrap: wrap;
	flex-grow: 1;
	flex-direction: row;

}

.flex-container-row > div {
  margin: 0;
  padding: 0;
  font-size: 30px;
  width: 45%;
}



	
/* GALLERY */

.frame {
  border: 30px solid transparent;
  border-image-source: url(img/border2.png);
  border-image-slice: 30;
  border-image-repeat: round;}
