/* --- layout por defecto al inicio --- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 1s;
}

html {
	scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}    

img, video {
    
    width: 100%;   
    object-fit: cover;
}

p {
    margin: 0;
    padding: 0;
}

/* --- --- Fin de estilos iniciales --- ---*/
/* ---- Estilos Generales ---- */

html,
body {
  scroll-snap-type: x mandatory;
}

/* --- Estilos de tipografia ---- */

body {
	font-family: "Lato", sans-serif;
    min-height: 100vh;     
    /* max-height: 100vh; */
}   

body {
    background-color: #fff;
    background-repeat: repeat ;
    background-image: url("../img/SS_Recortada.png");   
}




header {    
    background-color: #eff3f2;
    /* padding: 0.5em 5.5em; */
    /* margin-left: auto; */
    /* margin-right: auto; */
}
header section {    
    display: inline-flex;
    background-color: #eff3f2;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* text-align:justify; */
    align-content: space-between;
    /* flex-wrap: wrap; */
	justify-content: center;
	align-content: center;
    padding: 0.4em 0.0em;
    /* margin-left: auto;
    margin-right: auto; */
 
}
header section:nth-of-type(1){
    position: fixed;
    top: 0; 
    z-index: 100; 
}

header section:nth-of-type(2){
    position: fixed;
    margin-top: 50px;
    z-index: 100; 
}
header section div:nth-of-type(1) {
    display: flex;
    width: 100%;
    align-items: center;
    padding-left: 0.02em;
    
    /* position: sticky;
    top: 0px;  */

}

#logo {
    width: 2.5em;
    border-radius: 40% 11% 50% 1%;
    /* margin-right: 10%; */
    min-height: 2.5em;
    max-height: 2.5em;
    box-shadow: 0.1em 0.1em rgb(159, 164, 165);
    /* margin-right: auto; */
    z-index: 100;
    
}

header section div {
    width: 100%;
    margin-right: 0%;
    margin-left: 5%;
    
}
header section div a {
    width: 100%;
    font-family: 'gwendolyn';
    font-weight: bold;
    font-size: 1.8rem;
    /* text-align:justify; */
    align-self:center;
    padding-left: 0.2em;
}
header section div:nth-of-type(2) {
    display: flex;
    width: 30%;
    align-items:center;
    justify-content: center;
    /* padding-left: 1%; */
    /* padding-right: 5%; */

}

.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' -20,
  'opsz' 40
}


header #menu {
    background-color: #eff3f2;
    min-width: 100%;
    width: 100%;
    min-height: 4vh;
    max-height: 5vh;
    align-content: space-between;
    display: flex;
    align-items: center;
    padding: 0.5em 3.0em;
    margin-left: 0;
    margin-right: 0;

}

header #menu nav {
    width: 100%;
    display: flex;
    align-content: space-between;
    justify-content: space-between;
    align-items:center;
}

header #menu ul{
    /* background-color: rgb(138, 226, 197); */
    display: flex;
    /* flex-wrap: wrap; */
    text-decoration: none;
    /* width: 40%; */
    /* justify-content: space-between; */
    align-items: center;
    /* align-content:space-around;  */
    /* text-align:center; */
    /* width: 30%; */
    margin: 1%;
    
}

header #menu nav ul:nth-of-type(1) {
    justify-content: flex-start;
    width: 30%;  
    
}

header #menu nav ul:nth-of-type(2) {
    justify-content: flex-end;
    width: 20%;
}

header #menu ul li {
    /* border: 0.1px solid rgb(223, 175, 175); */
    /* border-radius: 8px; */
    text-align: center;
    display: flex;
    width: 90%;
    padding-top: 0.4em;
    padding-bottom: 0.4em;
    /* padding-right: 0.4em; */
    padding-left: .15em; 
    justify-content: space-between;
    list-style-type: none;
    align-items: center;
}

main {
    
    width: 100%;
    height: 100%;
    display: inline;    
    padding: 0em 0em;
    margin-left: auto;
    margin-right: auto;
    scroll-snap-align: center;
}

main>div {
     
    padding: 0.5em 2.1em;
    margin-left: auto;
    margin-right: auto;
   
    /* max-height: 99vh; */    
}

main div{
    background-color: rgba(255,255,255,0.3);
    background-blend-mode: lighten;
    
}
 main h1 {
        margin-top: 90px;
        font-size: 1.5em;
        text-shadow: .2em .2em .5em orange;
    }

