@import url("https://fonts.googleapis.com/css2?family=Lato&display=swap");

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Lato", sans-serif;
  background-color: #d3d3d3;
}

/* Navbar */
.topper {
  display: none;
}

.main-navbar {
  width: 100%;
}

#loggo {
  width: 100%;
  display: flex;
  justify-content: center;
}

#logo {
  height: 40px;
  position: relative;
  top: 5px;
  bottom: 5px;
}

/* side-bar for mobile */
.menu__btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 3;
}

.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: #2c2929;
  transition-duration: 0.25s;
}

.menu__btn > span::before {
  content: "";
  top: -8px;
}

.menu__btn > span::after {
  content: "";
  top: 8px;
}

.menu__box {
  display: block;
  position: fixed;
  top: 0;
  left: -100%;
  z-index: 2;
  width: 100%;
  height: 150%;
  margin: 0;
  padding: 180px 0;
  list-style: none;
  background-color: #d3d3d3;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  transition-duration: 0.25s;
}

.menu__item {
  display: block;
  padding: 12px 24px;
  color: #333;
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition-duration: 0.25s;
  margin-left: 63px;
}

.dates span {
  font-size: 15px;
  font-weight: 400;
}

.contact span {
  font-weight: bold;
  text-decoration: underline;
}

#hero-top span {
  font-size: 17px;
  color: red;
  letter-spacing: 0.03em;
}

#showMore span {
  color: #ec5242;
}

.menu__item:hover {
  background-color: #cfd8dc;
}

#menu__toggle {
  opacity: 0;
}

#hero-top-about span {
  font-size: 17px;
  color: red;
}

#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
}

#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
}

#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}

#menu__toggle:checked ~ .menu__box {
  left: 0 !important;
}

/* hero */
.landing {
  margin-top: 0;
}

.hero {
  background: url(images/bg.jpg);
  height: 90vh;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1000px rgba(9, 9, 15, 0.8);
  color: #d3d3d3;
  margin-top: 30px;
  display: flex;
  align-items: center;
}

.hero-header {
  font-weight: 400;
  display: flex;
  flex-direction: column;
  position: relative;
  left: 16px;
  margin-right: 12px;
}

@keyframes textloads {
  0% {
    margin-left: -100px;
  }

  25% {
    margin-left: -50px;
  }

  50% {
    margin-left: -25px;
  }

  100% {
    margin-left: 0;
  }
}

#hero-top {
  background: url(images/header_bg.jpg);
  background-size: cover;
  background-clip: inherit;
  font-size: 33px;
  font-weight: 700;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#hero-paragraph {
  background: #d3cfcf;
  color: #414141;
  margin: 20px 0;
  border: 2px solid white;
  width: 80%;
  justify-self: center;
  padding: 20px;
  line-height: 17px;
  font-size: 16px;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.dates {
  width: 100%;
  letter-spacing: 0.03em;
  line-height: 20px;
}

/* main program */
.main_program {
  position: relative;
  background: #282b32;
}

.program_top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  color: #d3d3d3;
  letter-spacing: 0.1rem;
  font-size: 1.5rem;
}

.indicator {
  background-color: #ec5242;
  height: 3px;
  width: 50px;
  display: block;
  margin: 0 53% 5% 47%;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}

.main-program-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 10px;
  row-gap: 15px;
}

.program {
  display: grid;
  grid-template-columns: 1fr 5fr 5fr;
  column-gap: 10px;
  align-items: center;
  background: #7772724f;
  gap: 9px;
  padding: 0 10px;
}

.program h3 {
  padding-left: 10px;
  letter-spacing: 0.1rem;
  color: #ec5242;
  justify-self: center;
}

.program p {
  letter-spacing: 0.03rem;
  font-size: 16px;
  line-height: 24px;
  color: #cfd8dc;
}

.join-btn {
  color: #cfd8dc;
  background-color: #ec5242;
  margin: 60px 0 0 0;
  font-size: 15px;
  border: none;
  padding: 0 1rem;
  height: 70px;
  width: 80%;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}

.program:hover {
  border: 2px solid #cfd8dc;
}

#hide-desktop {
  display: none;
}

/* speakers */
.speakers_top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  letter-spacing: 0.1rem;
  font-size: 1.5rem;
}

.speaker-list {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  padding: 3%;
}

.speaker {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 5px;
  align-items: end;
}

.photo-bg {
  background: url(images/box-bg.png);
  background-size: 40%;
  background-repeat: no-repeat;
}

.photo-bg img {
  padding: 15px;
}

.speaker-details {
  padding: 0 5px;
}

.speaker-details h5 {
  font-size: 1.3rem;
  color: #272a31;
}

.about-em {
  font-style: italic;
  color: #ec5242;
  font-size: 13px;
}

.bio {
  font-style: italic;
  color: #272a31;
  font-size: 12px;
}

.show-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  padding: 20px;
  border: 1px solid #d3d3d3;
}

#showMore {
  border: none;
  background: none;
  letter-spacing: 0.03em;
  font-size: 17px;
  font-weight: 700;
  line-height: 28px;
  cursor: pointer;
}

/* ABOUT PAGE */
.hero-header-about {
  width: 80%;
  position: relative;
  top: 0%;
  left: 50%;
  right: 50%;
  transform: translate(-50%);
  -webkit-transform: translate(-50%);
  -moz-transform: translate(-50%);
  -ms-transform: translate(-50%);
  -o-transform: translate(-50%);
}

