@import url("https://fonts.googleapis.com/css?family=Poppins:200,300,400,500,600,700,800,900&display=swap");
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow: hidden;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  min-height: 100vh;
  background-image: url(assets/images/bg2.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 50px;
}

.container {
  position: relative;
  width: calc(100% - 100px);
  height: calc(100vh - 100px);
  min-height: 300px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px;
}

header {
  position: absolute;
  top: -40px;
  right: 20px;
  left: 20px;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

header .logo {
  color: #8a2435;
  font-weight: 700;
  text-decoration: none;
  font-size: 2em;
}

header ul {
  display: flex;
}

header ul li {
  list-style: none;
  margin: 0 10px;
}

header .logo,
header ul li a {
  text-decoration: none;
  font-weight: 500;
  color: #8a2435;
  padding: 8px 15px;
  border-radius: 25px;
}

header .logo:hover,
header ul li a:hover,
header ul li a.active {
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.content {
  min-height: 400px;
  height: max-content;
  min-width: 45vw;
  width: max-content;
  transform: translateX(-100px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  padding: 40px;
  padding-left: 110px;
}

.content h2 {
  font-size: 3em;
  color: #8a2435;
}

.content p {
  font-size: 1.2em;
  color: #8a2435;
}

.content a {
  display: inline-block;
  padding: 15px 30px;
  background: #fff;
  color: #8a2435;
  margin-top: 10px;
  border-radius: 30px;
  font-size: 1.2em;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: 500ms;
}

.sci li:hover a,
.content a:hover {
  background: #8a2435;
  color: #fff;
  border-radius: 50px;
  font-size: 1.3em;
  box-shadow: 0 15px 10px rgba(0, 0, 0, 0.2);
}

.imgBox img {
  height: 450px;
  animation: animate 5s linear infinite;
}

@keyframes animate {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(50px);
  }
}

.sci {
  position: absolute;
  right: -25px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 15px;
}

.sci li {
  list-style: none;
}

.sci li a {
  text-decoration: none;
  width: 50px;
  height: 50px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.sci li a img {
  transform: scale(0.6);
  transition: 500ms;
}

.sci li:hover a img {
  transform: scale(0.8) rotate(360deg);
}

.credit {
  position: absolute;
  bottom: -35px;
  right: 50px;
  color: #8a2435;
}

.credit a {
  text-decoration: none;
  color: #fff;
}

@media (max-width: 1200px) {
  .container {
    position: relative;
    width: calc(100% - 20px);
  }

  .content {
    padding: 30px;
  }
}
@media (max-width: 992px) {
  body {
    overflow-y: auto;
  }

  section {
    padding: 50px 10px 10px;
    height: auto;
  }

  .container {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .container .content {
    transform: translateX(0px);
    width: 100%;
    padding: 30px;
    min-height: auto;
    margin-top: -40px;
  }

  header {
    position: relative;
    flex-direction: column;
    width: 100%;
    top: -60px;
    right: 0;
    left: 0;
  }

  header .logo {
    font-weight: bolder;
  }

  header ul {
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  header ul li {
    margin: 2px;
  }

  header ul li a {
    display: inline-block;
  }

  .imgBox {
    margin-bottom: 50px;
  }

  @keyframes animate {
    0%,
    100% {
      transform: translateY(-20px);
    }
    50% {
      transform: translateY(20px);
    }
  }

  .content a {
    font-size: 1em;
    padding: 10px 20px;
  }

  .sci {
    position: relative;
    flex-direction: row;
    left: 0;
    gap: 30px;
  }

  .credit {
    position: relative;
    bottom: initial;
    right: inherit;
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }

  .credit a {
    color: #000;
  }
}

@media (max-width: 650px) {
  .content h2 {
    font-size: 1.5em;
  }

  .content p {
    font-size: 1em;
  }

  .imgBox img {
    max-width: 300px;
  }
}

@media (max-height: 600px) {
  .container .content {
    padding: 30px;
  }
}
