/* style.css */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

:root {
  --dark-grey: #333333;
  --medium-grey: #636363;
  --light-grey: #eeeeee;
  --ash: #f4f4f4;
  --red: #e31f27;
  --blue: #2481C1;
  --primary-color: #2b72fb;
  --white: white;
  --border: 1px solid var(--light-grey);
  --shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

body {
  font-family: inherit;
  /*background-color: var(--white);*/
  color: var(--dark-grey);
  /*letter-spacing: -0.4px;*/
  /*background: url(../img/bg.img/lotte1.jpg);*/
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  height: 100vh;
  width: 100%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  color: inherit;
}

.btn {
  display: block;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 5px;
}

.icon {
  padding: 0.5rem;
  background-color: var(--light-grey);
  border-radius: 10px;
}

.logo {
  margin: auto 1.5rem auto 0;
}

#nav-menu {
  position: relative;
  z-index: 2;
  border-bottom: var(--border);
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 2rem;
  height: 10vh;
  padding: 0 3rem;  
  background-color: rgba(255, 255, 255, .3);
  backdrop-filter: blur(5px);
}

.menu {
  position: relative;
}

.nav-start h2 {
  animation: header .5s forwards;
}

@keyframes header {
  from {opacity: 0; transform: translateX(-15px);}
  to {opacity: 1; transform: translateX(0);}
}

/*.menu-bar li:first-child .dropdown {
  flex-direction: initial;
  min-width: 480px;
}*/

/*.menu-bar li:first-child ul:nth-child(1) {
  border-bottom: var(--border);
}*/

/*.menu-bar li:nth-child(n + 2) ul:nth-child(1) {
  border-bottom: var(--border);
}*/

.menu-bar .dropdown-link-title {
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1rem;
}

.menu-bar .nav-link {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.6px;
  padding: 0.3rem;
  min-width: 60px;
  margin: 0 0.6rem;
}

.menu-bar .nav-link:hover,
.dropdown-link:hover {
  color: var(--primary-color);
}

.nav-start,
.nav-end,
.menu-bar,
.right-container,
.right-container .search {
  display: flex;
  align-items: center;
}

.dropdown {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  background-color: rgba(255, 255, 255);
  box-shadow: 10px 10px 15px rgba(0, 0, 0, .5);
  border-radius: 10px;
  position: absolute;
  top: 36px;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.97) translateX(-5px);
  transition: 0.1s ease-in-out;
  box-shadow: var(--shadow);
}

.dropdown.active {
  visibility: visible;
  opacity: 1;
  transform: scale(1) translateX(5px);
}

.dropdown ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.2rem;
  font-size: 0.95rem;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.15rem;
}

.dropdown-link {
  display: flex;
  gap: 0.5rem;
  /*padding: 0.2rem 0;*/
  border-radius: 7px;
  transition: 0.1s ease-in-out;
}

.dropdown-link p {
  font-size: 0.8rem;
  color: var(--medium-grey);
}

.right-container {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.right-container .search {
  position: relative;
}

.right-container img {
  border-radius: 50%;
}

.search input {
  background-color: var(--ash);
  border: none;
  border-radius: 6px;
  padding: 0.7rem;
  padding-left: 2.4rem;
  font-size: 16px;
  width: 100%;
  border: var(--border);
}

.search .bx-search {
  position: absolute;
  left: 10px;
  top: 50%;
  font-size: 1.3rem;
  transform: translateY(-50%);
  opacity: 0.6;
}

#hamburger {
  display: none;
  padding: 0.1rem;
  margin-left: 1rem;
  font-size: 1.9rem;
}

main {
  width: 100%;
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}

main::-webkit-scrollbar {
    width: 1vw;
}

main::-webkit-scrollbar-track {
    background-color: transparent;
}

main::-webkit-scrollbar-thumb {
    background-color: #8b909483;
    border-radius: 15px;
    border: 2px solid transparent;
    background-clip: content-box;
}

main::-webkit-scrollbar-thumb:hover {
    background-color: var(--gray);
    transition: .5s ease-in;
}

main h1 {
  padding: 20px;
  font-size: 2vmax;
  /*color: var(--red);*/
  /*text-shadow: -5px -5px 10px rgba(0, 0, 0, .8);*/
  text-align: start;
}

main h1 .user {
  font-style: italic;
  text-transform: capitalize;
}