#hero-top-about {
  background: url(images/header_bg.jpg);
  background-size: cover;
  background-clip: inherit;
  font-size: 33px;
  text-align: center;
  font-weight: 700;
  gap: 2px;
  color: #eceff1;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* big logo */
.sec-logo {
  text-align: center;
  font-size: 16px;
}

.logo_top h3 {
  letter-spacing: 0.1rem;
  font-size: 1.5rem;
  text-align: center;
}

.logo-container {
  border: 2px solid #d3d3d3;
  width: 90%;
  padding: 2%;
  left: 50%;
  right: 50%;
  display: flex;
  justify-content: center;
}

#big-logo {
  height: auto;
  width: 50%;
}

/* past summits */
.past-summits {
  text-align: center;
  letter-spacing: 0.1rem;
  font-size: 1.5rem;
}

.past-summits h3 {
  letter-spacing: 0.1rem;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.past-summits p {
  letter-spacing: 0.03rem;
  font-size: 16px;
  font-weight: 700;
  line-height: 21px;
  color: #272a31;
  margin: 10px 0;
}

.pasts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  color: white;
  row-gap: 20px;
  margin: 30px 0;
  font-weight: 700;
  width: 90%;
}

.psts1 {
  background: url(images/carmeet1.png);
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.9);
  background-size: cover;
  background-repeat: no-repeat;
  margin: 1%;
}

.psts2 {
  background: url(images/carmeet2.png);
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.9);
  background-size: cover;
  background-repeat: no-repeat;
  margin: 1%;
}

#psts-h {
  font-size: 1.9rem;
  text-align: center;
  color: #d3d3d3;
}

#psts-p {
  font-size: 16px;
  font-weight: 400;
  color: #d3d3d3;
}

/* Partners */
#hero-paragraph-about {
  background: #d3cfcf;
  color: black;
  margin: 20px 20px 70px 20px;
  border: 2px solid white;
  width: 90%;
  justify-self: center;
  text-align: center;
  padding: 20px;
  line-height: 17px;
  font-size: 16px;
  letter-spacing: 0.03em;
}

.contact {
  text-align: center;
}

.partners {
  background-color: #272a31;
}

.partners_top {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  color: #d3d3d3;
  letter-spacing: 0.1rem;
  font-size: 1.5rem;
}

.partners-logo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 25px 0 0 0;
  padding: 0 0 25px 0;
}

.partners-logo img {
  height: 35px;
  width: 86px;
}

/* footer */
.footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #d3d3d3;
}

/* DESKTOP VERSION */
@media screen and (min-device-width: 768px), screen and (min-width: 768px) {
  /* navbar */
  .menu__btn {
    display: none;
  }

  .topper {
    display: block;
    background-color: #3e3e3e;
  }

  .top-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    color: #cfd8dc;
    list-style: none;
    padding: 0 190px 0 0;
    margin-top: 0;
    width: 100%;
    height: 30px;
  }

  #uniquer {
    margin-right: 190px;
  }

  .menu_toggle {
    display: none;
    visibility: hidden;
  }

  #loggo {
    width: 70px;
    height: auto;
    display: flex;
    justify-content: center;
    margin-left: 45px;
    box-sizing: border-box;
  }

  .hamburger-menu {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    flex: 0;
    justify-content: space-between;

    /* padding: 10px 0px; */
    gap: 200px;
  }

  .menu__box {
    display: flex;
    flex: 0;
    justify-content: start;
    align-items: center;
    position: relative;
    left: 0;
    background: unset;
    height: auto;
    padding: 0;
    box-shadow: unset;
    gap: 65px;
  }

  .menu__item {
    padding: 5px 0;
    margin-left: 0;
    display: flex;
    justify-content: start;
    font-size: 20px;

    /* margin: 0 10px; */
  }

  #campaign {
    /* margin-left: 5%; */
    border: 2px solid red;
    margin-right: 190px;
    padding: 2px;
  }

  /* hero-section */
  .hero-header {
    position: relative;
    left: 10%;
    right: 32.3px;
    width: 55%;
  }

  /* main program */

  .main-program-content {
    position: relative;
    left: 50%;
    right: 50%;
    transform: translate(-50%);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3px;
    width: calc(100% - 428px);
    -webkit-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -ms-transform: translate(-50%);
    -o-transform: translate(-50%);
  }

  .program {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1%;
    flex: 1 0 100px;
    height: fit-content(350px);
  }

  .join-btn {
    margin-top: 3%;
    background: none;
    text-decoration: underline;
    cursor: pointer;
  }

  /* speaker list */
  .speaker-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 81%;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translate(-50%);
    -webkit-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -ms-transform: translate(-50%);
    -o-transform: translate(-50%);
  }

  .speaker {
    flex: 1 0 49%;
  }

  /* partners */

  .partners-logo {
    margin: 25px 0 0 0;
    padding: 20px 0;
  }

  .partners-logo img {
    height: 70px;
    width: 172px;
  }

  /* footer */
  .footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #d3d3d3;
  }

  .footer h4 {
    font-size: 20px;
  }

  #logo {
    width: 120px;
    height: auto;
  }

  .indicator {
    margin: 0 53% 0% 47%;
  }

  #hide-1 {
    display: none;
  }

  #unique {
    background: #272a31;
  }

  #hide-desktop {
    display: flex;
  }
}
