/*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: 0%;
	}

	.middle {
	  width: 100%;
	}
	
	.row:after {
	  content: "";
	  display: table;
	  clear: both;
	}
	
	.footer {
	  float:left;
		height: 20vh;
		background-image: url('sweater.jpg');
		width: 100%;
	}
	
/* NAVIGATION */

	.menu {
		transition: transform .2s; 
		border: 0px solid red;
	}

	.menu:hover {
		transform: scale(1.25);
	}

	.header {
	 display: none;
	 } 
	 
	.mheader {
		height: 50vh;
		width: 100%;
		background-image: url('sweater.jpg');
	} 
		 
	.navbar{
	  border: 30px solid transparent;
	  border-image-source: url(img/border2.png);
	  border-image-slice: 30;
	  border-image-repeat: round;
	  background-image: url('sweater.jpg');
	  padding-top:2.5%;
	  padding-bottom:5%;
	  align-items: center;
	  word-wrap:break-word;	  
	  justify-content: space-evenly; 
	  gap: 5px;
	  
		}
		
	.button{
	  display:block;
	  background:transparent;
	  border:none;
   
	  }
	
	 /* invisible links */
	 a, a:hover, a:focus, a:active {
		  text-decoration: none;
		  color: inherit;
		}  

		
		.mobile-media{
		 
		  }

/* 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%;
}

/* TEXT OVER IMAGE V2*/		
		.txtbox{
	background-image:url(img/note3.png);
  background-repeat: no-repeat;
  background-attachment: fixed; 
  background-size: 100% 100%;
  word-wrap:break-word;
  text-align:center;
  padding: 10%;
  min-height:60%;
  }		
  
  .mathtxt{
  background-image:url(img/mathpaper.jpg);
  word-wrap:break-word;
  padding: 2.5%;
  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:30%;
	  text-align:left;
	  }

/* LAYOUT */

.flex-container {
  display: flex;
  gap: 5px;
	flex-wrap: nowrap;
	flex-grow: 1;
	flex-direction: column;
}

.flex-container > div {
  margin: 0;
  padding: 0;
  font-size: 30px;
  width: 100%;
}

.flex-container-row {
  display: flex;
  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;}
