:root{
    --main-color: #AF1685;

}
html {
    box-sizing: border-box;
    font-size: 62.5%;
  }
*, *:before, *:after {
    box-sizing: inherit;
  }
/* globales */
body{
    font-size: 1.6rem;
    line-height: 1.5;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}
p{
    font-size: 1.8rem;
    font-family: Arial, Helvetica, sans-serif;
}
a{
    text-decoration: none;
    margin: 0;
}

h1,h2,h3,h4{
    text-align: center;
}
h1{
    font-size: 4rem;
}
h2{
    font-size: 3.2rem;
}
h3{
    font-size: 2.4rem;
}
h4{
    font-size: 1.8rem;
}

.cabecera{
    background-color: var(--main-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
    margin-bottom: 25px;
    z-index: 10;
}

.cabecera.fijo{
    position: fixed;
    width:100%;
    box-shadow: .1rem .2rem .3rem rgb(180, 179, 179);
    left:0;
    top:0;
}

.logo_cabecera{
    max-width: 200px;
    padding: 15px 15px;
}

.btnAlta{
    margin-right: 5px;
    background-color: white;
    border-radius: 5px;
    padding: 10px;
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--main-color);
    font-weight: bold;
}
.btnAlta:hover{
    background-color: black;
    color: white;
}
.principal{
    display: grid;
    grid-template-columns: .1fr 3fr .1fr;
    column-gap: 4rem;
    grid-template-rows: 1fr;
    grid-auto-flow: column;
    background-image: url("img/fondo.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
    padding: 0 0 25px 0;
    margin-bottom: 25px;
}
.principal_izq{
    grid-column: 2 / 3;
    grid-row: 2;
}
.principal_izq-texto{
    text-align: justify;
}
.principal_izq-texto-resaltado{
    color: var(--main-color);
    text-decoration: underline;
}

.principal_izq-botones{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.principal_izq-botones-alta{
    display: block;
    background-color:  #7b7c7b ;
    border-radius: 5px;
    padding: 14px 12px;
    color: white;
    font-weight: bold;
    border: 1px solid black;
}
.principal_izq-botones-alta:hover{
    background-color: #fcb419 ;
    color: #93106f;
    border: 1px solid black;
}
.principal_izq-botones-alta-store{
    display: flex;
    align-items: center;
}

.principal_dcha{
    grid-column: 2 / 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.imagen_ppal{
    display: none;
}
.footer{
    background-color: var(--main-color);
    border-radius: 5px;
    color: white;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    list-style: none;
}
.footer a{
    color: white;
}
.contenedor{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left:0;
}
.ul.galeria-imagenes{
    margin-left: 0;
}
.galeria-imagenes{
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: grid;
    place-items:center;
    background-color: rgba(0,0,0,.5);
    background-color: rgb(0 0 0 /.5);
    z-index: 100;
}

.overlay picture{
    display: block; 
    max-width: 80rem;
}

.btn-cerrar{
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: white;
    color:black;
    display: grid;
    place-items:center;
    font-weight: 700;
    cursor:pointer;
    margin-top: 0;
}
.imagen_pequena{
    border-radius: 5px;
    border: 1px solid var(--main-color);
    width: 100px; 
    height: 200px;
    transition: transform .3s ease-in-out;
}
.imagen_pequena:hover{
    cursor: pointer;
    transform: scale(1.05);
    box-shadow: 5px 6px 11px 0px rgba(20,18,20,0.75);
    
}
.imagen_grande{
    border-radius: 10px;
    box-shadow: 30px 0 10px 15px rgba(0, 0, 0, 0.4);
    width: 300px;
    height: 600px;
    border: 2px solid var(--main-color);
}

@media (min-width: 819px){

    .cabecera.fijo{
        position: relative;
    }

    .btnAlta{
        font-size: 1.5rem;
        margin-right: 15px;
        background-color: white;
        border-radius: 5px;
        padding: 10px;
        text-decoration: none;
        text-transform: uppercase;
        color: var(--main-color);
    }
    .principal{
        grid-template-columns: .1fr 3fr 1fr .1fr;
        column-gap: 4rem;
        grid-template-rows: 1fr;
    }
    .principal_izq{
        grid-column: 2 / 3;
        grid-row: 2;
    }
    .principal_dcha{
        grid-column: 3 / 4;
        grid-row: 2;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .fijar-body{
        overflow: hidden;
    }
    .imagen_ppal{
        display: block;
        max-height: 400px;
        border-radius: 5px;
        
    }
    .footer{
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        padding: 10px 0;
        list-style: none;
    }
}
@media (min-width: 1030px) { 
    .principal_izq-botones{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}