@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

html {
  scroll-behavior: smooth;
}

* {
  text-decoration: none;
  list-style: none;
  border: none;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

nav {
  display: flex;
  width: 100%;
  background-color: rgb(166, 166, 166);
  padding: 15px 20px;
  align-self: center;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  margin: 0 auto;
}

nav ul li:last-child {
  font-size: 40px;
  margin-bottom: 5px;
  display: none;
}

nav ul {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: center;
}

nav ul li a {
  font-size: 25px;
  font-weight: 500;
  color: black;
}

.welcome {
  display: flex;
  height: 100vh;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: column;
}

.welcome::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("kapal.jpeg");
  background-position: 0 -450px;
  z-index: -1;
  background-size: cover;
  object-fit: center;
}

.welcome img {
  border-radius: 5px;
  border: 1px solid black;
}

.welcome h1 {
  font-size: 70px;
  text-align: center;
  width: 60%;
  color: white;
}

.welcome button {
  font-size: 30px;
  padding: 10px 10rem;
  border-radius: 20px;
  cursor: pointer;
}

.contact {
  display: flex;
  justify-content: space-between;
  padding: 25px 100px;
  background: linear-gradient(
    to right,
    #183890 0%,
    #1e293b 40%,
    #0f172a 70%,
    black 100%
  );
  align-items: center;
}

.contact .left h2 {
  font-size: 30px;
  color: white;
  margin-bottom: 10px;
}

.contact .left h5 {
  font-size: 20px;
  color: white;
  font-weight: 400;
}

.contact .left h5 a {
  margin-left: 8px;
  color: white;
  text-decoration: underline;
}

.contact .right {
  display: flex;
  align-items: end;
  flex-direction: column;
  color: white;
}

.contact .right p {
  font-size: 20px;
}

.contact .right h1 {
  font-size: 40px;
}

.info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 70px;
  background-color: rgb(210, 210, 210);
}

.info > h1 {
  font-size: 40px;
  border-bottom: 3px solid black;
  width: 80%;
  text-align: center;
  padding-bottom: 20px;
}

.info .box-info {
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  align-items: center;
  padding: 0 200px;
}

.info .box-info .item {
  width: 24%;
  background-color: white;
  padding: 18px;
  border-radius: 7px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid black;
  height: 687px;
  max-height: 650px;
}

.info .box-info .item img {
  width: 100%;
}

.info .box-info .item .caption {
  font-size: 20px;
  color: black;
  margin-bottom: 10px;
}

.info .box-info .item p {
  text-align: justify;
  margin-bottom: 20px;
}

.info .box-info .item button {
  width: 100%;
  font-size: 20px;
  background-color: rgb(29, 133, 245);
  color: white;
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 0;
  cursor: pointer;
  transition: 0.3s ease;
}

.info .box-info .item button:hover {
  background-color: rgb(42, 177, 255);
}

.info .box-info .item .atas {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  padding: 100px 50px;
  background-color: #008394;
  width: 100%;
}

.event > h1 {
  color: white;
  font-size: 70px;
  text-align: center;
}

.event > span {
  width: 75%;
  border-bottom: 0.1px solid white;
  align-self: center;
}

.event .time {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.event .time .time-box {
  text-align: center;
  color: white;
  width: 20%;
}

.event .time .time-box h1 {
  font-weight: 400;
  color: white;
  font-size: 50px;
  border-bottom: 1px solid white;
  padding: 30px 0;
}

.event .top,
.event .middle,
.event .bottom {
  border-bottom: 1px solid white;
  padding: 30px;
}

.event .top h3,
.event .middle h3,
.event .bottom h3 {
  font-weight: 200;
}

.worker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #0c4160;
  padding: 120px 50px;
}

.worker .worker-box {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

.worker .worker-box .item {
  width: 25%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  color: white;
  border: 2px solid white;
  padding: 40px 20px;
  border-radius: 10px;
}

.worker .worker-box .item h3 {
  font-weight: 200;
}

.worker .worker-box .item img {
  width: 100%;
  height: 350px;
  max-height: 200px;
}

.powering {
  display: flex;
  flex-direction: column;
  padding: 100px 60px;
  justify-content: space-between;
  align-items: center;
  background-color: #008394;
  gap: 2rem;
}

.powering img {
  border-radius: 10px;
  width: 77.5%;
}

.powering h1 {
  color: white;
  font-size: 50px;
}

.upcoming {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 100px 250px;
  align-items: center;
  background-color: #0c4160;
  gap: 4rem;
}

.upcoming .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  color: white;
}

.upcoming .top h1 {
  font-size: 60px;
}

.upcoming .top p {
  font-size: 20px;
}

