@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300&display=swap");

/* Variables */
:root {
  --color-gray: #808080;
  --color-lighter-gray: #ececec;
  --color-light-gray: #d3d3d3;
  --color-carmine-pink: #ec5242;
  --color-carmine-pink-rgba: rgba(74, 20, 14, 0.95);
  --color-royal-orange: #e72a17;
  --color-charleston-green: #272a31;
  --color-white: #fff;
  --color-dark-charcoal: #323232;
  --color-bg: #494e5a;
  --transition: all 0.3s ease-in;
}

/* General styles */

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

.icon {
  width: 2rem;
}

.top-nav {
  display: none;
}

/* start */
.lower-nav__center {
  position: fixed;
  background-color: rgba(74, 20, 14, 0.95);
  width: 100%;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 5;
  padding: 70px 25px;
}

.logo__menu-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  height: 100%;
}

.menu-list__item a {
  color: var(--color-lighter-gray);
  font-size: 1.5rem;
  font-weight: 900;
  border-bottom: 2px solid var(--color-light-gray);
  display: block;
  padding-bottom: 10px;
}

.cc-campaign {
  display: none;
}

#hambuger {
  position: fixed;
  padding: 10px 25px;
  top: 0;
  left: 0;
}

/* end here */
.lower-nav__logo {
  display: none;
}

header {
  background: linear-gradient(rgba(239, 234, 234, 0.9), rgba(236, 236, 240, 0.9)), url("https://images.unsplash.com/photo-1624555130581-1d9cca783bc0?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=871&q=80");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  /* min-height: 100vh; */
  padding: 20px;
}

.lower-nav__hamburger {
  position: relative;
  z-index: 10;
  cursor: pointer;
}

.ham-icon {
  width: 2rem;
}

.about__hero-title {
  padding-top: 40px;
}

.hero {
  padding: 15px;
  margin-top: 20px;
}

.hero > * {
  margin-bottom: 20px;
}

.hero__title {
  font-size: 1.5rem;
  color: var(--color-carmine-pink);
}

