/* Custom Properties */
:root {
  --first-color: #FFBF29;
  --second-color: #8f8b8b;
  --third-color: #000000;
  --fourth-color: #FFFFFF;
  --black-alpha: rgba(0, 0, 0, 0.5);
  --grey-light: #f3f3f3;
  --max-width: 1200px;
  --footer-height: 3rem;
  --header-height: 4rem;
  --hero-one: url(/assets/img/hero.png);
}  
  /* fuentes personalizadas */
@font-face {
    font-family: "Helvetica";
    src: url("/assets/fonts/HelveticaNeueLTStdThEx.otf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
  }

@font-face {
    font-family: "Helvetica";
    src: url("/assets/fonts/HelveticaNeueLTStdHvEx.otf") format("truetype");
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
  }

/* reset */
html {
  box-sizing: border-box;
  font-size: 16px;
  font-family: Helvetica;
  scroll-behavior: smooth; /* transicion de secciones */
}

*,
*::after,
*::before {
  box-sizing: inherit; /* heredado del html */
}

img{
  max-width: 100%;
}

/* COMPONENTES */

/* Estilos about */
.about{
  display: flex;
  flex-wrap: wrap;
}
.about-us{
  padding: 1rem;
}
.about-us-us{
  display: flex;
}

.about-item{
  flex: 1 1 400px;
  padding: 1rem;
}

/* estilos hero */
.hero-image{
  background-image: var(--hero-one);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-image-opacity{
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--opacity-color);
}
.hero-image-content svg{
  max-width: 90%;
  fill: aqua;
}
.hero-image-title{
  color: var(--fourth-color);
  margin: auto;
  font-size: 8vw;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
}
@media screen and (min-width:768px) {
  .hero-image{
    display: flex;
    justify-content: space-between;
  }
  .hero-image-content{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;
    align-content: center;
    padding: 0 3rem;
  }
  .hero-image-content svg{
    height: 450px;
    width: auto;
    margin: auto;
  }
  .hero-image-title{
    font-size: 3.5vw;
    margin: auto;
    margin-right: 2.5rem;
    text-align: left;
  }
}

/* estilos menu */
.menu-btn{
  background-color: transparent;
  outline: thin solid var(--first-color);
  border: 0;
}
.menu{
  position: fixed;
  left: 0;
  bottom: var(--header-height);
  width: 100%;
  background-color: var(--first-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.menu.is-active{
  opacity: 1;
  pointer-events: auto;
}
.menu a{
  padding: 1rem;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--third-color);
}
.menu a:hover{
  color: var(--second-color);
}

@media screen and (min-width:1024px) {
  .header{
    background-color: var(--fourth-color);
  }

  .menu-btn{
    display: none;
  }
  .menu{
    position: static;
    opacity: 1;
    pointer-events: auto;
    flex-direction: row;
    width: auto;
    height: var(--header-height);
    font-weight: 200;
    background-color: var(--fourth-color);
  }
  .menu a{
    padding: 0 1rem;
  }
  .menu a:hover{
    color: var(--first-color);
  }
}
/* modal */
dialog{
  border: none;
  padding: 0;
}
.modals{
background-image: url(/assets/img/mac_0.jpg);
background-position: center;
background-size: cover;
max-width: 90%;
}
.modal::backdrop{
  background-color: rgba(0, 0, 0, 1);

}
.contenedor-modal{
  background-color: var(--first-color);
  padding: 1rem;
}
.contenido-modal{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 3rem;
  border: 2px solid var(--second-color);
  color: var(--second-color);
}
.btn-modal-close{
  margin: auto;
  outline: none;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: 700;
  letter-spacing: 1px;
  width: auto;
  padding: .6rem;
  margin-top: 1rem ;
  background-color: var(--second-color);
}

/* UTILIDADES */

.none{
  display: none;
}
.box-shadow-1 {
  box-shadow: .25rem .25rem 1rem rgba(0, 0, 0, .25);
}
.sign{
  text-align: right;
}
.section{
  padding: 1rem;
}
.bg-grey-light{
  background-color: var(--grey-light);
}
.section-title, .mac-title{
  border-top: thin solid var(--first-color);
  border-bottom: thin solid var(--first-color);
  margin: 2rem auto;
  padding: .5rem 1rem;
  text-align: center;
  width: 300px;
  font-weight: 700;
  letter-spacing: 2px;
}
.mac-text{
  text-align: justify;
  margin: auto;
  margin-bottom: 1rem;
}

/* ESTILOS DEL SITIO */
.contact-cards{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: auto;
}
.contact-card{
  justify-content: space-around;
  align-items: center;
  padding: 1rem;
  width: 100%;
  height: 160px;
}
.contact-card svg{
  width: 3rem;
  height: 3rem;
}
.contact-card h5{
  font-weight: 700;
  letter-spacing: 2px;
}
.contact-form{
  padding: 1rem;
  width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: 0 auto;
}
.contact-form label{
  color: #8f8b8b;
  margin-left: 0;
  background-color: #FFBF29;
  margin-bottom: 0;
}
.contact-form > * {
  padding: 0.5rem;
  margin: 1rem auto;
  display: block;
  width: 100%;
}
.contact-form input,
.contact-form textarea {
  font-size: 0.85rem;
  background-color: var(--grey-light);
}
.contact-form input {
  border: 0;
  border-bottom: 2px solid var(--second-color);
  padding-left: 0;
}
.contact-form textarea {
  resize: none;
  border: none;
  border: 2px solid var(--second-color);
  margin-top: 2rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  color: red;
}

.contact-form input[type="submit"] {
  margin-top: 0;
  cursor: pointer;
  transition: all 0.5s ease-out;
}
.contact-form input[type="submit"]:hover {
  opacity: 0.75;
}
.contact-form *::placeholder {
  color: var(--second-color);
  font-weight: 700;
  letter-spacing: 2px;
}

header{
  position: fixed;
  left: 0;
  bottom: 0; 
  z-index: 1000;
  width: 100%;
  height: var(--header-height);
  background-color: var(--first-color);
}
.header > .container{
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo a {
  height: 2rem;
}
.logo a img{
  margin: auto;
}

@media screen and (min-width:1024px) {
  .header{
    position: sticky;
    top: 0;
  }
  .hero-image-logo{
    margin: auto;
    width: 30%;
  }
}
.founder-container{
  display: flex;
}
.founder{
  max-width: 90%;
  margin: auto;
}
.fln-card{
  margin: 1rem auto;
  padding: 1rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  box-shadow: .25rem .25rem 1rem rgba(0, 0, 0, .25);
  color: var(--second-color);
}
.fln-card svg{
  margin-bottom: 1.25rem;
}
.fln-card h3{
  font-weight: 700;
  letter-spacing: 2px;
}
.fln-card p{
  margin: auto;
}
.fln-contact-card a{
  text-decoration: none;
  color: var(--second-color);
  font-weight: 700;
}

.fln-contact-card:nth-child(1){
  margin-top: 0;
}
.fln-contact-card:nth-child(3){
  margin-bottom: 0;
}

@media screen and (min-width:768px) {
  .container {
    display: grid;
    grid-template-columns: repeat(2, 45%);
    justify-content: space-between;
    gap: 1rem;
    align-content: center;
  }
  .mac-container {
    display: grid;
    grid-template-columns: repeat(3, 25%);
    justify-content: space-evenly;
    gap: .3rem;
    padding: auto .5rem;
    align-content: center;
  }
  .mac-title{
    grid-column: span 3;
  }

  .section-title{
    grid-column: span 2;
  }

  .mac-text{
    grid-column: span 3;
  }
  .modals{
    max-width: 50%;
    max-height: 50%;
    }
  .contact-container{
    display: grid;
    grid-template-columns: repeat(2, 45%);
    justify-content: space-around;
    padding-bottom: 2rem;
  }
}
footer{
  margin-bottom: var(--header-height);
  padding: 0.5rem;
  text-align: center;
  color: var(--third-color);
  background-color: var(--second-color);
  display: flex;
  flex-direction: column;
  padding: 0.5rem 2rem;
  text-align: center;
}

footer a{
  color: var(--third-color);
  text-decoration: none;
  font-weight: 700;
  padding: .5rem 0;
}

@media screen and (min-width:1024px) {
  .container {
    grid-template-columns: repeat(3, 30%);
  }
  .section-title{
    grid-column: span 3;
  }
  .mac-text{
    grid-column: span 3;
  }
  .modals{
    max-width: 50%;
    max-height: 50%;
    }
  footer{
    margin-bottom: 0px;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    height: var(--footer-height);
  }
  footer small, h5{
    margin: auto;
  }
}

.mac-card{
  margin: 1rem auto;
  padding: 0;
  text-align: center;
  box-shadow: .25rem .25rem 1rem rgba(0, 0, 0, .25);
}
.mac-btn{
  border: none;
  background-color: transparent;
  outline: none;
}

.btn{
  background-color: var(--second-color);
  margin: auto;
  font-weight: bold;
  color: var(--fourth-color);
  width: 100%;
  padding: .5rem;
  border: none;
  text-transform: uppercase;
  }
.btn:hover{
  background-color: var(--first-color);
}
.contact-button{
  background-color: #000000;width: 100%;
}
