body {
  margin: 0;
  padding: 0;
  font-family: "Lato", sans-serif;
  overflow-x: hidden;
}

.top-menu {
  display: none;
}

.navbar img,
.navbar .nav-button {
  display: none;
}

.non {
  display: block;
}

.container {
  width: 100%;
  margin: auto;
}

.cs-africa {
  position: absolute;
  top: 5px;
  right: 25px;
  padding-top: 2px;
  font-size: 1.2rem;
  color: #0e2431;
}

.navbar {
  background-image: url(../img/bg/mobile-bg.png);
  background-size: cover;
  background-color: transparent;
  box-shadow: none;
  width: 100%;
}

.nav-container {
  display: block;
  align-items: center;
  position: relative;
  height: 62px;
}

.navbar .nav-container li {
  list-style: none;
}

.navbar .nav-container a {
  text-decoration: none;
  color: #0e2431;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 0.7rem;
}

.navbar .nav-container a:hover {
  font-weight: bolder;
  color: #ec5242;
}

.nav-container .checkbox {
  position: absolute;
  display: block;
  height: 32px;
  width: 32px;
  top: 20px;
  left: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .hamburger-lines {
  height: 26px;
  width: 32px;
  position: absolute;
  top: 17px;
  left: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-container .hamburger-lines .line {
  display: block;
  height: 4px;
  width: 100%;
  border-radius: 10px;
  background: #333;
}

.nav-container .hamburger-lines .line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

.navbar .nav-items {
  padding-top: 120px;
  background-color: #e9e9ea;
  opacity: 0.95;
  height: 100vh;
  width: 100%;
  transform: translate(-150%);
  display: flex;
  flex-direction: column;
  margin-left: -40px;
  padding-left: 50px;
  transition: transform 0.5s ease-in-out;
  text-align: center;
}

.navbar .nav-items li {
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.nav-container input[type="checkbox"]:checked ~ .nav-items {
  transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ .logo {
  display: none;
}

/* \\\\\Header contents//// */
.header-content-container {
  background-image: url(../img/bg/mobile-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  overflow-x: hidden;
  margin: 0 0 0 -6rem;
}

.header-content {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding-top: 30%;
  align-items: center;
  margin-left: 3rem;
}

.content-title {
  margin-top: -8rem;
  align-self: center;
  margin-left: 2.9rem;
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  color: #ec5242;
}

.header-content h1 {
  padding-left: 4rem;
  font-weight: 700;
  text-align: center;
  font-family: "COCOGOOSE", sans-serif;
  background-image: url(../img/bg/fire-bg.jpg);
  background-size: cover;
  background-position: bottom;
  color: transparent;
  font-size: 40px;
  background-clip: border-box;
  -webkit-background-clip: text;
}

.none {
  display: none;
}

.header-content-body {
  display: flex;
  background-color: #f7f7f7;
  border: 0.28rem solid #fff;
  margin-left: 3.2rem;
  text-align: center;
  width: 80%;
  font-size: 14px;
  height: auto;
  padding: 5px;
}

.header-content-body p {
  font-size: 13px;
}

.summit-date {
  margin-top: 0.5rem;
  color: #555;
  font-weight: 600;
  font-size: 24px;
  margin-left: 1.1rem;
}

.summit-venue {
  padding-top: 0.3rem;
  color: #555;
  width: 70%;
  font-size: 18px;
  font-weight: 150;
  text-align: center;
}

/* Main Program */
.programs-card-container {
  display: flex;
  flex-direction: column;
  background-color: #272a31;
  background-image: url(../img/bg/crosses-bg.png);
  mix-blend-mode: multiply;
  height: auto;
  justify-content: space-around;
  gap: 1rem;
  color: #fff;
  margin: 0 5%;
}

.main-program .main-program-title {
  font-size: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hr-line {
  color: #ec5242;
  align-self: center;
  border-style: solid;
  border-width: 2px;
  width: 25%;
  margin-top: -0.25rem;
}

.program {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
}

.program .program-title {
  color: #ec5242;
  font-weight: 700;
  font-size: 1.063rem;
  width: 25%;
}

.program-description {
  display: flex;
  text-align: start;
  padding: 0.2rem;
  width: 50%;
}

.see-the-whole-program p {
  font-size: 24px;
}

.see-the-whole-program {
  display: none;
}

.join-cs {
  display: block;
  width: 65%;
  margin-left: 3.5rem;
  height: 5rem;
  color: #fff;
  background-color: #ec5242;
  font-weight: 400;
  font-size: 1.2rem;
  transition: 0.4s;
  border: none;
}

.join-cs:hover,
.join-cs:active {
  color: #ec5242;
  background-color: #fff;
  border: 0.5rem solid #ec5242;
  margin: 0.5rem;
  margin-left: 3.5rem;
}

/* \\\\Featured section/// */

#featured-speakers {
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.fs-header {
  display: flex;
  justify-content: center;
  margin-left: -25%;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 0;
  left: 45%;
}

.featured-speakers {
  display: flex;
  flex-direction: column;
}

.fs-content {
  display: flex;
  justify-content: center;
  align-items: baseline;
  padding-top: 1rem;
  margin-top: 2rem;
  gap: 1.2rem;
  width: 100%;
}

.speaker {
  display: flex;
  justify-content: center;
  flex-direction: row;
  height: 15rem;
  transition: 0.35s;
  width: 96%;
}

.speaker img {
  width: 7rem;
  height: 7.8rem;
}

.speaker:hover,
.speaker:active {
  padding: 0;
}

.speaker-content {
  display: flex;
  flex-direction: column;
  padding-left: 0.5rem;
}

.speaker-content .speaker-title {
  display: flex;
  flex-direction: row;
  font-size: 24px;
}

.speaker-content .italic-text {
  font-style: italic;
  color: #ec5242;
}

.speaker-content .speaker-hr {
  color: #adadad;
  border-style: solid;
  border-width: 2px;
  width: 20%;
  margin-top: -0.6rem;
}

.speaker-content .speaker-description {
  margin-top: -0.6rem;
}

/* \\\\Partners section//// */
.partner-imgs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: -3rem;
}

/* From 0 to 768 */
@media only screen and (min-width: 767px) {
  .navbar img,
  .navbar .nav-button,
  .page-nav {
    display: block;
  }

  header {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .top-menu {
    display: flex;
    justify-content: flex-end;
    background-color: #272a31;
  }

  .top-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    gap: 10px;
    padding: 10px 170px 10px 0;
  }

  .checkbox,
  .hamburger-lines {
    display: none !important;
  }

  .navbar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    box-shadow: 5px 10px 8px #d4d4d4;
    background-image: none;
  }

  .navbar img {
    margin-left: 1rem;
    margin-top: -0.8rem;
  }

  .navbar .nav-items {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    list-style: none;
    padding: 0;
    height: 0;
    width: 0;
    gap: 3rem;
    background-color: #fff;
    opacity: 1;
    transform: none;
    margin-top: 0.9rem;
  }

  .navbar ul a {
    text-decoration: none;
    color: #5c5a5a;
    margin: 0;
    font-size: 16px;
  }

  .see-the-whole-program p a {
    text-decoration: underline;
    color: #e9e9ea;
    text-transform: uppercase;
  }

  .navbar ul li a:hover {
    color: #ec5242;
    font-size: 18px;
    animation: 0.5s ease;
  }

  .navbar .nav-button {
    border-color: #ec5242;
    border-width: 7px;
    color: #ec5242;
    background-color: #fff;
    font-size: 16px;
    padding: 12px;
    margin: -0.5rem 5rem 0 1rem;
  }

  .navbar .nav-button:hover {
    color: #fff;
    background-color: #ec5242;
    font-size: 18px;
  }

  .header-content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url(../img/bg/desktop-bg.png);
    background-size: cover;
    padding: 35rem 0 0;
    margin: 0 0 0 -1rem;
    height: 100%;
  }

  .header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: -53rem 0 0 19rem;
  }

  .header-content .content-title {
    display: flex;
    justify-content: flex-start;
    color: #ec5242;
    margin-left: -25rem;
    font-size: 40px;
    font-weight: 400;
  }

  .header-content h1 {
    font-family: "COCOGOOSE", sans-serif;
    background-image: url(../img/bg/fire-bg.jpg);
    background-size: cover;
    background-position: bottom;
    color: transparent;
    font-weight: 700;
    font-size: 60px;
    background-clip: border-box;
    -webkit-background-clip: text;
    margin-left: 5rem;
    align-items: start;
  }

  .header-content .header-content-body {
    background-color: #f7f7f7;
    border: 0.28rem solid #fff;
    display: flex;
    text-align: center;
    align-items: center;
    height: auto;
    padding: 5px;
    margin-left: 7rem;
    width: 50%;
  }

  .header-content-body p {
    display: flex;
    width: 600px;
    font-size: 15px;
    line-height: 2rem;
    padding-top: 0.6rem;
  }

  .header-content .summit-date {
    color: #555;
    font-weight: 800;
    font-size: 30px;
    padding-top: 1.5rem;
    padding-left: 13rem;
  }

  .header-content .summit-venue {
    color: #555;
    font-weight: 150;
    font-size: 20px;
    padding-top: 0.3rem;
    margin-left: -2rem;
  }

  /* Main Program Styles */
  .main-program {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(../img/bg/crosses-bg.png);
    background-color: #292c31;
    mix-blend-mode: multiply;
    height: auto;
    color: #fff;
    padding-bottom: 70px;
  }

  .main-program .main-program-title {
    font-size: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hr-line {
    color: #ec5242;
    align-self: center;
    border-style: solid;
    border-width: 2px;
    width: 25%;
    margin-top: -0.25rem;
  }

  .programs-card-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    margin: 50px 200px;
    background-color: #272a31;
    opacity: 0.7;
    background-image: url(../img/bg/crosses-bg.png);
    mix-blend-mode: multiply;
    gap: 2rem;
    height: 50%;
    padding-bottom: 1rem;
  }

  .program {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(253, 246, 246, 0.1) !important;
    width: 12rem;
    color: #fff !important;
    height: 25rem;
  }

  .program .program-title {
    color: #ec5242;
    font-weight: 700;
    font-size: 1.063rem;
  }

  .program:hover {
    border: 0.25rem solid #fff;
  }

  .see-the-whole-program p {
    font-size: 30px;
  }

  /* \\\\\\\\Featured Section//////// */
  #featured-speakers {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    padding-left: 1rem;
    padding-right: 1rem;
    height: 55rem;
  }

  .fs-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 65%;
  }

  .fs-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    padding-top: 1rem;
    gap: 1rem;
    margin-top: 40px;
    width: 42rem;
  }

  .speaker {
    display: flex;
    justify-content: center;
    flex-direction: row;
    height: 12rem;
    transition: 0.35s;
  }

  .speaker:hover,
  .speaker:active {
    padding: 0.8rem;
  }

  .speaker .speaker-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0.1rem 0 0 0.5rem;
  }

  .speaker .speaker-img {
    width: 10rem;
    height: 9rem;
  }

  .speaker-content .speaker-title {
    display: flex;
    flex-direction: row;
    font-size: 24px;
    margin-top: -1rem;
  }

  .speaker-content .italic-text {
    margin-top: -0.5rem;
    font-style: italic;
    color: #ec5242;
  }

  .speaker-content .speaker-hr {
    color: #adadad;
    border-style: solid;
    border-width: 2px;
    width: 10%;
    margin-top: -0.6rem;
  }

  .speaker-content .speaker-description {
    margin-top: -0.6rem;
  }

  /* \\\\\\\\Partners Section//////// */
  .partners {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #414246;
  }

  .partners-header .partner {
    color: #d3d3d3;
    font-weight: 400;
    margin-left: 43%;
  }

  .partners-header .hr-line {
    margin-left: 45%;
    width: 2%;
  }

  .partners .partner-imgs {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-left: 1rem;
  }

  .partner-imgs .partner-img {
    height: 2.8rem;
    width: 7.5rem;
  }

  /* \\\\\\\\Footer Section//////// */
  footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
  }

  .footer-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 3rem;
  }

  .footer-container img {
    margin-left: 12rem;
    width: 17%;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .footer-content .f-c-h {
    font-weight: 600;
  }

  .footer-content p {
    margin-right: 3rem;
  }

  .none {
    display: block;
  }

  .join-cs {
    display: none;
  }

  .non {
    display: none;
  }
}
