/*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: 75px;
		width: 100%;
		background-image: url('sweater.jpg');
	} 
	
	.desktop{
	  display:none;
	  }
		 
	.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;
	  font-family: "Times New Roman", Times, serif;
	  font-size:1.5em;
		}
		
	.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-size: 100% 100%;
  word-wrap:normal;
  text-align:center;
  padding-left: 5%;
  padding-right: 5%;
  padding-top:10%;
  padding-bottom:10%;
  min-height:60%;
  }		
  
  .mathtxt{
  background-image:url(img/mathpaper.jpg);
  word-wrap:normal;
  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:50%;
	  width:50%;
	  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;}
  
/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: transparent;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 30px 0 0 30px;
}

.prev {
  left: 0;
  border-radius: 30px 0 0 30px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(92, 211, 210, 0.49);
}


/* Caption text */
.caption-container {
  text-align: center;
  background-color: transparent;
  padding: 2px 16px;
  color: white;
  font-size:4em;
  font-weight: bold;
}

img.demo {
  opacity: 0.6;
  background-color:transparent;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  transform: scale(1.02);
}