@media (max-width: 1100px) {
  #hamburger {
    position: absolute;
    right: 20px;
    display: block;
  }

  .container {
    padding: 1.2rem;
  }

  .menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    min-height: 100vh;
    width: 100vw;
  }

  .menu-bar li:first-child ul:nth-child(1) {
    border-right: none;
    border-bottom: var(--border);
  }

  .dropdown {
    display: none;
    min-width: 100%;
    border: none !important;
    border-radius: 5px;
    position: static;
    top: 0;
    left: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }

  .menu.show,
  .dropdown.active {
    display: block;
  }

  .dropdown ul {
    padding-left: 0.3rem;
  }

  .menu-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    row-gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255);
  }

  .menu-bar .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
  }

  .menu-bar li:first-child .dropdown {
    min-width: 100%;
  }

  .menu-bar > li:not(:last-child) {
    padding-bottom: 0.5rem;
    border-bottom: var(--border);
  }
}

@media (max-width: 480px) {
  .nav-start h2 {
    font-size: 1.1em;
  }
  .container {
    height: 50px;
  }
  main {
    height: 88vh;
  }
  main h1 {
    font-size: 1.2em;
  }
  .right-container {
    display: none;
  }
}

@media (max-width: 320px) {
  .nav-start h2 {
    font-size: 1em;
  }
  .container {
    height: 50px;
  }
  main {
    height: 88vh;
  }
  main h1 {
    font-size: 1.2em;
  }
}


.cont-login {
	width: 100%;
	height: 90vh;
	display: flex;
	/*margin: 20px;*/
	align-items: center;
	justify-content: space-around;
	text-align: center;
}

.cont-login h2 {
	font-size: 4vmax;
	color: var(--red);
	text-shadow: -5px -5px 10px rgba(0, 0, 0, .8);
	/*font-family: 'Oswald', sans-serif;*/
    animation: welcome .5s forwards;
}

@keyframes welcome {
    from {transform: scale(0);}
    to {transform: scale(1);}
}

.login {
	position: relative;
	width: 25vw;
	height: 400px;
	display: flex;
	/*visibility: hidden;*/
	flex-direction: column;
	padding: 20px 0;
	/*justify-content: center;*/
	align-items: center;
	border-radius: 10px;
	background-color: rgba(255, 255, 255, .1);
	backdrop-filter: blur(5px);
    box-shadow: 10px -10px 15px rgba(0, 0, 0, .5);
    border-bottom: 1px solid rgba(255, 255, 255);
    border-left: 1px solid rgba(255, 255, 255);
    animation: login .5s forwards;
}

@keyframes login {
    from {transform: perspective(800px) rotateY(150deg);}
    to {transform: perspective(800px) rotateY(0);}
}

.login img {
	width: 10vw;
	margin: 20px 0;
}

.login h3 {
	font-size: 1.2vw;
	font-weight: 500;
	margin: 10px 0 15px;
	align-items: center;
	display: flex;
}

.login input {
	width: 50%;
	margin: 7px 0;
	padding: 7px;
	outline: none;
	border: none;
	border-radius: 5px;
	background-color: rgba(255, 255, 255, .7);
	text-align: center;
}

.login input::-webkit-outer-spin-button,
.login input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.login button {
	background-color: var(--blue);
	padding: 7px 15px;
	margin-top: 10px;
	border-radius: 5px;
	outline: none;
	color: white;
}

.login p {
	position: absolute;
	bottom: 20px;
}

@media (max-width: 480px) {
	.cont-login {
		flex-direction: column;
		justify-content: flex-start;
	}

	.cont-login h2 {
		font-size: 1.5em;
		margin: 5vh 0;
	}
	.login {
		width: 75vw;
		height: 300px;
	}
	.login img {
		width: 35vw;
	}
	.login h3 {
		font-size: .8em;
	}
	.login input {
		width: 60%;
	}
	.login p {
		font-size: .7em;
	}
}

@media (max-width: 300px) {
	.cont-login h2 {
		font-size: .8em;
		text-shadow: -1px -1px 5px rgba(0, 0, 0, .8);
		/*display: none;*/
	}
	.login {
		height: 250px;
		box-shadow: 5px -5px 10	px rgba(0, 0, 0, .5);
	}
	.login img {
		width: 40vw;
		margin: 3px 0;
	}
	.login h3 {
		font-size: .7em;
	}
	.login button {
		padding: 5px 10px;
		font-size: .5em;
	}
	.login input {
		margin: 5px 0;
		padding: 5px;
	}
	.login p {
		bottom: 10px;
	}
}