.about__hero-heading {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.5;
  background-image: url(https://images.unsplash.com/photo-1622110674153-a1326259c41e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8OHx8ZmlyZSUyMGJhY2tncm91bmR8ZW58MHx8MHx8&auto=format&fit=crop&w=500&q=60);
  -webkit-background-clip: text;
  color: transparent;
  background-size: contain;
  margin-bottom: 10px;
  margin-top: 10px;
}

.hero__heading {
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.5;
  display: inline-block;
  background-image: url(https://images.unsplash.com/photo-1622110674153-a1326259c41e?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxzZWFyY2h8OHx8ZmlyZSUyMGJhY2tncm91bmR8ZW58MHx8MHx8&auto=format&fit=crop&w=500&q=60);
  -webkit-background-clip: text;
  color: transparent;
  background-size: contain;
}

.hero__body {
  background-color: var(--color-lighter-gray);
  border: 2px solid var(--color-light-gray);
  padding: 15px;
  line-height: 1.5;
}

.hero__date {
  font-weight: 900;
  color: var(--color-charleston-green);
  font-size: 1.6rem;
}

.hero__venue {
  font-size: 15px;
}

.program {
  background-color: var(--color-charleston-green);
  padding: 50px 25px;
  display: grid;
  grid-template-columns: 1fr;
}

.program__title {
  text-align: center;
  color: var(--color-lighter-gray);
  margin-bottom: 50px;
  font-size: 1.5rem;
  position: relative;
}

.program__title::after {
  position: absolute;
  content: "";
  width: 100px;
  height: 3px;
  background-color: var(--color-royal-orange);
  top: 150%;
  left: 50%;
  display: block;
  transform: translate(-50%, -50%);
}

.program__card-image {
  width: 90%;
}

.program__card {
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 2fr 4fr;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background-color: rgb(254, 244, 244, 0.2);
  padding: 15px;
  cursor: pointer;
}

.program__card:hover {
  transform: scale(1.05);
  transition: all 0.5s ease-in;
}

.program__card-title {
  font-size: 1rem;
  color: var(--color-royal-orange);
}

.program__card-body {
  font-size: 13px;
  justify-self: flex-start;
  color: var(--color-lighter-gray);
  line-height: 1.5;
}

.program__btn {
  background-color: var(--color-royal-orange);
  padding: 20px;
  border: none;
  margin-top: 20px;
  font-family: inherit;
  color: var(--color-lighter-gray);
  font-size: 1.5rem;
}

.feature-speakers {
  padding: 40px 20px;
}

.feature-speakers__container-title {
  text-align: center;
  margin-bottom: 20px;
}

.feature-speakers__card {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.speaker-pix {
  width: 90%;
}

.feature-speakers__card-details-name {
  margin-block: 10px;
}

.feature-speakers__card-details-info {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--color-royal-orange);
  margin-bottom: 10px;
  position: relative;
}

.feature-speakers__card-details-about {
  font-size: 0.8rem;
  line-height: 1.5;
}

.feature-speakers__see-more {
  margin: 10px auto;
  display: block;
  background-color: var(--color-white);
  color: var(--color-charleston-green);
  border: 1px solid var(--color-charleston-green);
  padding: 10px 15px;
  cursor: pointer;
}

.feature-speakers__see-less {
  margin: 10px auto;
  display: block;
  background-color: var(--color-white);
  color: var(--color-charleston-green);
  border: 1px solid var(--color-charleston-green);
  padding: 10px 15px;
  cursor: pointer;
}

footer {
  background-color: var(--color-charleston-green);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.footer__container {
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer-logo {
  width: 150px;
}

.reserve {
  font-size: 13px;
  color: var(--color-lighter-gray);
}

button {
  transition: all 0.5s ease-in-out;
}

button:hover {
  transform: scale(1.1);
}

.partners {
  display: none;
}

.feature-speakers__card:nth-child(1),
.feature-speakers__card:nth-child(2) {
  display: grid;
}

.hide {
  display: none;
}

.program__link {
  display: none;
}

.feature-speakers__card-details-info::after {
  position: absolute;
  content: "";
  width: 50px;
  height: 2px;
  background-color: var(--color-royal-orange);
  top: 130%;
  left: 15%;
  display: block;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 768px) {
  .lower-nav__hamburger {
    display: none;
  }

  header {
    width: 100vw;
    padding: 0;
  }

  nav {
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 10;
  }

  .icon {
    width: 1rem;
    margin-right: 1rem;
    cursor: pointer;
  }

  .top-nav {
    display: block;
    background-color: var(--color-charleston-green);
    width: 100%;
  }

  .top-nav__container {
    display: flex;
    justify-content: flex-end;
    height: 40px;
    padding: 5px 50px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .top-nav__menu {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
  }

  .top-nav__menu-item a {
    margin-left: 20px;
    color: var(--color-white);
  }

  .lower-nav {
    width: 100%;
    background-color: var(--color-white);
    display: block;
  }

  .cc-campaign a {
    border: 2px solid var(--color-royal-orange);
    padding: 10px 15px;
    text-align: center;
  }

  .hero {
    max-width: 700px;
    margin: 120px 100px 0;
    position: relative;
    padding-block: 70px;
  }

  .hero__heading {
    font-size: 3rem;
  }

  .hero__body {
    font-size: 1.2rem;
  }

  .hero__date {
    font-size: 2.5rem;
  }

  .hero__venue {
    font-size: 1.2rem;
  }

  .program__cards {
    max-width: 1000px;
    margin: auto;
    display: flex;
    gap: 10px;
  }

  .program__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 10px;
  }

  .program__card-image {
    width: 20%;
  }

  .program__btn {
    width: 25%;
    display: none;
    margin: 30px auto;
    cursor: pointer;
  }

  .feature-speakers__container {
    max-width: 900px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .about__hero-body {
    margin-top: 20px;
    background-color: var(--color-white);
    padding: 30px;
    line-height: 2;
  }

  .about__hero-contact {
    text-align: center;
    margin-top: 40px;
  }

  .decide__container > * {
    margin-bottom: 20px;
  }

  .previous__container {
    padding: 10px;
    max-width: 1200px;
    margin: auto;
    border-top: 2px solid var(--color-lighter-gray);
  }

  .previous__container-images-card-details-body {
    font-size: 1rem;
  }

  .feature-speakers__container-title {
    margin-bottom: 50px;
    position: relative;
  }

  .feature-speakers__container-title::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 3px;
    background-color: var(--color-royal-orange);
    top: 150%;
    left: 50%;
    display: block;
    transform: translate(-50%, -50%);
  }

  .feature-speakers__card {
    display: grid;
    gap: 0;
  }

  .speaker-pix {
    transition: all 0.5s ease-in;
  }

  .speaker-pix:hover {
    transform: scale(1.1);
  }

  .partners {
    display: block;
    background-color: var(--color-charleston-green);
  }

  .partners__container {
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
  }

  .partners__container-heading {
    position: relative;
    text-align: center;
    color: var(--color-white);
  }

  .partners__container-heading::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 3px;
    background-color: var(--color-royal-orange);
    top: 150%;
    left: 50%;
    display: block;
    transform: translate(-50%, -50%);
  }

  .partners__container-logo {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 50px;
    width: 100%;
    align-items: center;
  }

  .partners__container-logo__item {
    font-size: 1.2rem;
    color: var(--color-gray);
  }

  footer {
    background-color: var(--color-light-gray);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
  }

  .about-footer {
    background-color: var(--color-charleston-green);
  }

  .footer__container {
    max-width: 800px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
  }

  .footer-logo {
    width: 200px;
    cursor: pointer;
  }

  .reserve {
    font-size: 1rem;
    color: var(--color-charleston-green);
  }

  .lower-nav__center {
    position: static;
    background-color: var(--color-white);
    width: 100%;
    top: 0;
    left: 0;
    height: 70px;
    z-index: 5;
    padding: 30px 30px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo__menu-list {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
  }

  .menu-list__item a {
    color: var(--color-charleston-green);
    font-size: 1rem;
    font-weight: normal;
    border-bottom: 0;
    display: block;
    padding-bottom: 0;
  }

  .cc-campaign {
    display: none;
  }

  #hambuger {
    display: none;
  }

  .lower-nav__logo {
    width: 15%;
    cursor: pointer;
    display: block;
  }

  .feature-speakers__see-more {
    display: none;
  }

  .about__hero-heading {
    font-size: 3rem;
  }

  .program__link {
    display: block;
    color: var(--color-white);
    text-align: center;
    text-decoration: underline;
    font-size: 1.5rem;
  }
}
