* {
  box-sizing: border-box;
}

body {
  background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: rgb(49, 49, 49);
  font-family: Arial, sans-serif;

  margin: 0;
  padding: 0;
}

body::-webkit-scrollbar {
  display: none;
}

.title {
  text-align: center;
  margin-left: 25vw;

  margin-top: 40vh;
  width: 50vw;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 40px;
  background-image: linear-gradient(to right, #ff00cc, #333399);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 30px;
}

.register {
  text-align: center;
  margin-left: 35vw;
  width: 30vw;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;

  border-radius: 40px;
  background-image: linear-gradient(to right, #ff00cc, #333399);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 500px;
  transition: 0.4s;
}

.register:hover {
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
  cursor: pointer;
  transition: 0.4s;
}

h3 {
  color: rgb(49, 49, 49);
  font-size: 40px;
  margin: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

h1 {
  color: rgb(49, 49, 49);
  font-size: 80px;
  margin: auto;
}

h2 {
  font-size: 20px;
  padding-bottom: 20px;
}

.burger {
  display: none;
}

.burger .line {
  width: 25px;
  height: 3px;
  background-color: black;
  margin: 5px;
  transition: 0.5s;
}
/*Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  z-index: 999;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

.nav-links {
  padding-left: 25vw;
  padding-right: 25vw;
  display: flex;
  list-style: none;
  flex-direction: row;
  max-height: 50;
  transition: max-height 0.3s ease-out;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  padding: 20px;
  transition: 0.3s;
  border-radius: 25px;
}

.nav-links a:hover {
  background-color: black;
  color: white;
  border-radius: 25px;
  transition: 0.3s;
}

.nav-links a {
  text-decoration: none;
  color: black;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 998;
}

.nav-links.active {
  max-height: 500px; /* Adjust the value as needed */
  display: block;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  transition: 0.4s;
  padding-right: 20px;
  line-height: 30px;
  transition: max-height 0.3s ease-in;
  transition: opacity 0.3s ease-in, visibility 0s linear;
  opacity: 1;
}

.nav-links li .active {
  margin-top: 20px;
}

.burger.active .line:nth-child(1) {
  transform: rotate(50deg) translate(10px, 10px);
  transition: 0.5s;
}

.burger.active .line:nth-child(2) {
  opacity: 0;
}

.burger.active .line:nth-child(3) {
  transform: rotate(-50deg) translate(8px, -9px);
  transition: 0.5s;
}

/* Media Query for Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-out, visibility 0s linear 0.3s;
  }

  .nav-links a:hover {
    background-color: rgba(255, 255, 255, 0);
    color: rgb(0, 0, 0);
    height: 10px;
  }

  .nav-links a {
    padding: 0px;
  }

  .burger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }

  .burger.active .line {
    background-image: linear-gradient(to right, #ff00cc, #0000ff);
  }

  #taughtdiv {
    margin-bottom: 100px;
    height: 90vh;
  }
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  text-align: center;
  padding-bottom: 60px;
}

.container span {
  font-size: 45px;
  font-weight: bold;
}

.container .span2 {
  background-image: linear-gradient(to right, #ff00cc, #333399);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: bold;
}

.container p {
  font-size: 20px;
  line-height: 2;
}

.container img {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  max-width: 100%;
  max-height: 70vh;
  margin-bottom: 20px;
  border-radius: 20px;
}

.text-content {
  flex: 1;
  margin-right: 20px;
}

.text-content h2 {
  margin-bottom: 10px;
}

.image-content {
  flex: 1;
  text-align: right;
}

.image-content img {
  max-width: 100%;
  height: auto;
}

.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.section img {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  max-width: 100%;
  max-height: 70vh;
  margin-bottom: 20px;
  border-radius: 20px;
}

.content {
  max-width: 600px;
  margin: 0 auto;
}

.content h2 {
  font-size: 45px;
}

.content ul {
  font-size: 20px;
  line-height: 2;
  text-align: left;
}

.content li {
  padding-left: 10px;
}

.footer {
  background-color: #8ec5fc;
  background-image: linear-gradient(62deg, #8ec5fc 0%, #e0c3fc 100%);

  padding: 10px;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  color: white;
}

/*Scroll Indicator*/
.scroll-indicator {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.7;
  animation: moveUpDown 2s ease-in-out infinite;
  transition: opacity 0.5s ease;
}

.arrow {
  width: 30px;
  height: 30px;
  border: 2px solid #000000;
  border-width: 2px 2px 0 0;
  transform: rotate(135deg);
  margin-bottom: 15px;
}

@keyframes moveUpDown {
  0% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 10px);
  }
  100% {
    transform: translate(-50%, 0);
  }
}

.scroll-indicator p {
  margin: 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000000;
}

/* Media queries for responsive design */
@media screen and (max-width: 768px) {
  /* Styles for screens up to 768px wide */

  .navbar {
    justify-content: left;
    align-items: center;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 20px;
    padding-bottom: 20px;
  }

  h3 {
    font-size: 20px;
  }

  .title {
    margin-top: 30vh;
    width: 70vw;
    margin-left: 15%;
  }

  .section img {
    max-height: 50vh;
  }

  .section li {
    font-size: 20px;
    list-style: circle;
    list-style-type: disc;
    align-items: center;
    text-align: left;
  }

  .section ul {
    padding-left: 15vw;
  }

  #section2 {
    height: 100vh;
    min-height: 80vh;
    padding-bottom: 10px;
  }

  #section4 {
    height: 17vh;
  }
  #romanbio {
    padding-bottom: 0px;
  }
  .content {
    max-width: 80%;
  }

  .container img {
    display: none;
    margin: 0;
  }

  .container {
    display: flex;
    justify-content: center;
    align-content: space-between;
    flex-wrap: nowrap;
    flex-direction: column;
  }

  .container p {
    padding-left: 10px;
  }
}

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

th,
td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  th,
  td {
    display: block;
    width: 100%;
  }

  th {
    text-align: center;
  }

  td::before {
    content: attr(data-label);
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
  }
}

.containerContact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Added to center items vertically */
}

.item {
  margin-bottom: 20px;
}

.item img {
  display: block;
  margin: 0 auto; /* Added to center the image horizontally */
  max-width: 50vw;
  height: auto;
  border-radius: 25px;
}

.description {
  text-align: center;
  margin-top: 10px;
}

#item3 {
  padding-bottom: 10vh;
}

/*FOR DESKTOP*/
@media (min-width: 768px) {
  #sectiongirl {
    padding-top: 100px;
  }

  #section2 {
    padding-top: 50vh;
  }

  img {
    max-width: 15vw;
    height: auto;
  }

  #section4 {
    height: 50vh;
  }

  .text-content {
    max-width: 50vw;
  }

  #teamtitle {
    max-width: 50000px;
  }

  #startcontainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    text-align: center;
    padding-bottom: 60px;
    flex-direction: column;
    padding-bottom: 205px;
  }

  .item img {
    max-width: 25vw;
    max-height: 35vh;
  }

  #contactcontainer {
    flex-direction: column;
  }

  #romanbio {
    font-size: 75px;
  }

  .content p {
    font-size: 40px;
  }

  #text-content p {
    font-size: 100px;
  }

  .container p {
    font-size: 40px;
  }
}
