@font-face {
    font-family: 'Ubuntu-Regular';
    src: url(../css/fonts/Ubuntu-Regular.ttf);
}

body {
    justify-content: center;
    margin: 0 0;
    display: block;
    max-width: 100vw;
    overflow-x: hidden;
    font-family: Ubuntu-Regular;
}

.row,
.container-fluid {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    --bs-gutter-x: 0;
    max-width: 100%;
    padding: 0;
    height: 100%;
}

#slider {
    background-image: url(../src/images/inicio/background-slider.png);
    background-size: cover;
    align-items: center;
    text-align: center;
    width: 100%;
}

.contenedor {
    padding: 1%;
    display: block;
    margin: 1.5%;
    flex-wrap: wrap;
    align-self: center;
}

.boxes>.contenedor {
    width: 100%;
    align-self: stretch;
    display: flex;
    margin: 0;
    padding: 0;
    border-radius: 10px;
}

.contenedor img {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
    justify-self: center;
    margin-bottom: 7%;
}

.boxes {
    height: 100%;
    width: 95%;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    color: rgb(16, 24, 31);
    background-color: white;
    border-color: rgba(0, 0, 0, 0.5);
    border-style: solid;
    border-width: 1px;
    text-align: center;
}

.boxes h2 {
    margin: 1vh 1vw;
    padding: 0 2%;
    text-align: left;
    font-weight: bold;
}

.boxes article{
    text-align: justify;
    padding:0 2%
}

.boxes :hover {
    cursor: pointer;
}

.contenedor>div img {
    height: 100%;
    width: 100%;
    max-height: 100%;
}

.cursorout-white,
.cursorover-black {
    border-radius: 10px;
    margin: 2vw;
    padding: 1vw;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.cursorover-black {
    color: white;
    background-color: black;
}

.cursorout-white {
    text-align: center;
    color: black;
    background-color: rgb(246, 206, 60);
}

.card-text {
    width: 100%;
    height: 50%;
    padding: 0;
}

.izq{
    justify-content: right;
}

.ventana {
    background-color: rgb(0, 49, 108);
    border-radius: 10px;
    display: flex;
    position: fixed;
    top: 8vh;
    width: 60vw;
    height: 85vh;
    padding: 1vh 0.5vw;
    text-align: right;
    flex-wrap: wrap;
}

.ventana>.container-fluid {
    flex-wrap: nowrap;
    height: 5%;
    align-items: center;
}

.ventana .container-fluid button {
    height: 100%;
    margin: 0.5%;
}

.ventana .container-fluid button:hover {
    cursor: pointer;
}

.ventana>.container-fluid>button>img{
    height:100%;
}

.contenedorModal {
    margin: 1%;
    border-radius: 10px;
    width: 100%;
    height: 93%;
    background-color: white;
    text-align: left;
    font-size: 1vw;
    padding: 1vh 1vw;
    display: block;
}

.modal {
    display: block;
}

.cerrarModal {
    display: none;
}

.contenedorModal img {
    width: 100%;
    height: 100%;
}

.boxes .contenedor a{
    text-decoration: none;
    color: black;
}

@media screen and (min-width: 1200px) {
    .col-5vw {
        width: 5vw;
    }

    .col-10vw {
        width: 10vw
    }

    .col-20vw {
        width: 17vw;
        margin: 0.5%;
        justify-content: center;
        display: flex;
    }

    .col-30vw {
        width: 30vw
    }

    .col-40vw {
        width: 40vw
    }

    .col-50vw {
        width: 50vw
    }

    .col-60vw {
        width: 60vw
    }

    .col-80vw {
        width: 80vw
    }

    .col-100vw {
        width: 100vw;
    }
    
    .seccion{
        margin-top: 15vh;
        display: flex;
    }

    #slider>.contenedor {
        width: 100%;
        height: 100%;
        padding: 20vh 7.5vw;
        margin: 0;
        color: white;
    }
    
    #slider {
        position: relative;
        height: 60vh;
        display: flex;
        align-items: center;
    }

    .slider {
        top: 15vh;
        padding: 0 30vw;
        justify-content: right;
    }

    .slider h1 {
        font-size: 3vw;
        line-height: 8vh;
        margin: 0 0 0 30%;
    }

    .boxes h2 {
        font-size: calc((1.2vh + 1.2vw)/1.3);
    }

    h3 {
        font-size: 1.5vw;
    }

    #contenedores {
        padding: 10vh 0 0;
        margin: 0;
        background-color: rgba(241, 241, 241, 0.5);
    }

    .card-text article {
        margin: 1vh 1vw;
        font-size: calc((1.1vh + 1.1vw)/1.5);
        font-weight: lighter;
        text-align: justify;
    }

    #experience {
        padding: 3%;
        display: flex;
        margin: 1vh;
    }

    .cursorout-white p,
    .cursorover-black p {
        font-size: calc(30vw * 0.15);
        text-align: center;
        align-content: center;
        font-weight: bolder;
    }

    .cursorout-white span,
    .cursorover-black span {
        font-size: calc(30vw * 0.05);
        font-family: 'Trebuchet MS';
    }

    .movil{
        display: none;
    }
}

