@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200&display=swap');
@import url('https://fonts.googleapis.com/css?family=Oswald:200');
@import url('https://fonts.googleapis.com/css2?family=Antonio:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Maven+Pro:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@600&display=swap');


*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body { 
	font: normal 20px Helvetica, Verdana; 
	color: #333; 
	background: #E1D9D1;
	width: 100%;
}

@keyframes popupnotif{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.notification{
  display: none;
  position: fixed;
  z-index: 99;
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgb(0 0 0/50%) 0 0);
  animation: popupnotif 0.5s;
}

.container-notif{
  z-index: 99;
  border-radius: 10px;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  width: 500px;
  height: auto;
  padding: 1%;
  background: white;
}

.image-notifs{
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-notif{
  filter: drop-shadow(1px 1px 1px #202020);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 20%;
}

.text-notif{
  margin: 10px;
  text-align: center;
  font-weight: bold;
}

.socials{
  cursor: pointer;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  background: linear-gradient(to right, #404040, #202020);
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  margin: 5px 0px;
}

.socials:hover{
  background-image: linear-gradient(rgb(0 0 0/70%) 0 0);
}

.socials a{
  color: white;
  text-decoration: none;
  font-size: 15px;
}

#close{
  position: absolute;
  top: 0;
  right: 14px;
  font-size: 40px;
  transform: rotate(45deg);
  cursor: pointer;
  color: black;
}

#close:hover{
  filter: drop-shadow(1px 1px 1px #000);
}

@keyframes popupnotif{
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* navbar */
.navbar{
	font-family: 'Montserrat';
  	width: 100%;
    color: black;
    position: fixed;
    z-index: 99;
    background-color: white;
    padding: 0px 35px;
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-branding{
    max-width: 15%;
    max-height: 15%;
    color: white;
}
.nav-menu{
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0px;
}
.nav-link{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: bold;
    margin: 0px 20px;
    text-decoration: none;
    color: black;
    font-weight: 600;
    transition: 0.3s ease-out;
}
.nav-link:hover{
    opacity: 0.5;
}
.hamburger{
    display: none;
    cursor: pointer;
}
.bar{
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: white;
}

h1 { 
	font-family: "Courier New"; 
}
p { 
	font-weight: bold; 
}
.directions { 
	display: block; 
	margin-bottom: 10px; 
	font-size: 80%; 
}
.wrapper {
	display: flex;
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%);
	position: absolute; 
	border-radius: 5px;
	width: auto;
	min-width: 300px; 
	background: #eee; 
	text-align: center;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 10px; 
	padding: 30px; 
	margin: 0 auto; 
	box-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 10px 0 -5px #eee, 0 10px 1px -4px rgba(0,0,0,0.15), 0 20px 0 -10px #eee, 0 20px 1px -9px rgba(0,0,0,0.15); 
}
#grades, #avg_grades { 
	font: normal 20px "Courier New"; 
}
#final_grade { 
	font: bold 60px Helvetica, Verdana; 
}
.green { 
	color: green; 
}
.teal { 
	color: teal; 
}
.blue { 
	color: blue; 
}
.orange { 
	color: orange; 
}
.red { 
	color: red; 
}

#yourgrades{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: calc(100% - 0%);
	padding: 1%;
	height: 30px;
	font-size: 1.5rem;
}
#submitbutton{
	margin: 10px auto;
	padding: 1%;
	width: calc(100% - 50%);
	border-radius: 5px;
	outline: none;
	cursor: pointer;
	font-size: 1.5rem;
}
#submitbutton:hover{
	background: #909090;
	color: white;
}

@media(max-aspect-ratio: 16/9){
	.navbar{
    padding: 30px 30px;
    background: white;
  }
  .hamburger{
    margin: 0 20px;
    display: block;
    color: white;
  }
  .nav-link{
    font-size: 2rem;
    color: black;
  }
  .nav-branding{
    color: black;
    font-size: 1rem;
    max-width: 30%;
  }
  .nav-link:hover{
    color: #909090;
  }
  .hamburger.active .bar:nth-child(2){
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1){

    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-menu{
    position: fixed;
    left: -100%;
    top: 0px;
    gap: 0px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    height: 100%;
    padding: 1%;
    color: white;
    text-align: center;
    transition: 0.3s;
  }
  .nav-item{
    margin: auto;
  }
  .nav-menu.active{
    left: 0;
  }
  .bar{
    background: black;
  }
	body { 
		font: normal 20px Helvetica, Verdana; 
		color: #333; 
		background: #E1D9D1;
		width: 100%;
	}
	h1 { 
		font-family: "Courier New";
		font-size: 3rem; 
	}
	p { 
		font-weight: bold; 
	}
	.directions { 
		display: block; 
		margin-bottom: 10px; 
		font-size: 2rem; 
	}
	.wrapper { 
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		position: absolute;
		border-radius: 5px;
		width: calc(100% - 10%); 
		min-width: auto; 
		background: #eee; 
		text-align: center;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column; 
		padding: 30px; 
		margin: 0 auto; 
		box-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 10px 0 -5px #eee, 0 10px 1px -4px rgba(0,0,0,0.15), 0 20px 0 -10px #eee, 0 20px 1px -9px rgba(0,0,0,0.15); 
	}
	#grades, #avg_grades { 
		font: normal 50px "Courier New"; 
	}
	#final_grade { 
		font: bold 72px Helvetica, Verdana; 
	}
	.green { 
		color: green; 
	}
	.teal { 
		color: teal; 
	}
	.blue { 
		color: blue; 
	}
	.orange { 
		color: orange; 
	}
	.red { 
		color: red; 
	}

	#yourgrades{
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		width: calc(100% - 0%);
		padding: 1%;
		height: 30px;
		font-size: 3rem;
		height: 50px;
	}
	#submitbutton{
		margin: 10px auto;
		padding: 1.5%;
		width: calc(100% - 50%);
		border-radius: 5px;

		outline: none;
		cursor: pointer;
		font-size: 3rem;
	}
	#submitbutton:hover{
		background: #909090;
		color: white;
	}
}