* {
    margin: 0;
    padding: 0;
    font-family: 'plasti';
}


@font-face {
    font-family: 'plasti';
    src: url(font/Microgramma\ D\ Extended\ Bold.otf);

}

:root {
    --azul: #1f3a64;
    --fondo: white;
}

header {
    width: 80%;
    padding: 0 5%;
    margin: 0 auto;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--fondo);
    box-shadow: 15px 0 20px -10px rgba(0, 0, 0, 0.25),
        -15px 0 20px -10px rgba(0, 0, 0, 0.25);

}

header .logocont {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50%;
}

header .logocont img {
    height: 100%;
}

header ul {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

header ul li a {
    color: var(--azul);
    text-decoration: none;
    transition: .3s;
}

header ul li a:hover {
    color: rgb(0, 0, 0);
}

main {
    background-color: var(--fondo);
    width: 90%;
    margin: 0 auto;
    box-shadow: 15px 0 20px -10px rgba(0, 0, 0, 0.25),
        -15px 0 20px -10px rgba(0, 0, 0, 0.25);
}

.portada {
    width: 100%;
    height: calc(100vh - 100px);
    background: url(img/portada.png);
    position: relative;
    z-index: 1;
}

.capaport {
    background-color: rgba(192, 192, 192, 0.699);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.txtport {
    z-index: 1;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.txtport h1 {
    font-size: 2.5vw;
    color: var(--azul);
}

.txtport a {
    background-color: var(--azul);
    padding: 5px 10px;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.txtport a:hover {
    background-color: black;
}

.miviva {
    width: 98%;
    display: grid;
    gap: 2vw;
    grid-template-columns: repeat(2, 1fr);
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: var(--azul);
}

.miviva h2 {
    text-align: center;
    font-size: 1.3vw;
}

.mision {
    width: 80%;
    margin: 0 auto;
}

.mision p {
    text-align: justify;
}

.vision {
    width: 80%;
    margin: 0 auto;
}

.vision p {
    text-align: justify;
}

.valores {
    grid-column: 1 / -1;
    /* ocupa todo el ancho */
    justify-self: center;
    /* centrada horizontalmente */
    width: 40%;
}

.valores ul {
    list-style: none;
    color: var(--azul);
}

.conttel {
    position: absolute;
    bottom: 5%;
    right: 0;
    z-index: 100;
    overflow: hidden;
}

.telfloat {
    width: 210px;
    height: 60px;
    background-color: rgb(0, 105, 175);
    display: flex;
    align-items: center;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    transform: translateX(150px);
    transition: all 0.5s;
    text-decoration: none;
}

.contwha {
    position: absolute;
    bottom: 5%;
    left: 0;
    z-index: 100;
    overflow: hidden;
}

.whafloat {
    width: 210px;
    height: 60px;
    background-color: green;
    display: flex;
    align-items: center;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    transform: translateX(-150px);
    transition: all 0.5s;
    text-decoration: none;
}

.telfloat:hover {
    transform: translateX(0);
}

.whafloat:hover {
    transform: translateX(0);
}

.telfloat img {
    height: 50px;
    width: 50px;
    margin: 10px;
}

.whafloat img {
    height: 50px;
    width: 50px;
    margin-left: 5px;
}

.telfloat p {
    height: 50px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: small;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 700;
    font-size: 1vw;
}

.whafloat p {
    height: 50px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: small;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 700;
    font-size: 1vw;
}

@media (max-width:991px) {

    header .logocont {
        height: 25%;
    }

    .portada {
        background: url(img/portadacel.png);
        background-size: cover;
    }

    .txtport {
        width: 90%;
    }

    .txtport h1 {
        font-size: 6vw;
    }

    .txtport a {
        font-size: 4vw;
    }

    .miviva {
        width: 100%;
        gap: 2vw;
    }

    .mision {
        width: 90%;
    }

    .mision h2 {
        font-size: 4vw;
    }

    .mision p {
        font-size: 2.2vw;
    }

    .vision {
        width: 90%
    }

    .vision h2 {
        font-size: 4vw;
    }

    .vision p {
        font-size: 2.2vw;
    }

    .valores {
        width: 70%;
    }

    .valores h2 {
        font-size: 4vw;
    }

    .valores ul {
        font-size: 2.2vw;
    }



    .telfloat {
        width: 40px;
        height: 40px;
        transform: translateX(0px);
    }

    .whafloat {
        width: 40px;
        height: 40px;
        transform: translateX(-0px);
    }

    .telfloat:hover {
        transform: translateX(0px);
    }

    .whafloat:hover {
        transform: translateX(-0px);
    }

    .telfloat img {
        height: 30px;
        width: 30px;
    }

    .whafloat img {
        height: 30px;
        width: 30px;
    }

    .telfloat p {
        display: none;
    }

    .whafloat p {
        display: none;
    }
}