@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Ubuntu+Mono&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
  font-family: "Roboto Mono", monospace;
  /* position: relative; */
}

video {
  position: fixed;
  top: 0;
  left: 0;
  object-fit: cover;
  height: 100%;
  width: 100%;
  opacity: 1;
}

.main {
  display: flex;
  flex-direction: column;
}

h2 {
  color: #fff;
  text-align: center;
  margin: 140px 0px 15px;
  font-size: 2.6rem;
  font-family: "Poppins", sans-serif;
  position: relative;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 20px 0;
  position: relative;
}

.container .box {
  border: 2px solid #fff;
  border-radius: 15px;
  padding: 20px 30px;
  width: 80%;
  margin: 20px auto;
  box-shadow: 0px 5px 6px rgba(255, 255, 255, 0.2);
  background: transparent;
  transition: 0.2s ease-in-out;
}

.container .box:hover {
  background: rgba(255, 255, 255, 0.6);
  color: #000;
  transform: scale(1.1);
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid #000;
}

.container .box .content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.container .box .content img {
  margin: 15px 0;
  width: 200px;
  height: 160px;
}
.cvm-logo {
  margin-top: 0;
}
.container .box .content hr {
  height: 3px;
  width: 0%;
  margin-bottom: 20px;
  opacity: 0;
  transition: 0.5s ease-in-out;
}

.container .box:hover .content hr {
  width: 80%;
  border: 1px solid rgb(23, 57, 209);
  background: rgb(23, 57, 209);
  box-shadow: 0px 5px 15px rgb(23, 57, 209, 0.8);
  border-radius: 10px;
  opacity: 1;
}

.container .box .content h3 {
  font-size: 1.4rem;
  margin: -13px 0 15px 0;
  font-weight: 700;
}

.container .box .content p {
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.3;
  font-family: "Poppins", sans-serif;
}

/* Navbar */

.nav-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100vw;
  backdrop-filter: blur(3px);
  z-index: 5;
}

.nav-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 115px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: -1;
  opacity: 0.8;
}

nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-around;
  align-items: center;
  margin-left: 54%;
}
.nav-container nav .logo {
  position: absolute;
  top: 0px;
  left: 0px;
  background: #fff;
  border: 2px solid #fff;
}
nav #logo {
  width: 130px;
  /* margin-right: 20%; */
  position: absolute;
  left: 20px;
  top: 9px;
  padding: 10px 6px;
}

.nav-links {
  flex: 1;
  text-align: center;
}
.nav-links ul {
  margin-top: 15px;
  margin-right: 100px;
  width: 600px;
}
.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 10px;
  position: relative;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
}

.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #fff;
  display: block;
  margin: auto;
}

.nav-links ul li:hover::after {
  width: 100%;
  transition: 0.5s;
}

nav .fa {
  width: 12px;
  height: 12px;
  display: none;
}
svg {
  color: #fff;
  display: none;
}

@media (max-width: 1150px) {
  .nav-links ul li {
    display: block;
  }

  .nav-links {
    position: absolute;
    background: #000;
    height: 100vh;
    width: 250px;
    top: 0;
    right: -250px;
    text-align: left;
    z-index: 2;
    transition: 0.7s;
    opacity: 0.7;
  }

  svg {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 32px;
    right: 50px;
    width: 40px;
    height: 60px;
    margin-right: 25px;
  }

  svg:nth-child(1) {
    display: block;
    margin-bottom: 50px;
    position: absolute;
    top: 12px;
    left: 11px;
    width: 40px;
    height: 40px;
  }

  .nav-links ul {
    padding: 40px;
  }

  .fa-bars {
    position: absolute;
    top: 28px;
    right: 22px;
    background: transparent;
  }

  .fa-close {
    /* background: #fff; */
    border-radius: 50%;
  }

  .nav-links ul li a {
    color: #fff;
  }

  .nav-links ul li:hover::after {
    width: 0%;
  }

  .nav-links ul li:hover {
    background-color: #fff;
    border-radius: 12px;
  }

  .nav-links ul li:hover a {
    color: #000;
    font-weight: 500;
  }
  .nav-container {
    backdrop-filter: blur(3px);
    /* height: 20%; */
  }
}
.hidden {
  display: none;
}

.footer {
  /* z-index: 100; */
  /* height: 300px; */
  width: 100%;
  position: relative;
  margin: auto;
  /* background-color: #000; */
  display: flex;
  justify-content: space-around;
  align-items: center;
  /* align-content: center; */
  flex: 1;
  flex-wrap: wrap;
}

.footer .map {
  border: 0;
  height: 250px;
  width: 329px;
  margin: 56px 70px;
  border-radius: 12px;
  box-shadow: 0px 5px 6px rgb(255 255 255 / 20%);
}

.footer img {
  width: 400px;
  height: 300px;
  /* margin-top: -20px; */
}
@media (max-width: 847px) {
  .footer .map {
    margin-top: 40px;
  }

  .footer img {
    margin-top: -38px;
    margin-left: 13px;
    margin-bottom: -80px;
  }

  .footer hr {
    display: none;
  }

  .developers {
    /* margin-top: -5px; */
  }
}

.footer {
  background-color: rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.footer hr {
  transform: rotate(90deg);
  opacity: 1;
  color: #000;
  width: 306px;
  margin: -130px;
  margin-left: -245px;
  height: 3px;
  background-color: #000;
}

.developers {
  background-color: rgba(255, 255, 255, 0.5);
  text-align: center;
  position: relative;
  color: #000;
  padding: 40px 50px;
}

.developers ul {
  list-style: none;
}

.developers ul li {
  padding: 6px;
}

.developers h3 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  text-decoration: underline;
}
