@import url('https://fonts.googleapis.com/css2?family=Lato&family=Montserrat&family=Open+Sans&family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');
@import url('https://cdn.jsdelivr.net/npm/@mdi/font@6.9.96/css/materialdesignicons.min.css');
@import url(loading.css);
@import url(menu.css);
@import url(galleryView.css);
/*base*/
:root{
    font-size: 62.5%;
	font-family: "montserrat", sans-serif;
	color: #444;
	scroll-behavior: smooth;
}
::-webkit-scrollbar{
    width: .6rem;
}
::-webkit-scrollbar-track{
    background: transparent;
}
::-webkit-scrollbar-thumb{
    background-color: #999;
    transition: background-color .4s;
}
::-webkit-scrollbar-thumb:hover{
    background-color: #F33;
}
*{
	margin: 0;
	padding: 0;
}
:root, body{
	overflow-x: hidden;
}
h1{
    display: none;
}
/*#snap{
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    max-height: 100vh;
}
.container, footer {
    scroll-snap-align: start;
}*/
/* animacion */
.animate{
    opacity: 0;
}
/*contenedores*/
.container{
	display: flex;
	min-height: 73rem;
	height: 100vh;
	width: 100%;
	background: #FAFAFA;
}
.column{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
}
.text{
	max-width: 75ch;
}
#servicios{
    width: 300%;
    transition: all .6s;
}
#servicios > .column:first-child{
    background: linear-gradient(145deg, rgba(255,51,51,1) 0%, rgba(153,51,51,1) 100%);
    flex-direction: column;
}
.icons{
    display: flex;
    flex-direction: row;
}
.info, .gallery{
    display: none;
}
iframe{
    border: none;
}

/*elementos*/
.float-right{
	float: right;
}
hr{
	border-top: .5rem solid #F33;
}
ul{
	list-style: none;
}
h2{
	font-family: "raleway";
    font-size: 4rem;
    letter-spacing: .2rem;
    line-height: 1.2;
}
p,li{
	font-family: "open sans";
    letter-spacing: .2rem;
    line-height: 1.2;
}
p{
    font-size: 2.4rem;
}
li{
    font-size: 2rem;
}
li a{
	text-decoration: none;
	color: #444;
	font-size: 2rem;
    transition: color .6s;
}
li a:hover{
    color: #F33;
}
li > .mdi:before{
	font-size: 3.2rem;
	padding-right: .5rem;
	vertical-align: sub;
}
.btn{
	cursor: pointer;
    color: #FFF;
    background: #F33;
    min-width: 16rem;
    padding: 1rem;
    font-family: "lato";
    font-size: 1.6rem;
    transition: opacity .8s;
    border: none;
}
.btn:hover{
	opacity: 0.6;
}

:is(h2,p,hr,button,li){
	margin-bottom: 1.6rem;
}
.colapse{
	transform: scaleY(0);
	transform-origin: top;
	height: auto;
	min-height: 0;
	max-height: 0;
	transition: all .6s ease;
}
.colapse .row{
	padding-top: 7.5rem;
    margin: 4rem;
    box-sizing: border-box;
    max-width: 120ch;
}
.colapse article{
	margin-bottom: 4rem;
}
article > :is(h2,p){
	font-family: 'Raleway';
	line-height: 1.6;
}
article > h3{
    font-size: 3.2rem;
    line-height: 1.6;
    text-align: center;
    color: #F33;
}
article > p{
    font-size: 2rem;
    text-align: justify;
}
#servicios > .column:first-child :is(h2,p){
    color: #FFF;
    text-align: center;
}
#servicios > .column:first-child hr{
    border-color: #FFF;
}
#servicios ul{
    padding-left: 3rem;
}
#servicios li::marker{
    content: "\2BC0  ";
    color: #F33;
}
.btnBox{
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 21rem;
    height: 21rem;
    border: 0.2rem solid white;
    border-radius: 1rem;
    margin: 1rem;
    align-items: center;
    box-shadow: 3px 3px 6px rgb(0 0 0 / 30%);
    transition: transform 0.2s;
}
.btnBox:hover{
    transform: scale(1.05);
}
.btnBox > i {
    color: #F33;
    background-color: #FFF;
    border-radius: 100%;
    font-size: 6rem;
    font-weight: bold;
    border: 1rem solid #FFF;
    margin-bottom: 1.6rem;
    margin-top: 4rem;
}
.btnBox > p{
    font-family: "open sans";
    font-size: 1.4rem;
    letter-spacing: .2rem;
    line-height: 1.2;
    margin: 0.4rem;
}
article .btnLeft{
    margin-left: 2rem;
}
.gallery .text{
    text-align: center;
}
.galleryBox{
    display: grid;
    grid-template-columns: repeat(auto-fit, 12rem);
    width: 100%;
    gap: 0.5rem;
    margin-bottom: 2.6rem;
    justify-content: center;
    max-height: calc(100vh - 30rem);
    overflow-y: auto;
}
.galleryBox img{
    cursor: pointer;
    width: 10rem;
    height: 10rem;
    border: solid 0.3rem #F33;
    border-radius: 1rem;
    margin: 0.5rem;
    transition: transform .4s;
    object-fit: cover;
}
.galleryBox img:hover{
    transform: scale(1.1);
}
:where(.row-img, iframe) {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
footer article{
    display: flex;
    flex-direction: row;
    background-color: #F33;
    justify-content: center;
    align-items: center;
    height: 10rem;
}
footer article *{
    color: #FFF;
    font-size: 1.2rem;
    text-decoration: none;
    font-family: 'Open Sans';
    margin: 0.5rem 3rem;
}
footer article .mdi:before{
	font-size: 2.4rem;
	padding-right: .5rem;
	vertical-align: sub;
}

@media screen and (max-width:1200px){
    :root{
        font-size: 50%;
    }
}

@media screen and (max-width:960px){
    .container:not(#servicios){
        flex-direction: column-reverse;
    }
    .column{
        min-height: unset;
        height: 100%;
    }
    .info > .column:nth-child(2){
        min-height: 0;
    }
    #contacto > .column:first-child, iframe{
        height: 40vh;
    }
}

@media screen and (max-width:560px){
    #inicio, #quienessomos{
        height: 50vh;
    }
    #quienessomos .column:nth-child(2){
        display: none;
    }
    :root{
        font-size: 40%;
    }
    .icons{
        flex-direction: column;
    }
    .btnBox{
        flex-direction: row;
        height: unset;
        padding: 1rem;
        width: 90%;
    }
    #servicios .animate:not(button){
        width: 100%;
    }
    .btnBox > i{
        font-size: 4rem;
        font-weight: unset;
        margin-bottom: unset;
        margin-top: unset;
        margin-right: 1rem;
    }
    .btnBox > p{
        width: 100%;
        text-align: center;
    }
    .info .text{
        margin-top: 2rem;
    }
    footer article{
        flex-direction: column;
    }
}

@media screen and (max-width:300px){
    :root{
        font-size: 30%;
    }
    .text{
        padding: 1rem;
    }
}