@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700&family=Lobster&family=Roboto+Mono:wght@200;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@700&display=swap');

:root {
  --main-orange: #f32201;
  --secondary-orange: #ec5242;
  --main-white: #fff;
  --secondary-white: #f8f8f8;
  --main-grey: #515151;
  --secondary-grey: #868686;
  --main-opacity-grey: rgba(133, 133, 133, 0.3);
  --main-black: #2c2c2c;
  --secondary-black: #2d2525;
  --secondary-opacity-transparent: rgba(0, 0, 0, 0.5);
}

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

body {
  font-size: 62.5%;
  padding: 0;
  margin: 0;
  font-family: 'Lato', sans-serif;
  background-color: var(--secondary-white);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 2% 0;
  box-shadow: 0 7px 11px 1px rgba(0, 0, 0, 0.5);
}

.header__svg {
  position: relative;
  left: 25px;
  width: 11%;
}

.header__svg:hover {
  cursor: pointer;
}

.header__img {
  width: 33%;
  margin: auto 30%;
  box-shadow: 0 1px 10px 1px rgba(0, 0, 0, 0.5);
}

.hero {
  display: flex;
  flex-direction: column;
  background-image: url('./img/hero_background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-clip: padding-box;
}

.hero > * {
  margin: 2rem 3rem;
}

.hero__h2 {
  color: var(--secondary-orange);
  font-size: 1.5rem;
  font-weight: 100;
  margin-bottom: 0;
}

.hero__h1 {
  font-size: 3rem;
  font-family: 'Assistant', sans-serif;
  text-transform: uppercase;
  background-image: url('./img/hero_text.png');
  color: transparent;
  -webkit-background-clip: text;
}

.hero__p {
  color: var(--secondary-black);
  border: 6px solid var(--main-white);
}

.hero__h2-2 {
  color: var(--main-grey);
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 0;
}

.hero__span {
  color: var(--secondary-grey);
  font-size: 1rem;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url('./img/pattern.png');
  height: 100%;
  width: 100%;
  font-size: 1rem;
  color: var(--main-white);
}

.main__h2 {
  margin: 5% 5% 1% 5%;
}

.cards-container {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  gap: 5px;
}

.cards {
  display: flex;
  align-items: center;
  margin: auto 3%;
  background-color: var(--main-opacity-grey);
}

.main__h3 {
  color: var(--main-orange);
}

.cards__childs {
  padding: 1px 0.5rem;
}

.main__button {
  font-size: 1rem;
  font-weight: 700;
  background-color: var(--main-orange);
  color: var(--main-white);
  border: none;
  padding: 1.5rem 3rem;
  margin: 1rem 0;
}

.speakers {
  display: flex;
  gap: 15px;
  padding: 2%;
}

.speakers__h3 {
  font-size: 1rem;
}

.speakers__p-1 {
  color: var(--secondary-orange);
}

.speakers__button {
  border: 1px solid var(--secondary-grey);
  background: var(--main-white);
  width: 90%;
  padding: 0.5rem;
  border-radius: 5px;
  margin: 1rem auto;
  cursor: pointer;
}

.header-d {
  display: none;
}

.desktop-p {
  display: none;
}

.navbar {
  display: none;
}

.desktop-main {
  display: none;
}

.about_footer {
  display: none;
}

.button-hidden {
  display: none;
}

.about_footer-p {
  opacity: 0.7;
}

/* Menu */

.DOM-menu {
  position: fixed;
  font-size: 1.5rem;
  height: 100%;
  width: 100%;
  background-color: var(--secondary-opacity-transparent);
}

.DOM-menu__ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 2rem;
  list-style: none;
}

.DOM-menu__a {
  text-decoration: none;
  color: var(--main-white);
}

.DOM-menu__svg {
  width: 100%;
  height: 8%;
  color: var(--main-white);
}

.DOM-menu__svg:hover,
.DOM-menu__a:hover {
  cursor: pointer;
  color: var(--secondary-grey);
}

.footer-mobile {
  text-align: center;
}

.footer-desktop {
  display: none;
}

.speakers-more {
  display: none;
}

@media screen and (min-width: 768px) {
  .hero__p {
    margin-right: 25%;
    font-size: 0.9rem;
    line-height: 1.5rem;
  }

  .header {
    display: none;
  }

  .header-d {
    display: flex;
    justify-content: flex-end;
    color: white;
    background-color: #3e3e3e;
    font-size: 1rem;
  }

  .header-d__ul {
    display: flex;
    list-style: none;
    margin: 0;
  }

  .header-d__ul li {
    padding: 0.4rem 2rem;
  }

  .main {
    height: 110%;
    padding: 5% 0 5% 0;
  }

  .main__button {
    display: none;
  }

  .cards-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 5rem;
  }

  .cards {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 200px;
    height: 231px;
    margin: 0%;
    padding: 20px;
  }

  .desktop-p {
    display: block;
    border-bottom: 2px solid var(--main-white);
    margin-top: 6rem;
  }

  .desktop-main {
    display: block;
    font-size: 0.7rem;
    color: white;
    background-color: #3e3e3e;
    width: 100%;
    padding: 2% 0 4%;
    text-align: center;
  }

  .desktop-main__section-svg {
    position: relative;
    bottom: 1rem;
  }

  .main__partners-logos img {
    width: 9rem;
    margin: auto 2rem;
    height: 49px;
  }

  .about_footer {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 8%;
  }

  .about_footer img {
    flex: 1;
  }

  .about_footer p {
    flex: 1;
  }

  .navbar {
    display: flex;
    justify-content: space-around;
    padding: 0.4rem 0;
    font-size: 1rem;
    background-color: var(--main-white);
    box-shadow: 0 7px 11px 1px rgba(0, 0, 0, 0.5);
  }

  .navbar__ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
  }

  .navbar__a {
    text-decoration: none;
    color: #868686;
    padding: 0 1.8rem;
  }

  .navbar__a:hover {
    color: #f53d00;
  }

  .navbar-logo {
    width: 10%;
    box-shadow: 0 1px 10px 1px rgba(0, 0, 0, 0.5);
  }

  .navbar__li-special {
    border: 6px solid #f53d00;
    padding: 0.5rem;
    color: #f53d00;
  }

  .footer-desktop {
    display: block;
    text-align: center;
    margin: 5% 20%;
  }

  .speakers-flex-container {
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 3%;
    text-align: left;
  }

  .speakers img {
    width: 120px;
    height: 120px;
  }

  .footer-mobile {
    display: none;
  }

  .about_footer-img {
    width: 10%;
    box-shadow: 0 1px 10px 1px rgba(0, 0, 0, 0.5);
  }
}
