:root {
    --blanco: #ffffff;
    --oscuro: #212121;
    --primario: #FFC107;
    --secundario: #0097A7;
    --gris: #757575;
    --grisClaro: #DFE9F3;
    --rojoPalido: rgb(231, 89, 29);

}

/*  Globales **/
html {
    font-size: 62.5%;
    box-sizing: border-box;
    /* Hack para Box Model **/
    /*scroll-snap-type: y mandatory;*/
}

/** Scroll Snap**/
.servicios,
.navegacion-principal,
.formulario {
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-size: 16px;
    /* 1rem = 10px */
    font-family: 'Krub', sans-serif;
    background-image: linear-gradient(to top, var(--grisClaro) 0%, var(--blanco) 100%);
}

.contenedor {
    max-width: 120rem;
    margin: 0 auto;
}

.boton {
    background-color: var(--secundario);
    color: var(--blanco);
    padding: 1rem 3rem;
    margin-top: 3rem;
    font-size: 2rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: .5rem;
    width: 90%;
    text-align: center;
    border: none;
}

@media (min-width: 768px) {
    .boton {
        width: auto;
    }
}

.boton:hover {
    cursor: pointer;
    background-color: var(--blanco);
    color: var(--secundario);

}

.sombra {
    box-shadow: 0px 5px 15px 0px rgba(112, 112, 112, 0.48);
    background-color: var(--blanco);
    padding: 2rem;
    border-radius: 1rem;
}

/* Tipografia */
h1 {
    font-size: 3.8rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 1.8rem;
}

h1,
h2,
h3 {
    text-align: center;
}


/* Titulos */
.titulo span {
    font-size: 2rem;
}

/** Utilidades **/
.w-sm-100 {
    width: 100%;
}

@media (min-width: 768px) {
    .w-sm-100 {
        width: auto;
    }
}

.flex {
    display: flex;
}

.alinear-derecha {
    justify-content: flex-end;
}

/* Navegacion Principal */
.nav-bg {
    background-color: var(--rojoPalido);
}

.navegacion-principal {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .navegacion-principal {
        flex-direction: row;
        justify-content: space-between;
    }
}

.navegacion-principal a {
    display: block;
    text-align: center;
    color: var(--blanco);
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    padding: 1rem;
}

.navegacion-principal a:hover {
    background-color: var(--primario);
    color: var(--oscuro);
    /*text-transform: uppercase;*/
}