main .back {
    width: 100%;
    /* object-fit: contain; */
    /* padding-top: 1vh; */
    top: 40px;
    min-width: 100%;
    min-height: 99vh;
    max-height: 99vh;
    align-items: center;
    justify-content: center;
}
main #back2 {
    display: flex;
    /* background-color: rgb(9, 5, 12); */
    /* background-repeat: no-repeat; */
    /* background-size: 100%; */
    /* max-width: 100%; 
    max-height: 100%; */
    object-fit: contain;
    /* opacity: 0.5; */
    aspect-ratio: 1/1;
    /* background-size: 100%; */
    /* background-position: center; */
    /* background-image: url(../img/n.jpg); */
    width: 100%;
    height: 100%;
    min-height: 90vh;
    max-height: 99vh; 
    
    align-items: center;
    justify-content: center;
}

h1  {
	position: relative;
	z-index: 10;
	color: #452581;
    text-shadow: .2em .2em .5em orange;
	width: 75%;
	text-align: center;
    align-items: center;
	mix-blend-mode:hard-light;
}

video {
	height: 100%;
	position: absolute;
	top: 2.5em;
    
	left: 0;
	/* z-index: -1; */
    border-radius: 5em;
}

#vuno {
        /* display: none; */
        visibility: visible;
    }

#vdos {
        display: none;
        visibility: hidden;
    }

main section #back2 img {
    border: 4px solid #fff;
    object-fit: contain;
    opacity: 0.7;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
}
main section #back2 img:nth-of-type(2) {
    display: none;
}

main #galeria {
    /* display: flex;     */
    min-height: 100vh;
    /* max-height: 100vh; */
    /* background-repeat: repeat; */
	/* background-repeat: repeat ;
    background-image: url("../img/SS_Recortada.png"); */
    background-color: rgba(255,255,255,0.2);
    background-blend-mode: lighten;
    scroll-snap-align: center;
}

main #galeria div:has(h2)  {
    display: flex;
    background-color: rgb(74, 248, 248);
    width: 100%; 
    align-items:center;
    justify-content: space-between;
    align-content: center;
    padding: .4% 1%;
    padding-top: 1%;
    position: sticky;
    top: 3em;
    z-index: 100;
   
    
}

main #galeria h3 {
    position: relative;
    text-align: center;
    top: 4.5em;
}

main .gridGaleria{
    background-color: rgb(200, 247, 214);
    opacity: 0.7;
    display: grid;
    max-width: 100%;  
    /* height: 100%; */
    min-height: 90vh;
    /* max-height: 250vh ;   */
    text-align: center;
    grid-template: repeat(3, 25%) / repeat(3, 28%);
    place-content: center;
    gap: 0.3% 1%;
	place-items: center;    
    
}

main .gridGaleria div {
    /* object-fit: contain; */
    
    background-color: #fff;
    border-radius: 1em;
    width: 100%;
    height: 100%;
    place-items: center; 
    place-content: center;

}

main .gridGaleria div figure {
    position: relative;
    display: inline-block;
    border-radius: 1em;
    width: 100%;
    height: 100%;
    
}
main .gridGaleria div figure figcaption {
    /* display: inline-flex; */
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
}
main .gridGaleria div img{
    border-radius: 1em;
    /* border: 1px solid red; */
    display: block;
    aspect-ratio: 1/2;
    object-fit: contain;
    min-width: 100%;
    max-height: 100%;
}

main .gridGaleria div a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

main .gridGaleria div:nth-of-type(4) {
    background-color: rgb(253, 253, 251);
}
main .gridGaleria div:nth-of-type(4) img {

    transform: rotate(90deg);

}

#arrow {
	display: block;
	position:fixed;
	bottom: 1.5em;
	right: 1.5em;
	color: #380b0b;
	font-size: 2em;
}

div:nth-of-type(1) {
	position: relative;
	z-index: 1;
}
/* -- pagina de contato -- */

.contacto {
    width: 100%;
    height: 100%;
    display: inline;    
    padding: 0em 0em;
    margin-left: auto;
    margin-right: auto;
    scroll-snap-align: center;        
    place-items: center; 
    place-content: center;
}

.contacto form, .contacto article {
    /* width: 50%; */
}
.contacto h1 {
    text-align: center;
}

.contacto .back form {
    min-width: 40%;
    /* display: inline-block; */
    padding-bottom: 2em;
}

.contacto .back article {
    min-width: 45%;
    /* display: inline; */
    margin-bottom: 0.5em;
}

.contacto .back form fieldset {
    border-radius: 1em;
    padding-left: 0.5em;
    
}
.contacto h2 {
    background-color: rgb(136, 124, 124);
}

/*--No tocar --*/
.contacto {
    font-size: 1.3em;
}

.contacto h1 {
    font-size: 2em;

}

.contact .chulo {
    /* background-color: #452581; */
}
.contact div{
    background-color: rgba(255,255,255,0.2);
    background-blend-mode: lighten;
    display: flex;
}

