/*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%;
	  background-image: url(cork1.jpg);background-repeat: repeat;border: 30px solid transparent;border-image-source: url(img/border2.png);border-image-slice: 30;border-image-repeat: round;
	}
	
	.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;
	  font-family: "Times New Roman", Times, serif;
	  font-size:1.5em;
	}
 /* 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-top: 20%;
  padding-bottom: 20%;
  padding-left:10%;
  padding-right:10%;
  background-repeat: no-repeat;
  text-align:center;
  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;}

/* 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;
  display: flex;
  justify-content: center; 
  gap: 5px;
	flex-wrap: wrap;
	flex-grow: 1;
	flex-direction: row;

}

.mySlides-row > div {
  margin: 0;
  padding: 0;
  font-size: 30px;
  width: 45%;
}

/* 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: 3px 0 0 3px;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* 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);
}

