@font-face {
  font-family: 'Rondana-Heavy';
  src: url('./../fonts/Rondana-Heavy.woff2') format('woff2'),
       url('./../fonts/Rondana-Heavy.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MuseoModerno-Medium';
  src: url('./../fonts/MuseoModerno-Medium.woff2') format('woff2'),
       url('./../fonts/MuseoModerno-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MuseoModerno-MediumItalic';
  src: url('./../fonts/MuseoModerno-MediumItalic.woff2') format('woff2'),
       url('./../fonts/MuseoModerno-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
  text-decoration: none;
}

.wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  background-color: #00bf6f;
  font-size: 16px;
}

.details, 
.media {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.details {
  min-height: 100vh;
}

.media {
  height: 100vh;
  position: sticky;
  top: 0;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  display: none;
}

.media img:nth-child(1) {
  display: block;
}

.details__wrapper {
  width: 35rem;
  min-height: 85%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

.details__header {
  width: 100%;
  margin-top: 4em;
  margin-bottom: 4em;
  display: block;
}

.logo {
  width: 7.5em;
}

.logo img {
  width: 100%;
  display: block;
}

.details__caption, 
.caption,
.caption img {
  width: 100%;
  display: block;
}

.caption {
  margin-bottom: 2em;
}

.caption img:nth-child(1) {
  display: block;
}

.caption img:nth-child(2) {
  display: none;
}

.cta {
  font-size: 1.5em;
  color: #000000;
  border: 1px solid #000000;
  background-color: transparent;
  outline: none;
  border-radius: 30px;
  padding: .5em 1em;
  font-family: 'MuseoModerno-MediumItalic';
  transition: .25s;
  cursor: pointer;
}

.cta:hover {
  color: #fff;
  border: 1px solid #fff;
}

.details__footer {
  width: 100%;
  margin-top: 4em;
  margin-bottom: 4em;
  display: block;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.social-links a {
  width: auto;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000000;
  font-size: 1.2em;
  font-family: 'MuseoModerno-Medium';
  transition: .25s;
}

.social-links a i {
  font-size: 1.25em;
}

.social-links a:hover {
  color: #fff;
}

.social-links img {
  width: 1.2em;
  display: block;
}

.social-links span {
  display: block;
  margin-left: .5em;
}

/* VERDE 00bf6f
AZUL 307fe2
AMARILLO ecbc22
ROSA ef426f
MORADO 753bbd
NARANJA ff6720 */


@media (max-width: 1320px) {
  .wrapper {
    font-size: 14px;
  }

  .details__wrapper {
    width: 25rem;
  }

  .cta {
    font-size: 1.3em;
  }

  .social-links a {
    font-size: 1em;
  }
}

@media (max-width: 920px) {
  .wrapper {
    font-size: 12px;
  }

  .details__wrapper {
    width: 20rem;
  }
 
  .social-links span {
      margin-left: 0.25em;
  }
}

@media (max-width: 720px) {
  .wrapper {
    flex-direction: column;
  }

  .details {
    min-height: 50vh;
  }

  .media {
    width: 100%;
    height: auto;
    min-height: auto;
  }

  .details__wrapper {
    width: 22rem;
  }

  .details__header .logo {
    margin: 0 auto;
  }

  .details__caption {
    text-align: center;
  }

  .caption img:nth-child(2) {
    display: block;
  }
  
  .caption img:nth-child(1) {
    display: none;
  }
}

@media (max-width: 620px) {
  .wrapper {
    font-size: 10px;
  }

  .details__wrapper {
    width: 18rem;
  }
}

@media (max-width: 580px) {
  .wrapper {
    font-size: 8px;
  }

  .details__caption {
    width: 80%;
  }

  .social-links a {
    font-size: 10px;
  }
}


