:root{
    --primary-color: #0C9E96;
    --secondary-color: #003664;
    --grey-color: #f3f3f3;
    --text-color: #000;
    --text-secondary-color: #fff;
}

*{
    margin: 0;
}

h1, h2, h3, h4, h5, h6, label{
    font-family: 'Futura medium', sans-serif;
}

p, a, li, span, input, textarea, button{
    font-family: 'Myriad Pro', sans-serif;
}

#crepinas{
    overflow: hidden;
    margin-top: 100px;
}

#crepinas .banner{
    background-color: #F4F4F4;
    background-image: url(https://www.keiken-engineering.com/uploads/filigrana-fondo-medios-keiken.png);
    background-repeat: no-repeat;
    background-size: 600px;
    background-position: 200px -50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 30vh;
}

#crepinas .banner h1{
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: normal;
    text-align: center;
    font-size: 2.5em;
}

#crepinas .banner p{
    text-align: center;
}

#crepinas .content{
    background-color: #F4F4F4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5%;
}

#crepinas .content .texto{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#crepinas .content .texto ul {
    padding-left: 20px;
}

#crepinas .content .imagenes{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

#crepinas .content img{
    width: 500px;
    box-shadow: -4px 4px 8px rgba(0,0,0,0.2);
    border-radius: 1em;
}

@media(max-width: 1200px){
    #crepinas .banner,
    #crepinas .content{
        padding: 5%;
        width: unset;
    }

    #crepinas .capsa:nth-child(1) {
        font-size: 18px;
        max-width: 180px;
    }

    #crepinas .capsa:nth-child(2) {
        font-size: 48px;
        width: 150px;
    }
}

@media(max-width: 1070px){
    #crepinas .content{
        flex-direction: column;
        gap: 2rem;
    }

    #crepinas .content .texto,
    #crepinas .content .imagenes {
        width: 100%;
    }

    #crepinas .content .imagenes{
        flex-direction: row;
    }

    #crepinas .content img {
        width: 50%;
    }
}

@media(max-width: 900px){
    #crepinas .valoracions{
        flex-direction: column;
        gap: 0;
    }

    #crepinas .block,
    #crepinas .capsa-final{
        border-right: unset;
        border-bottom: 1px solid black;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2rem 0;
    }
}

@media(max-width: 425px){
    #crepinas{
        margin-top: 65px;
    }
    #crepinas .content .imagenes{
        flex-direction: column;
    }

    #crepinas .content img{
        width: 100%;
    }

    #crepinas .capsa:nth-child(1) {
        font-size: 16px;
        max-width: 50%;
    }

    #crepinas .capsa:nth-child(2) {
        font-size: 32px;
        width: 30%;
    }

    #crepinas .capsa:nth-child(2) span{
        font-size: 14px;
    }
}


#crepinas .button {
  width: fit-content;
  align-items: center;
  background: 0 0;
  border: none;
  border-radius: 6.25rem;
  color: var(--primary-color);
  cursor: pointer;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 600;
  gap: 0.363636em;
  justify-content: center;
  letter-spacing: -0.01em;
  line-height: 1.04545;
  overflow: hidden;
  padding: 1rem 1.5rem;
  position: relative;
  text-decoration: none;
  word-break: break-word;
  text-decoration: none;
  z-index: 1;
}

@media (hover: hover) {
  .button.button--stroke:hover {
    color: var(--primary-color);
    text-decoration: none;
  }
}

#crepinas .button--stroke:after {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

#crepinas .button--stroke:after {
  border: 0.13rem solid var(--primary-color);
  border-radius: 5rem;
  content: "";
  pointer-events: none;
}

#crepinas .button__label {
  position: relative;
  text-align: center;
  transition: color 50ms ease-in;
  margin: 0;
}

#crepinas .button--stroke:hover .button__label {
    color: var(--text-secondary-color);
    transition: color 0.15s ease-in;
}

#crepinas .button__flair {
  bottom: 0;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
}

#crepinas .button--stroke .button__flair {
  transform: scale(0);
  transform-origin: 0 0;
  will-change: transform;
}

#crepinas .button__flair:before {
  aspect-ratio: 1/1;
  background-color: var(--primary-color);
  border-radius: 50%;
  content: "";
  display: block;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translate(-50%, -50%);
  width: 170%;
}

#crepinas .banner h1,
#crepinas .banner p,
#crepinas .valoracions > div,
#crepinas .content .texto,
#crepinas .content .imagenes {
    opacity: 0;
}