@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&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&display=swap");

:root {
  --primary: #1d466e;
  --secondary: #ffb632;
  --tersier: #303942;
  --text: #222222;
  --white: #f2f1f3;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section#sec-1 {
  background-color: var(--white);
  width: 100%;
  height: max-content;
  padding: 120px 70px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

section#sec-1 .container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  box-shadow: 0 0 10px rgb(231, 231, 231);
  border-radius: 10px;
  padding: 15px 0;
  gap: 5px;
}

section#sec-1 .container h1 {
  font-family: "poppins", sans-serif;
  color: var(--secondary);
  font-size: 20px;
  font-weight: 700;
}

section#sec-1 .container h2 {
  font-family: "poppins", sans-serif;
  font-size: 40px;
  line-height: 40px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

/* Section 3 */

section#sec-2 {
  background-color: var(--white);
  width: 100%;
  height: max-content;
  padding: 10px 70px 20px 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

section#sec-2 .container {
  width: 100%;
  height: max-content;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

section#sec-2 .container .content {
  width: 100%;
  height: max-content;
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgb(231, 231, 231);
  padding: 30px;
  gap: 10px;
}

section#sec-2 .container .content h2 {
  font-family: "poppins", sans-serif;
  font-size: 28.8px;
  line-height: 30px;
  text-transform: uppercase;
  color: var(--secondary);
}

section#sec-2 .container .content p {
  font-family: "open sans", sans-serif;
  font-size: 18px;
  line-height: 25px;
  display: flex;
  align-items: start;
  text-align: justify;
  gap: 5px;
}

section#sec-2 .container .content p button {
  background-color: transparent;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
}

section#sec-2 .container .content p button img {
  height: 25px;
}

section#sec-2 .container .content p button img {
  transition: transform 0.5s ease;
}

section#sec-2 .container .content p button img.open {
  transform: rotate(180deg);
}

section#sec-2 .container .content ol {
  margin-top: 5px;
  font-size: 18px;
  font-family: "open sans", sans-serif;
  line-height: 22px;
}

section#sec-2 .container .content ol li {
  width: 100%;
  margin-top: 10px;
  margin-left: 2%;
  font-weight: bold;
}

section#sec-2 .container .content ol li ol {
  height: 0;
  overflow: hidden;
  font-family: "open sans", sans-serif;
  font-size: 16px;
  line-height: 22px;
  transition: height 0.5s ease;
}

section#sec-2 .container .content ol li ol.python {
  list-style-type: disc;
}

section#sec-2 .container .content ol li ol.active {
  height: max-content;
  transition: height 0.5s ease;
}

section#sec-2 .container .content ol li ol li {
  font-weight: 600;
  margin-top: 0;
  margin-left: 1.5%;
}

section#sec-2 .container .content ol li ol li p {
  font-size: 16px;
}

section#sec-2 .container .content ol li ol li ul {
  list-style-type: disc;
}

section#sec-2 .container .content ol li ol li ul li {
  font-weight: 400;
  margin-left: 1.5%;
}

/* Responsive */

@media (max-width: 768px) {
  section#sec-1 {
    height: max-content;
    padding: 120px 20px 10px;
  }

  section#sec-1 .container {
    padding: 10px;
  }

  section#sec-1 .container h2 {
    font-size: 30px;
  }

  /* Section 2 */

  section#sec-2 {
    height: max-content;
    padding: 10px 20px 20px;
  }

  section#sec-2 .container {
    flex-direction: column;
  }

  section#sec-2 .container .content {
    width: 100%;
    padding: 20px;
  }

  section#sec-2 .container .content h2 {
    font-size: 25px;
    text-align: center;
  }

  section#sec-2 .container .content p {
    font-family: "open sans", sans-serif;
    font-size: 16px;
    line-height: 22px;
    display: flex;
    align-items: start;
    gap: 5px;
  }

  section#sec-2 .container .content ol li {
    width: 95%;
    margin-left: 6%;
  }

  section#sec-2 .container .content ol li ol li {
    margin-left: 6%;
  }

  section#sec-2 .container .content ol li ol li ul li {
    font-weight: 500;
    margin-left: 6%;
  }
}