/* Hero */
.hero {
    background-image: url(../img/programador.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 450px;
    position: relative;
    margin-bottom: 2rem;
}

.contenido-hero {
    position: absolute;
    background-color: rgba(0, 0, 0, .7);
    /** Anterior **/
    background-color: rgb(0 0 0 / 50%);
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.hero2 {
    background-image: url(../img/programas.png);
    background-repeat: no-repeat;
    background-size: cover;
    height: 450px;
    position: relative;
    margin-bottom: 2rem;
}

.contenido-hero2 {
    position: absolute;
    background-color: rgba(0, 0, 0, .5);
    /** Anterior **/
    background-color: rgb(0 0 0 / 50%);
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}


.contenido-hero h2,
.contenido-hero p {
    color: var(--blanco);
}

.desarrollador2 {
    font-size: 4rem;
}

.contenido-hero .ubicacion {
    display: flex;
    align-items: flex-end;
}



/** Servicios **/
@media (min-width: 768px) {
    .servicios {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 1rem;

    }
}

@media (min-width: 768px) {
    .serviciosRedes {
        display: flex;
        justify-content: center;
        margin-left: 5rem;
        margin-right: 5rem;
        margin-bottom: 20px;
    }
}

.servicioRedes {
    display: flex;
    justify-content: center;
    margin-left: 5rem;
    margin-right: 5rem;
    margin-bottom: 20px;
}

.servicio {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.servicio h3 {
    color: var(--oscuro);
    font-weight: bold;
}

.contenedor h2 {
    color: var(--oscuro);
}

.servicio p {
    line-height: 2;
    text-align: center;
}

.servicio .iconos {
    height: 15rem;
    width: 15rem;
    background-color: var(--primario);
    border-radius: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

/**Perfil**/
@media (min-width: 768px) {
    .dos-columnas {
        display: grid;
        grid-template-columns: 50% 50%;
        column-gap: 5rem;
    }
}

.contenedor-perfil p {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-family: oswald;
    padding: 2rem;
}

.imagen-grid {
    width: 320px;
    margin: 2rem;
    box-shadow: 0px 5px 15px 0px rgba(112, 112, 112, 0.48);
}

@media (min-width: 768px) {
    .imagen-grid {
        width: 310px;
        margin: 0;
    }
}

@media (min-width: 1280px) {
    .imagen-grid {
        width: 450px;
        margin-left: 3rem;
    }
}

.descripcion p {
    color: white;
    text-align: justify;
}

.descripcion img {
    width: 250px;
    padding: 0 15px;
    float: left;
}

/** Contacto **/
.formulario {
    background-color: var(--gris);
    width: min(60rem, 100%);
    /** Utilizar el valor más pequeño **/
    margin: 0 auto;
    padding: 2rem;
    border-radius: 1rem;
}

.formulario fieldset {
    border: none;
}

.formulario legend {
    text-align: center;
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primario);
}

@media (min-width: 768px) {
    .contenedor-campos {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: auto auto 20rem;
        column-gap: 1rem;
    }

    .campo:nth-child(3),
    .campo:nth-child(4) {
        grid-column: 1 / 3;
    }
}

.campo {
    margin-bottom: 1rem;
}

.campo label {
    color: var(--blanco);
    font-weight: bold;
    margin-bottom: .5rem;
    display: block;
}

.campo textarea {
    height: 20rem;
}

.input-text {
    width: 100%;
    border: none;
    padding: 1.5rem;
    border-radius: .5rem;
}

/** Footer **/
.footer {
    text-align: center;
    font-size: 1.5rem;
}

.footer2 {
    background-color: var(--rojoPalido);
    padding: .5rem;
    color: var(--blanco);
}

/*Acordeon*/
.acordeon {
    width: 100%;
    max-width: 120em;
    padding: 1rem;
}

.acordeon .h2 {
    margin: 0 0 1em;
    padding: 1em;
}

.acordeon .contenido-formacion {
    height: 0;
    padding: 0em;
    overflow: hidden;
    transition: all .5s ease;
}

.acordeon .bloque.activo .contenido-formacion {
    height: auto;
}

.acordeon1 {
    display: block;
    background-color: rgb(201, 200, 200);
    color: black;
    cursor: pointer;
    padding: 20px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 2rem;
    border-radius: .5rem;
    font-family: Arial, Helvetica, sans-serif;
    border-bottom: 2px solid rgb(194, 191, 191);
}

.acordeon1:hover {
    background-color: rgb(155, 153, 161);
    color: var(--blanco);
}

.viñetas {
    font-weight: bold;
}

.viñetas1 {
    margin-left: 2rem;
    font-weight: bold;
    font-size: 2rem;
}

.desde {
    margin-left: 2rem;
}

/*Grid*/
.grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
}

@media (min-width: 2560px) {
    .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        ;
    }
}

/*Proyectos*/

.proyectos1,
.proyectos2,
.proyectos3,
.proyectos4,
.proyectos5,
.proyectos6 {
    background-color: var(--blanco);
    margin-bottom: 2rem;
    width: 95%;
    margin-left: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0px 5px 15px 0px rgba(112, 112, 112, 0.48);
}

.proyectos1 img {
    height: 330px;
}

@media (min-width: 375px) {

    .proyectos1,
    .proyectos2,
    .proyectos3,
    .proyectos4,
    .proyectos5,
    .proyectos6 {
        background-color: var(--blanco);
        margin-bottom: 2rem;
        width: 95%;
        margin-left: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0px 5px 15px 0px rgba(112, 112, 112, 0.48);
    }

    .proyectos1 img {
        height: 350px;
    }
}

@media (min-width: 768px) {

    .proyectos1,
    .proyectos2,
    .proyectos3,
    .proyectos4,
    .proyectos5,
    .proyectos6 {
        margin-left: 2rem;
    }

    .proyectos1 img {
        height: 450px;
    }

}

@media (min-width: 1600px) {

    .proyectos1,
    .proyectos2,
    .proyectos3,
    .proyectos4,
    .proyectos5,
    .proyectos6 {
        margin-left: 5rem;
    }
}

.proyectos__imagen {
    width: 330px;
    margin-bottom: 1rem;

}

@media (min-width: 768px) {
    .proyectos__imagen {
        width: 450px;
    }
}

.parrafo {
    text-align: left;
}

/*Slider*/
.container-slider {
    width: 90%;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    box-shadow: 0 0 0 0, 0 15px 30px;
    position: relative;
}

.slider {
    display: flex;
    width: 1500%;
    /*proporcional de acuerdo a la cantidad de imagenes que se coloca, ejemplo: 4 imagenes 400%, 5 imagenes 500%*/
    margin-left: -100%;
}

.slider__section {
    width: 100%;
}

.slider__img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .slider__img {
        height: 500px;
    }
}

@media (min-width: 1280px) {
    .slider__img {
        height: 600px;
    }
}

.slider__btn {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: rgba(17, 17, 17, 70%);
    position: absolute;
    top: 50%;
    color: #DFE9F3;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: bold;
    font-family: monospace;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}

.slider__btn:hover {
    background-color: black;
}

.slider__btn--left {
    left: 10px;
}

.slider__btn--right {
    right: 10px;
}

.header {
    position: relative;
    width: 100%;
    height: 100px; 
    overflow: hidden; 
}

.header__imagen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: -1; 
}

.titulo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2em;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}