body {
  background-color: #ffffff;
  color: #eae6f2;
  font-family: 'Raleway', sans-serif;
}

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/
#screen-navbar {
  width: 100vm;
  margin-inline: auto;
  padding: 16px;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-top: none;
}

.dropdown-menu li {
  padding: 8px 16px;
}

.dropdown-menu li a {
  text-decoration: none;
  color: #333;
}

.dropdown:hover .dropdown-menu {
  display: block;
}


.logo img {
  width: 200px;
  height: auto;
  transition: transform 0.1s ease-in-out;
}

.logo:hover img {
  transform: scale(1.1);
}

.search-view {
  background-color: #4f4b92;
  height: 56px;
  width: 200px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  cursor: text;
  transition: background-color 0.7s ease;
}

header button {
  display: none;
}

.search-bar {
  display: flex;
  align-items: center;
}

.icon {
  padding: 5px 0px 0px 15px;
}

.icon .iconify {
  color: #fff;
  padding: 0 16px;
  display: flex;
  align-items: center;
  font-size: 30px;
}

.input {
  flex: 1;
}

.input input {
  background-color: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  outline: none;
  width: 90%;
}

.my-location-button {
  background-color: #4f4b92;
  color: #131214;
  padding: 1em;
  border-radius: 20px;
  transition: background-color 0.3s ease-in-out;
  cursor: pointer;
}

.my-location-button .iconify {
  font-size: 40px;
}

/*-----------------------------------*\
  #MAIN
\*-----------------------------------*/

main {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: slideIn 0.5s ease-in-out forwards;
  margin-top: 20px;
}

main .section {
  display: flex;
  align-items: center;
}

@keyframes slideIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.avatars-section {
  display: flex;
  flex-direction: column;
  width: 50%;
  text-align: center;
  justify-content: space-between;
  opacity: 0;
  animation: scaleIn 0.5s ease-in-out forwards;
}

@keyframes scaleIn {
  from {
    transform: matrix3d(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.avatars-section h1 {
  font-size: 50px;
  margin-bottom: 30px;
  font-family: 'Raleway', sans-serif;
  color: #4f4b92;
}

.avatars-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: center;
  width: 60%;
  justify-content: space-evenly;
  gap: 20px;
}

.avatar {
  width: 300px;
  padding: 0px;
  border-radius: 5px;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #4f4b92;
  font-family: 'Raleway', sans-serif;
}

.avatar:hover {
  transform:matrix3d(1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor:default;
}

.avatar img {
  width: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.avatar video {
  width: 250px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

.avatar h2 {
  font-size: 18px;
  font-weight: bold;
}

/*-----------------------------------*\
  #PERSONAL CARD
\*-----------------------------------*/
.personal-card-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(1px);
  z-index: 998;
}

.personal-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 500px;
  padding: 40px;
  background-color: #366d9d;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 999;
  animation: scaleFadeIn 0.5s forwards;
}

@keyframes scaleFadeIn {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.personal-card h2 {
  font-size: 35px;
  font-weight: bolder;
  color: #fff;
  margin-bottom: 30px;
}

.personal-card p {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  font-family: 'Raleway', sans-serif;
}

.personal-card svg {
  margin-right: 20px;
  font-size: 25px;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: none;
  font-size: 24px;
  color: #131214;
  cursor: pointer;
}

.hide-personal-card {
  animation: scaleFadeOut 0.5s forwards;
}

@keyframes scaleFadeOut {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
}

@media all and (min-width: 1729px) {
  .avatars-section {
    width: 60%;
  }

  .avatars-container {
    width: 65%;
  }
}

@media all and (max-width: 2000px) {
  .avatars-section {
    width: 90%;
  }

  .avatars-container {
    width: 65%;
  }
}

@media all and (max-width: 480px) {
  #screen-navbar {
    display: none;
  }

  .search-view {
    width: 280px;
    height: 40px;
  }

  .input input {
    width: 240px;
  }

  #mobile-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
    width: 94vm;
    padding: 10px 20px;
  }

  .nav-icon {
    position: relative;
    height: 3rem;
    width: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    z-index: 1001;
  }

  .nav-icon div {
    width: 2.5rem;
    height: 0.3rem;
    background: #eae6f2;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
  }

  .overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #366d9d;
    overflow-y: hidden;
    transition: 0.5s;
  }

  .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }

  .overlay-content a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: white;
    display: block;
    transition: 0.3s;
  }
}