@media screen and (min-width: 801px) and (max-width: 1199px) {
    .col-5vw {
        width: 5vw
    }

    .col-10vw {
        width: 10vw;
    }

    .col-20vw {
        width: 45vw;
        margin: 0.5%;
        justify-content: center;
        display: flex;
    }

    .col-30vw {
        width: 30vw
    }

    .col-40vw {
        width: 40vw
    }

    .col-50vw {
        width: 50vw
    }

    .col-60vw {
        width: 60vw
    }

    .col-70vw {
        width: 70vw
    }

    .col-80vw {
        width: 80vw
    }

    .col-90vw {
        width: 90vw;
    }

    .col-100vw {
        width: 100vw;
    }

    .boxes h2 {
        font-size: calc((1.2vh + 1.2vw));
    }

    .seccion{
        margin-top: 15vh;
        display: flex;
    }
    
    #slider {
        position: relative;
        height: 50vh;
        display: flex;
        align-items: center;
    }
    
    #slider>.contenedor {
        width: 100%;
        height: 100%;
        padding: 17vh 5vw;
        margin: 0;
        position: relative;
        color: white;
    }

    #slider h1 {
        font-size: 3vw;
        line-height: 5vh;
        margin-left: 40%;
    }

    .cursorout-blue p,
    .cursorover-yellow p {
        font-size: calc((8.5vh + 8.5vw)/2);
        text-align: center;
        align-content: center;
        font-weight: bolder;
    }

    .cursorout-blue span,
    .cursorover-yellow span {
        font-size: calc((2.2vh + 2.2vw)/2);
        font-family: 'Trebuchet MS';
    }

    h3 {
        font-size: 1.5vw;
    }

    #contenedores {
        padding: 10vh 0 0;
        margin: 0;
        background-color: rgba(241, 241, 241, 0.5);
    }

    .card-text p {
        margin: 1vh 1vw;
        font-size: calc((1.1vh + 1.1vw));
        font-weight: lighter;
        text-align: left;
    }

    #experience {
        padding: 3%;
        display: flex;
        margin: 1vh;
    }

    .contenedorModal .sub1 img {
        width: 100%;
    }

    .ventana {
        background-color: rgb(0, 49, 108);
        border-radius: 10px;
        display: flex;
        position: fixed;
        top: 15vh;
        left: 20vw;
        right: 20vw;
        width: 60vw;
        height: auto;
        padding: 1vh 0.5vw;
        text-align: right;
        flex-wrap: wrap;
    }

    .close {
        width: 100%;
        padding: 1vh 1vw;
    }

    .ventana img {
        width: 3%;
    }

    .contenedorModal {
        margin: auto;
        border-radius: 10px;
        width: 100%;
        height: auto;
        background-color: white;
        text-align: left;
        font-size: 1vw;
        padding: 2vh 2vw;
    }

    .modal {
        position: fixed;
        display: none;
    }

    .cerrarModal {
        display: none;
    }

    .cursorout-white p,
    .cursorover-black p {
        font-size: calc(30vw * 0.15);
        text-align: center;
        align-content: center;
        font-weight: bolder;
    }

    .cursorout-white span,
    .cursorover-black span {
        font-size: calc(30vw * 0.05);
        font-family: 'Trebuchet MS';
    }

    .movil{
        display: none;
    }

}

@media screen and (max-width: 800px) {

    .col-5vw {
        width: 5;
    }

    .col-10vw {
        width: 10vw
    }

    .col-20vw {
        width: 98vw;
        margin: 2vh 0.5%;
        justify-content: center;
        display: flex;
    }

    .col-30vw {
        width: 90vw
    }

    .col-40vw {
        width: 40vw
    }

    .col-60vw {
        width: 90vw
    }

    #slider {
        background-image: url(../src/images/inicio/background-slider.png);
        background-size: cover;
        height: 35vh;
        padding-top: 8vh;
        align-items: center;
        text-align: center;
        flex-wrap: nowrap;
   }

    #slider h1 {
        font-size: 6vw;
        line-height: 4vh;
        color: white;
        font-weight: bold;
    }

    #slider>.contenedor span {
        position: 0;
        color: white;
        font-size: calc((2.5vh + 2.5vw)/2);
    }

    #slider>.col-40vw>.contenedor {
        width: 100%;
        height: 100%;
        padding: 0 7.5vw;
        margin: 0;
        position: relative;
        color: white;
    }

    .boxes {
        height: 100%;
        width: 95%;
        display: flex;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
        color: rgb(16, 24, 31);
        background-color: white;
        border-color: rgba(0, 0, 0, 0.5);
        border-style: solid;
        border-width: 1px;
        text-align: center;
    }

    .card-text p {
        margin: 1vh 1vw;
        font-size: calc((1.3vh + 1.3vw));
        font-weight: lighter;
        text-align: left;
    }

    .cursorout-white p,
    .cursorover-black p {
        font-size: calc(90vw * 0.15);
        text-align: center;
        align-content: center;
        font-weight: bolder;
    }

    .cursorout-white span,
    .cursorover-black span {
        font-size: calc(90vw * 0.05);
        font-family: 'Trebuchet MS';
    }

    .ventana{
	backgrund-color: rgb(0,49,108);
	border-radius: 10px;
	display: flex;
	position: fixed;
	top: 8vh;
	width: 90vw;
	height: 70vh;
	padding: 0.5vw;
	text-align: right;
	flex-wrap: wrap;
	margin-top: 10vh;
    }

    .ventana>.container-fluid{
	height:8%;
	margin:1%;
    }

    .der{
	justify-content:right;
    }

    .ventana>.contenedorModal{
	height:90%;
	margin:0;
	padding:0.5%;
    }

    .pc{
        display: none;
    }
}
