@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root{
    --white: #f9f9f9;
    --blue: #003399;
    --yellow-light:#FFC436;
    --black: #848688;
    --black1: #727376;
    --grey: #0b0b0b;
    --blue2: #001E84;
    --black2: #E6E7E8;
    --black3: #D2D3D5;
}

.sedes_cabecera{
    width: 100%;
}

.sedes_caja{
    border-bottom: 1px var(--black2) solid;
}

.sedes_cabecera .columna_02{
    display: flex;
    justify-content:space-around;
}


.sedes_cabecera .columna_02 .sedes_texto{
    width: 100%;
}


.sedes_cabecera .columna_02 .sedes_texto h1{
    font-size: 2rem;
    color:var(--blue2);
    font-weight: 500;
    margin-top: 3rem;
}


.sedes_cabecera .columna_02 .sedes_texto h2{
    font-size: 1.2rem;
    color:var(--black1);
    font-weight: 400;
    margin-top: 1rem;
}

.sedes_cabecera .columna_02 .sedes_texto h3{
    font-size: 1.1rem;
    color:var(--black);
    font-weight: 400;
    line-height: 3rem;
    border-bottom: 1px var(--black2) solid;
    width: 50%;
}

.sedes_cabecera .columna_02 .sedes_texto span{
    font-size: 1.1rem;
    color:var(--blue2);
    font-weight: 400;
    line-height: 3rem;
    margin-left: 10px;
}



.content-imagen_mov{
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.content-img{
    width: 400px;
    height: 300px;
    margin: auto;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.content-img img{
    width: 100%;
    -webkit-transition: all 300ms;
    transition: all 300ms;
}

.content-1{
    width: 1000px;
    height: 1000px;
    position: absolute;
    top: 0;
    background: rgba(1, 30, 73, 0.5);
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg);
    margin-left: -750px;
    -webkit-transition: all 300ms;
    transition: all 300ms;
}

.content-2{
    width: 1000px;
    height: 1000px;
    position: absolute;
    top: 0;
    background: rgba(1, 46, 112, 0.5);
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg);
    margin-left: -800px;
    -webkit-transition: all 500ms;
    transition: all 500ms;
}

.content-3{
    width: 1000px;
    height: 1000px;
    position: absolute;
    top: 0;
    background: rgba(0,100,255,0.5);
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
    margin-left: -800px;
    margin-top: -500px;
    -webkit-transition: all 900ms;
    transition: all 900ms;
    -webkit-box-shadow: 0px 1px 20px -5px black;
    box-shadow: 0px 1px 20px -5px black;
}

.content-4{
    width: 1000px;
    height: 1000px;
    position: absolute;
    top: 0;
    background: rgba(1, 50, 124, 0.5);
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);
    margin-left: -850px;
    margin-top: -500px;
    -webkit-transition: all 700ms;
    transition: all 700ms;
}

.content-img:hover .content-1{
    width: 222%;
    -webkit-transition: all 900ms;
    transition: all 900ms;
}

.content-img:hover .content-2{
    width: 222%;
    -webkit-transition: all 300ms;
    transition: all 300ms;
}

.content-img:hover .content-3{
    width: 222%;
    -webkit-transition: all 500ms;
    transition: all 500ms;
}

.content-img:hover .content-4{
    width: 222%;
    -webkit-transition: all 700ms;
    transition: all 700ms;
}

.content-img:hover img{
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    -webkit-transition: all 300ms;
    transition: all 300ms;
    opacity: 0.8;
}

.content-txt{
    position: absolute;
    top: 0;
    width: 400px;
    padding: 10px;
    z-index: 10;
    color: white;
    text-align: center;
    margin-top: 100px;
}

.content-txt h2{
    font-size: 2.2rem;
    opacity: 0;
    -webkit-transform: scale(0.2);
    transform: scale(0.2);
    -webkit-transition: all 300ms;
    transition: all 300ms;
}

.content-txt p{
    font-size: 1rem;
    margin-top: 10px;
    opacity: 0;
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
    -webkit-transition: all 300ms;
    transition: all 300ms;
}

.content-img:hover h2{
    opacity: 1;
    -webkit-transition: all 300ms;
    transition: all 300ms;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.content-img:hover p{
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 500ms;
    transition: all 500ms;
}


@media screen and (max-width:400px){

    .sedes_cabecera .columna_02{
    display:flex;
    flex-wrap:wrap;
    }

    .sedes_cabecera .columna_02 .sedes_texto h1{
        font-size: 1.5rem;
        margin-top: 1rem;
        margin-left: 1rem;
    }


    .sedes_cabecera .columna_02 .sedes_texto h2{
        font-size: 1rem;
        margin-left: 1rem;

    }

    .sedes_cabecera .columna_02 .sedes_texto h3{
        font-size: 1rem;
        margin-left: 1rem;
        line-height: 10px;
        width: 100%;
    }

    .sedes_cabecera .columna_02 .sedes_texto span{
        font-size: 1.1rem;
        font-weight: 400;
        line-height: 3rem;
        margin-left: 10px;
    }

    
    .content-img{
        width: 300px;
        height: 200px;
    }

}
