@font-face {
  font-family: cocogoose;
  src: url(fonts/Cocogoose-font.otf);
}

html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-family: "lato", sans-serif;
}

.text-white {
  color: white;
}

#openMenu,
#closeMenu {
  margin: 30px;
}

.font-lato {
  font-family: "Lato", sans-serif;
}

.main-nav-section,
.navbar-logo,
.product,
.pages-menu {
  display: none;
}

header {
  position: absolute;
  background: transparent;
}

.overlay {
  background-color: #bbb8b88a;
  height: inherit;
  width: 100%;
}

.menu {
  margin: 1rem 0 0 1rem;
  cursor: pointer;
}

.menu1 {
  font-size: 35px;
  color: #3e3e3e;
}

.active-tab {
  color: #ec5242 !important;
}

.pages-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background: grey;
}

.navbar-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.navbar-items li {
  text-align: center;
  padding: 20px;
}

.cross-button {
  display: flex;
  justify-content: flex-end;
}

.page-sections a {
  color: white;
  text-decoration: none;
  font-size: 25px;
}

.first-section {
  background-image: url(./images/kidslistening.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-bottom: -3.8%;
}

.first-section-container {
  width: 92.5%;
  margin-inline: auto;
  min-height: 326.85px;
  height: auto;
  padding: 80px 0;
}

.open-intro-heading {
  font-size: 1.6rem;
  font-weight: 400;
  color: #ec5242;
}

.open-heading {
  font-family: "cocogoose", sans-serif;
  font-size: 3rem;
  color: #ec5242;
  margin: 0;
}

.first-section-para {
  padding: 3%;
  background-color: #f7f7f8;
  text-align: center;
  border: 3px solid white;
  margin-top: 5%;
}

.venue {
  font-size: 20px;
  font-weight: bold;
  color: #e3dcdc;
}

h3 {
  font-family: "cocogoose", sans-serif;
  font-size: 1.84rem;
  color: #504f4f;
}

.second-section {
  background-image: url(./images/main-program-img.png);
  background-repeat: repeat;
  background-position: center;
}

.second-section-heading {
  color: #fff;
  text-align: center;
  padding-top: 8%;
  font-size: 2rem;
  margin-bottom: 0;
}

hr {
  width: 10%;
  margin-inline: auto;
  border: none;
  height: 3px;
  background: #ec5242;
  display: block;
  unicode-bidi: isolate;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  overflow: hidden;
}

.program-list {
  width: 95%;
  margin-inline: auto;
  margin-top: 10%;
}

.flex-box {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #393c43b3;
  margin-block: 2.5%;
  color: white;
  padding: 20px;
}

.flex-box img {
  height: 20%;
  width: 10%;
  margin-left: 4%;
}

.flex-box h2 {
  font-size: 1.2rem;
  margin-left: 3%;
  align-items: center;
  width: 40%;
  color: #ec5242;
  text-align: left;
  align-self: center;
}

.flex-box p {
  font-size: 1rem;
  margin-left: 5%;
}

.button-container {
  width: 50%;
  margin-inline: auto;
  height: 70px;
  margin-block: 5%;
  padding-block: 7%;
}

.program-button {
  width: 100%;
  height: 50px;
  background-color: #ec5242;
  border-radius: 4px;
  border-color: transparent;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

.section-speakers-heading {
  text-align: center;
}

.featured-speakers {
  width: 92.5%;
  margin: auto;
}

.speaker-section {
  width: 100%;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  margin-block: 12%;
}

.speaker-image-section {
  display: flex;
  justify-content: center;
}

.speaker-details {
  padding-left: 3%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.speaker-name {
  margin-block: 0;
}

.speaker-designation {
  margin-block: 0;
  font-size: 0.95rem;
  color: #ec5242;
}

#dots {
  margin: 0;
}

.speaker-history {
  font-size: 0.85rem;
  width: 100%;
  margin-top: 5%;
}

.partners-section {
  background-color: #3f444f;
  padding: 30px 0;
}

.partners-heading {
  text-align: center;
  color: #fff;
}

.partners-flex {
  width: 90%;
  margin: auto;
  padding-top: 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.partner-image {
  width: 125px;
  height: 40px;
}

footer {
  min-height: 5rem;
}

.footer-flex {
  height: 150px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 70%;
  margin: auto;
}

.footer-logo a {
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  color: black;
}

footer .copyright {
  line-height: 1rem;
  font-size: 0.8rem;
}

/* DESKTOP VERSIONS */
@media only screen and (min-width: 768px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f3f2f2;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
  }

  #openMenu,
  #closeMenu,
  .home-link {
    display: none !important;
  }

  .main-nav-section {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    background-color: #3e3e3e;
  }

  .navbar-container {
    display: flex;
    align-items: center;
    width: 100%;
    margin-right: 55px;
  }

  .navbar {
    display: flex;
    list-style: none;
    justify-content: flex-end !important;
    align-items: center;
    width: 100%;
  }

  .navbar li {
    color: white;
    font-size: 0.9rem;
    padding-inline: 0.8%;
    cursor: pointer;
  }

  .navbar li img {
    background: none;
    color: white;
    width: 20px;
    height: 20px;
  }

  .secondary-navbar {
    width: 100%;
    height: 40%;
    margin: 0;
    padding: 10px 0;
  }

  .secondary-sub-container {
    display: flex;
    align-items: center;
  }

  .navbar-logo a {
    position: unset;
    display: block;
    font-size: 1rem;
    text-decoration: none;
    color: black;
  }

  .navbar-logo {
    display: flex;
    cursor: pointer;
    width: 35%;
    margin-left: 10px;
  }

  .pages-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: inherit;
    width: 80%;
    height: 100%;
    background: none;
    margin-right: 55px;
  }

  .navbar-items {
    margin-block: 0;
  }

  .navbar-items li {
    display: inline-block;
    padding: 0;
    font-size: 0.9rem;
  }

  /* .cursor-pointer {
    cursor: pointer !important;
  } */

  .page-sections a {
    text-decoration: none;
    color: black;
    font-size: 1rem;
    margin-right: 1rem;
  }

  .product {
    display: block;
  }

  .product a {
    text-decoration: none;
    border: 2px solid #ec5242;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ec5242;
    letter-spacing: 2px;
    padding-inline: 0.2rem;
    padding-block: 0.2rem;
  }

  .first-section {
    background: url(./images/kidslistening.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 700px;
    margin-bottom: -40px;
  }

  .first-section-container {
    width: 83%;
    padding-top: 7rem;
    min-height: 685px;
    height: auto;
    margin: 40px;
  }

  .overlay {
    background-color: #bbb8b88a;
    height: inherit;
    width: 100%;
  }

  .open-intro-heading {
    font-size: 1.8rem;
    font-weight: 200;
    color: #ec5242;
  }

  .open-heading {
    width: 80%;
    font-size: 4.2rem;
    color: #ec5242;
    font-family: "cocogoose", sans-serif;
    margin: 0;
  }

  .first-section-para {
    width: 80%;
    text-align: left;
    margin-top: 2%;
    background-color: rgba(233, 231, 231, 0.836);
  }

  .para {
    line-height: 30px;
    font-size: 18px;
  }

  .venue {
    font-size: 1rem;
    text-align: start;
    margin-top: -20px;
    padding-bottom: 40px;
    color: #3b3b3b;
  }

  .event-details {
    text-align: start;
    width: 75%;
    font-size: 0.93rem;
  }

  h3 {
    font-family: "cocogoose", sans-serif;
    font-size: 1.84rem;
    color: rgba(39, 39, 39, 0.637);
  }

  p {
    line-height: 1.3rem;
  }

  .second-section {
    background-image: url(images/main-program-img.png);
    background-repeat: repeat;
    background-position: center;
  }

  .second-section-heading {
    padding-top: 5%;
    margin-top: 0;
    text-align: center;
    color: #fff;
    font-size: 2rem;
  }

  hr {
    width: 5%;
    border: none;
    height: 3px;
    background: #ec5242;
  }

  .program-list {
    display: grid;
    grid-template-columns: 0.2fr 0.2fr 0.2fr 0.2fr 0.2fr;
    width: 85%;
    margin-inline: auto;
    margin-top: 54px;
  }

  h2 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0;
    margin-inline-end: 0;
    font-weight: bold;
  }

  .flex-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-inline: 2%;
    align-items: center;
    background-color: #393c43b3;
    margin-block: 2.5%;
    color: white;
  }

  .flex-box .flex-box-img {
    transform: scale(0.3);
    width: 60%;
    height: unset;
  }

  .flex-box h2 {
    width: 95%;
    margin: 0;
    text-align: center;
    font-size: 1.2rem;
    color: #ec5242;
    align-self: center;
  }

  .flex-box p {
    text-align: center;
    width: 95%;
    margin: 0;
    margin-top: 3%;
    margin-bottom: 9%;
    font-size: 0.9rem;
  }

  .button-container {
    width: 30%;
    padding-block: 2%;
    margin-inline: auto;
    height: 70px;
    margin-block: 10%;
    margin-top: -2px;
  }

  .program-button {
    width: 100%;
    height: 50px;
    background-color: #ec5242;
    border-radius: 4px;
    border-color: transparent;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
  }

  .section-speakers-heading {
    text-align: center;
    margin-top: -7%;
  }

  .featured-speakers {
    width: 100%;
    display: grid;
    justify-content: center;
    grid-template-columns: 30% 30%;
    margin: 0;
    gap: 10px;
    padding-bottom: 5%;
    margin-top: -2%;
  }

  .speaker-section {
    width: 80%;
    display: flex;
    justify-content: center;
    margin-bottom: -40px;
  }

  .speaker-image-section {
    display: flex;
    justify-content: center;
  }

  .speaker-details {
    padding-left: 3%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .speaker-name {
    margin-block: 0;
  }

  .speaker-designation {
    margin-block: 0;
    font-size: 0.95rem;
    color: #ec5242;
  }

  #dots {
    margin: 0;
  }

  .speaker-history {
    margin: 0;
    width: 95%;
    font-size: 0.85rem;
  }

  .partners-section {
    background-color: #3e3e3e;
  }

  strong {
    font-weight: bold;
  }

  .partners-heading {
    padding-top: -3%;
    margin-bottom: 1%;
    text-align: center;
    color: #fff;
  }

  .partners-flex {
    margin-top: -3%;
    width: 75%;
    height: 30%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  footer {
    display: block;
    min-height: 5rem;
  }

  .footer-flex {
    justify-content: space-evenly;
    height: 150px;
    display: flex;
    align-items: center;
    width: 70%;
    margin: auto;
  }

  .copyright {
    font-size: 20px;
  }

  .menu,
  .cross-button {
    display: none;
  }
}
