.sectionn {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: url(images/bgsec2black.jpg);
}

.blue-bg {
  background-color: #3498db;
  color: white;
}

.text-container,
.image-containerr,
.small-circles {
  position: absolute;
  opacity: 0;
  transform: translateY(350px);
}

.text-container.show,
.small-circles.show {
  transition: opacity 2.5s ease, transform 1.5s ease;
  opacity: 1;
  transform: translateY(0);
}
.image-containerr.show {
  transition: opacity 5s ease, transform 2.3s ease;
  opacity: 1;
  transform: translateY(0);
}

.section8-content {
  width: 70%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.text-container {
  width: 45%;
  text-align: left;
  left: 5%;
  top: 16%;
  transform: translateY(-50%);
  padding: 80px;
  border: 1px solid white;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(31, 30, 30, 0.3);
  color: white;
}
.text-container p {
  font-size: 22px;
}
.text-container li {
  font-size: 18px;
}
.text-container h2 {
  font-size: 38px;
  text-align: center;
}
.text-container span {
  color: rgb(68, 165, 255);
  font-weight: 600;
}

.image-containerr {
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background-color: #ccc;
  right: -20%;
  top: -3%;
  transform: translateY(-50%);
  overflow: hidden;
  border: 10px solid rgba(51, 135, 231, 0.801);
}

.image-containerr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.small-circles {
  display: flex;
  justify-content: center;
  position: absolute;
  top: 21%;
  left: 30%;
  transform: translateX(-100%);
}

@media only screen and (max-width: 768px) and (orientation: portrait) {
  .sectionn {
    height: 800px;
  }
  .image-containerr {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background-color: #ccc;
    right: 0;
    top: 45%;
    left: -80%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    border: none;
  }

  .text-container {
    z-index: 1;
    width: 85%;
    text-align: left;
    left: 4.5%;
    top: 5%;
    transform: translateY(-50%);
    padding: 10px;
    border: 1px solid white;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(31, 30, 30, 0.3);
    color: white;
  }
  .text-container p {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
  }

  .text-container li {
    font-size: 10px;
  }
  .text-container h2 {
    font-size: 20px;
    text-align: center;
  }
  .text-container span {
    color: rgb(68, 165, 255);
    font-weight: 800;
  }
}
@media only screen and (max-width: 900px) and (orientation: landscape) {
  .sectionn {
    height: 500px;
  }
  .image-containerr {
    top: 20%;
    left: -50%;
  }

  .text-container {
    z-index: 1;
    width: 85%;
    text-align: left;
    left: 4.5%;
    top: 5%;
    transform: translateY(-50%);
    padding: 10px;
    border: 1px solid white;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(31, 30, 30, 0.3);
    color: white;
  }
  .text-container p {
    font-size: 18px;
    font-weight: 400;
    text-align: center;
  }

  .text-container li {
    font-size: 10px;
  }
  .text-container h2 {
    font-size: 20px;
    text-align: center;
  }
  .text-container span {
    color: rgb(68, 165, 255);
    font-weight: 800;
  }
}
@media only screen and (min-width: 632px) and (max-width: 1280px) and (orientation: portrait) {
  .sectionn {
    height: 800px;
  }
  .image-containerr {
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background-color: #ccc;
    right: 0;
    top: 45%;
    left: -30%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    /* border: none; */
    border: 20px solid rgba(0, 162, 255, 0.541);
  }

  .text-container {
    z-index: 1;
    width: 85%;
    text-align: left;
    left: 4.5%;
    top: 5%;
    transform: translateY(-50%);
    padding: 10px;
    border: 1px solid white;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(31, 30, 30, 0.3);
    color: white;
  }
  .text-container p {
    font-size: 22px;
    font-weight: 400;
    text-align: center;
  }

  .text-container li {
    font-size: 10px;
  }
  .text-container h2 {
    font-size: 26px;
    text-align: center;
  }
  .text-container span {
    color: rgb(68, 165, 255);
    font-weight: 800;
  }
}
@media only screen and (min-width: 1200px) and (max-width: 1280px) and (orientation: landscape) {
  .sectionn {
    height: 600px;
  }
  .image-containerr {
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background-color: #ccc;
    right: 0;
    top: 45%;
    left: -20%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    /* border: none; */
    border: 20px solid rgba(0, 162, 255, 0.349);
  }

  .text-container {
    z-index: 1;
    width: 85%;
    text-align: left;
    left: 4.5%;
    top: 5%;
    transform: translateY(-50%);
    padding: 10px;
    border: 1px solid white;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(31, 30, 30, 0.3);
    color: white;
  }
  .text-container p {
    font-size: 22px;
    font-weight: 400;
    text-align: center;
  }

  .text-container li {
    font-size: 10px;
  }
  .text-container h2 {
    font-size: 26px;
    text-align: center;
  }
  .text-container span {
    color: rgb(68, 165, 255);
    font-weight: 800;
  }
}
