body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    overflow-x: hidden;
    transition: opacity 1s ease-in-out;

}

.fade-in {
    opacity: 1;
}

.fade-out {
    opacity: 0;
}

@media (min-width: 1024px) {
    body {
        background-image: url(/imagenes/fondo.png);
        overflow-x: hidden;
        overflow-y: hidden;
    }

    .barra {
        height: 100px;
        border-left: 2px solid black;
        margin-top: 550px;
        margin-left: 30px;
        position: absolute;
    }

    #logo {
        width: 30px;
        display: flex;
        height: 30px;
        padding: 20px;
        border-radius: 20px;
        transition: 0.3s ease-in-out;
        cursor: pointer;
    }

    #logo:hover {
        transform: scale(1.1);
    }

    #top:hover {
        background-color: antiquewhite;
    }

    .princinfo {
        width: 100%;
        height: auto;
        margin-top: 20px;
        text-align: justify;
        position: absolute;
        justify-content: start;
        top: 70%;
        left: 15%;
    }

    .p h1 {
        font-family: "Parkinsans", sans-serif;
        font-size: 25px;
    }

    .p p {
        font-family: "Montserrat", sans-serif;
        font-size: 18px;
        line-height: 5px;
    }

    .imgs-container {
        text-align: center;
        display: flex;
        gap: 30px;
        padding: 20px;
        position: absolute;
        right: 30%;
        top: 50px;
    }

    .imgs-container img {
        width: 40px;
        height: 40px;
        transition: 0.3s ease-in;
        border-radius: 15px;
    }
    .imgs-container img:hover {
        cursor: pointer;
        transform: scale(1.1);
        border-radius: 0px;
    }
}

@media (max-width: 1023px) {
    body {
        background-color: grey;
    }

    .barra {
        opacity: 0;

    }

    #logo {
        text-align: center;
        justify-content: center;
        height: 50px;
        width: 50px;
    }
    .logo-wr {
        margin-top: 20px;
        text-align: center;
        justify-content: center;
        gap: 15px;

    }
    .princinfo {
        justify-content: safe;
        padding: 20px;
    }

    .p h1 {
        font-family: "Parkinsans", sans-serif;
        font-size: 25px;
    }
    br {
        display: none;
    }
    .p p {
        font-family: "Montserrat", sans-serif;
        font-size: 18px;
        line-height: 1;
    }
    .imgs-container img {
        height: 50px;
        width: 50px;
    }
    .imgs-container {
        display: flex;
        gap: 20px;
        margin-top: 120px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
}