* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    max-width: 1200px;
    margin: auto;
}

:root {
    --rojo: #ff4048;
    --gris: #f5f5f5;
}

.deslizar {
    margin-top: 175px;
}

html {
    scroll-behavior: smooth;
}

/* Menu responsive */

.cont_btn_menu {
    /* border: 2px red solid; */
    color: var(--rojo);
    display: none;
    align-items: center;
    font-size: 3em;
}

/* Header */

.header {
    /* border: 2px blue solid; */
    display: flex;
    justify-content: space-around;
    padding: 15px;
}

.fig_logo {
    /* border: 2px green solid; */
    display: block;
    max-width: 200px;
}

.fig_logo img {
    width: 100%;
    object-fit: cover;
}

.cont_menu {
    /* border: 2px red solid; */
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.cont_menu li a {
    text-decoration: none;
    color: black;
    font-size: 15px;
    padding: 10px;
}

.cont_menu li a:hover {
    border-bottom: 2px var(--rojo) solid;
}

/* Slider codigo base */

.rslides {
    /* border: 2px red solid; */
    list-style: none;
    overflow: hidden;
    max-height: 610px;
    min-height: 400px;
    margin: auto;
    padding: 0;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.rslides li:first-child {
    position: relative;
    display: block;
    float: left;
}

.rslides img {
    display: block;
    height: auto;
    min-height: 400px;
    float: left;
    width: 100%;
    border: 0;
    object-fit: cover;
}

/* Slider */

.cont_slider {
    /* border: 2px red solid; */
    transition: all 420ms ease-in-out;
    position: relative;
    overflow: hidden;
}

.cont_slider_info {
    /* border: 2px green solid; */
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
    text-align: right;
}

.cont_slider_info h1 {
    font-size: 4em;
    color: var(--rojo);
}

.cont_slider_info p {
    /* border: 2px green solid; */
    max-width: 340px;
}

.cont_slider_info a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 40px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    background-color: var(--rojo);
    color: white;
}

/* Servicios */

.titulo {
    /* border: 2px purple solid; */
    text-align: center;
    font-size: 1.5em;
    padding: 40px;
}

.cont_servicios {
    /* border: 2px red solid; */
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 80px;
}

.cont_servicio {
    /* border: 2px green solid; */
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 10px;
    text-align: center;
}

.cont_icono {
    border: 2px gray solid;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 5px;
}

.cont_icono i {
    font-size: 3em;
    color: #ff4048;
}

.cont_servicio h2 {
    font-size: .9em;
}

.cont_servicio p {
    color: rgb(69, 69, 69);
}

/* Galeria */

.cont_padre_galeria {
    /* border: 2px green solid; */
    background-color: var(--gris);
    display: flex;
    padding-top: 50px;
    padding-bottom: 50px;
}

.cont_galeria {
    /* border: 2px blue solid; */
    max-width: 605px;
    display: flex;
    flex-wrap: wrap;
}

.fig_foto {
    /* border: 2px red solid; */
    width: 300px;
    height: 300px;
}

.fig_foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cont_galeria_info {
    /* border: 2px purple solid; */
    max-width: 590px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    gap: 30px;
    padding: 50px;
}

.cont_galeria_info h2 {
    /* border: 2px green solid; */
    font-size: 3em;
    max-width: 320px;
}

.lighter {
    font-weight: lighter;
    font-stretch: semi-condensed;
}

.cont_galeria_info a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 50px;
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    background-color: var(--rojo);
    color: white;
}

.cont_galeria_info p {
    /* border: 2px red solid; */
    max-width: 340px;
}

/* Footer */

.footer_padre {
    /* border: 2px green solid; */
    position: relative;
}

.footer_padre {
    padding-top: 100px;
}

.footer {
    /* border: 2px red solid; */
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    margin-bottom: 40px;
}

.cont_footer_info {
    display: flex;
    align-items: center;
}

.cont_footer_redes {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cont_footer_redes a {
    padding: 10px;
    border-radius: 50px;
    border: 2px rgb(150, 150, 150) solid;
    color: var(--rojo);
}

.cont_footer_redes a i {
    font-size: 1em;
    font-weight: bold;
    width: 20px;
    text-align: center;
}

.btn_subir {
    background-color: var(--rojo);
    box-shadow: rgb(56, 56, 56) 0px 0px 5px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    font-weight: bold;
    position: absolute;
    text-decoration: none;
    top: 10%;
    right: 10%;
}