.upcoming .bottom {
  display: flex;
  gap: 1rem;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.upcoming .bottom img {
  width: 33%;
  border-radius: 10px;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background-color: #008394;
  padding: 100px 250px;
}

.footer h1 {
  color: white;
  font-size: 50px;
}

.footer span {
  border: 1px solid white;
  height: 0.1px;
  width: 100%;
  filter: opacity(0.3);
}

.footer .footer-contact {
  display: flex;
  align-items: center;
  color: white;
  width: 100%;
}

.footer .footer-contact .item {
  width: 33.3%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.footer .footer-contact .item h2 {
  font-size: 40px;
  font-weight: 400;
}

.footer .footer-contact .item p {
  font-size: 18px;
}

.footer .footer-contact .item:last-child p {
  font-size: 25px;
}

@media screen and (max-width: 1650px) {
  .info .box-info {
    padding: 0 140px;
  }

  .info .box-info .item {
    gap: 1rem;
    justify-content: space-around;
    height: 570px;
    width: 30%;
  }

  .info .box-info .item .atas h5 {
    font-size: 15px;
  }

  .info .box-info .item p {
    font-size: 12px;
  }

  .info .box-info .item .bawah h1 {
    font-size: 20px;
  }

  .info .box-info .item button {
    font-size: 15px;
  }

  .worker h1 {
    font-size: 24px;
  }

  .worker h3 {
    font-size: 15px;
  }

  .worker .worker-box .item {
    width: 30%;
  }

  .upcoming .top h1 {
    font-size: 30px;
  }
}

@media screen and (max-width: 1360px) {
  .welcome img {
    width: 300px;
  }

  .welcome h1 {
    font-size: 40px;
  }

  .welcome button {
    font-size: 20px;
  }

  .welcome::before {
    background-position: 0 -200px;
  }

  .contact {
    padding: 40px;
  }

  .info {
    padding: 70px 50px;
  }

  .box-info {
    flex-wrap: wrap;
    padding: 0 0;
  }

  .info .box-info .item {
    height: 540px;
    width: 48%;
  }

  .info > h1 {
    font-size: 25px;
  }

  .upcoming .top h1 {
    font-size: 30px;
  }

  .powering h1 {
    font-size: 35px;
  }

  .event > h1 {
    font-size: 40px;
  }

  .event .time .time-box h1 {
    font-size: 20px;
  }

  .event .time .time-box h3 {
    font-size: 15px;
  }

  .upcoming {
    padding: 100px 150px;
  }

  .upcoming .top p {
    font-size: 15px;
  }

  .footer > h1 {
    font-size: 25px;
  }

  .footer {
    padding: 100px 150px;
  }

  .footer .footer-contact .item h2 {
    font-size: 25px;
  }

  .footer .footer-contact .item p {
    font-size: 15px;
  }

  .footer .footer-contact .item:last-child p {
    font-size: 17px;
  }
}

@media screen and (max-width: 1080px) {
  .welcome::before {
    background-position: 0px -50px;
  }

  .contact .left h2 {
    font-size: 17px;
  }

  .contact .left h5 {
    font-size: 12px;
  }

  .contact .right p {
    font-size: 13px;
  }

  .contact .right h1 {
    font-size: 15px;
  }

  .info {
    padding: 70px;
  }

  .info .box-info {
    padding: 0 0;
  }

  .info .box-info .item {
    width: 100%;
    height: auto;
  }

  .info .box-info .item .atas {
    flex-direction: row;
    flex-wrap: initial;
  }

  .info .box-info .item img {
    width: 20%;
  }

  .event > h1 {
    font-size: 25px;
  }

  .event .time .time-box {
    width: 90%;
  }

  .event .time .time-box h1 {
    font-size: 40px;
  }

  .event .time .time-box h3 {
    font-size: 20px;
  }

  .event {
    padding: 100px 0;
  }

  .event .time {
    flex-wrap: wrap;
  }

  .worker .worker-box {
    flex-wrap: wrap;
  }

  .worker .worker-box .item {
    width: 40%;
  }

  .powering h1 {
    font-size: 23px;
    text-align: center;
  }

  .upcoming {
    padding: 80px;
  }

  .footer {
    padding: 60px;
  }

  .footer h1 {
    font-size: 20px;
  }

  .footer .footer-contact .item h2 {
    font-size: 20px;
  }

  .footer .footer-contact .item p {
    font-size: 12px;
  }

  .footer .footer-contact .item:last-child p {
    font-size: 12px;
  }
}

@media screen and (max-width: 970px) {
  .welcome {
    justify-content: space-evenly;
  }

  .welcome h1 {
    width: 70%;
    font-size: 30px;
  }

  .info > h1 {
    font-size: 15px;
  }

  .info .box-info .item .atas h5 {
    font-size: 13px;
  }

  .info .box-info .item .bawah button {
    font-size: 10px;
    margin-bottom: 10px;
  }

  .info .box-info .item p {
    font-size: 10px;
  }

  .worker .worker-box .item {
    width: 100%;
  }

  .worker .worker-box .item img {
    max-height: 600px;
  }

  .powering img {
    width: 100%;
  }

  .upcoming {
    padding: 60px;
  }

  .upcoming .top {
    flex-direction: column;
    gap: 1rem;
  }

  .footer .footer-contact {
    flex-wrap: wrap;
  }

  .footer .footer-contact .item {
    width: 50%;
  }

  .footer .footer-contact .item:last-child {
    margin-top: 15px;
  }
}

@media screen and (max-width: 700px) {
  nav ul {
    justify-content: space-between;
    gap: 20rem;
  }

  nav ul li {
    display: none;
  }

  nav ul li:first-child {
    display: block;
  }

  nav ul li:last-child {
    display: block;
  }

  .welcome::before {
    background-position: -70px -50px;
  }

  .info {
    padding: 50px 30px;
  }

  .info > h1 {
    width: 100%;
  }

  .info .box-info .item .bawah h1 {
    font-size: 15px;
  }

  .info .box-info .item {
    justify-content: center;
    gap: 0.2rem;
  }

  .info .box-info {
    gap: 0.5rem;
  }

  .info .box-info .item .caption {
    font-size: 9px;
  }

  .info .box-info .item .atas {
    flex-wrap: wrap;
  }

  .info .box-info .item .atas img {
    width: 100%;
    max-height: 200px;
  }

  .worker .worker-box .item {
    gap: 0.5rem;
  }

  .contact {
    padding: 20px;
  }

  .contact h5 {
    width: 200px;
  }
}