.contacto .apaisado {
    /* background-color: rgb(185, 172, 197); */
    min-width: 100%;
    /* height: 98vh; */
    display: flex;
    flex-wrap: wrap;
    gap: 5% 5%;
    margin-top: 2em;

}

.contacto select {
    padding: 0.1em;
    font-size: 1.1em;
    display: flex;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    
}

.contacto .back form label {
    /* margin-top: 1em; */
    /* padding-top: 0.8em; */
    background-color: rgb(247, 238, 225);
    border-radius: 0.5em;
    margin: 1% 1% 1% 1%;
    padding: 1% 1% 1% 1%;
}
.contacto .back form input {
    
    padding: 0.2em;
    margin-bottom: 0.5em;
    margin-top: 0.3em;
    font-size: 1.1em;
}

.contacto section fieldset input:nth-of-type(2) {
    border-radius: 10px;
}
.contacto form input:nth-last-of-type(2) {
    /* width: 3.5em; */
    border-radius: 10px;
}

.contacto form input:last-child {
    /* width: 3em; */
    border-radius: 10px;
}

.contacto textarea {
    margin-top: 0.3em;
    margin-right: .5em;
    padding: 0.2em;
    font-size: 1.1em;
    width: 20em;
    text-align: left;
    border-radius: 10px;
}

.contacto section fieldset>fieldset {
    margin-right: 1em;
    /* background-color: #eae8ee; */
    display: inline-block;
    align-items: center;
    justify-content: center;
}

.contacto section fieldset>fieldset input {
    display: inline-block;
    /* padding: 0;
    margin: 0; */
    width: 40%;
    text-align: center;
    /* background-color: #eae8ee; */
    /* align-items: center;  */
    align-content: center; 
}

.contacto section fieldset>fieldset label {
    text-align: center;
    background-color: red;
    
}

.contacto .back input:last-child {
    /* background-color: red; */
    padding: 0.2em;
    margin-bottom: 0.5em;
    margin-top: 0.3em;
    font-size: 1.1em;
    
}

contacto article h3 {
        font-size: 1.5em;
    }

    .contact article span, i, a, p {
        font-size: 1.3em;
    }


/* media queries */

@media screen and ( max-width: 444px) {

    header a {
        font-size: 1.0em

    }
    #logo {
        width: 2.5em;
        border-radius: 40% 11% 50% 1%;
        /* margin-right: 10%; */
        min-height: 2.5em;
        max-height: 2.5em;
    }

    header section div a {
        width: 100%;
        font-family: 'gwendolyn';
        font-weight: bold;
        font-size: 1.8rem;
    }

    main #galeria {
        color: inherit;
    }

    main h1 {
        font-size: 1.3em;
        color: rgb(53, 51, 160);
        text-align: center;
        align-items: center;
        text-shadow: .2em .2em .5em orange;
    }
    main #back2 img {
        display:none;
    }
    main #back2 {
        /* background-image: url("../img/tijeGalePort/Foto\ \(261\).jpg");
        background-size: contain;
        background-repeat: no-repeat; */
        align-items: center;
        justify-content: center;
        opacity: 1;
        /* background-color: rgb(196, 204, 79); */
        /* display:inline-block; */
    }
    video {
        height: 100%;
        position: absolute;
        top: 4.8em;
        left: 0;
        /* z-index: -1; */
        border-radius: 1em;
    }

    main #back2 img {
        
        width: 100%;
        height: 100%;
        /* transition: opacity 0.3s ease; */
        opacity: 0.5;
        align-self:flex-end;
        justify-content: center;
    }    
    main section #back2 img:nth-of-type(1) {
        display: none;
    }
    main section #back2 img:nth-of-type(2) {
    display: block;
    }

    .contacto {
        min-width: 100%;
        display: inline-block;
        font-size: 1.5em;
        /* height: 100vh; */
    }
    .contacto .apaisado {
        min-width: 100%;
        display: inline-block;
    }

    .contacto .back form fieldset {
    display: inline-block;
    padding-right: 0.2em;
    margin-right: 0.02em;
    }

    #vuno {
        display: none;
        visibility: hidden;
    }

    #vdos {
        display: flex;
        visibility: visible;
    }

    .contacto article {
    min-height: 100%;
    /* max-height: 100vh; */
    /* background-repeat: repeat; */
	/* background-repeat: repeat ;
    background-image: url("../img/SS_Recortada.png"); */
    background-color: rgba(255,255,255,0.2);
    background-blend-mode: lighten;
    /* scroll-snap-align: center; */  
    }

    .contacto article h3 {
        font-size: 1.5em;
    }

    .contact article span, i, a, p {
        font-size: 1.3em;
    }
}

    






