* {
    margin: 0;
    padding: 0;
    font-family: serif;
    border-radius: 0;
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
}

.logo {
    width: 150px;
    height: 35px;
    margin-top: -5px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-height: 8vh;
    background-color: rgba(0, 0, 0, 0.8);
} 

.ham {
    display: none;
    cursor: pointer;
    border: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
}

.ham span {
    display: block;
    background-color: black;
    height: 3px;
    width: 28px;
    margin: 10px auto;
    border-radius: 2px;
}

.enlaces-menu {
    display: flex;
    padding: 0;

}

.enlaces-menu li{
    padding: 20px 25px 10px 25px;
    list-style: none;
    transition: 0.6s;
}

.enlaces-menu li a{
    text-decoration: none;
    font-size: 1rem;
    color: whitesmoke;
    font-family: 'Roboto Mono', monospace;
}

.enlaces-menu li:hover {
    text-decoration: underline whitesmoke;
    text-decoration-thickness: 2.5px;
    
}

/*---------------------- MENU RESPONSIVE ---------------------*/

@media (max-width: 768px){

    .ham {
        display: block;
        position: absolute;
        top: 10px;
        right: 25px;
        filter: invert(100%);
    }

    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 7px 0;
    }

    .enlaces-menu {
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        height: 92hv;
        margin: 0;
        padding: 0;
        width: 100%;
        display: none;
        opacity: 0;
    }

    .enlaces-menu li {
        width: 100%;
        text-align: center;
        padding: 20px;
    }
}

@keyframes muestraMenu {
    from{opacity:0;}
    to{opacity:1;}
}

.enlaces-menu.activado {
    display: flex;
    animation: muestraMenu 350ms ease-in-out both;
}

/*---------------------- BODY ---------------------*/

#parteuno {
    padding: 30px 110px 0 110px;
    background-image: url("../media/mancha1.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 10% 20%;
}

#parteuno p{
    font-family: 'Roboto Mono', monospace;
    text-align: justify;
}

#parteuno h2{
    font-family: 'Roboto Mono', monospace;
    font-size: 1.4em;
}

#coluno img{
    width: 260px;
    height: auto;
    border-radius: 15px;
}

#colcinco p{
    text-align: justify;
}

#coldos h1{
    font-family: 'Bitter', serif;
    color: white;
    background-color: black;
    font-size: 3em;
    width: 100%;
    border-radius: 15px;
    padding: 20px;
}

#partedos {
    padding: 30px 110px 30px 110px;
}

#titulodos{
    font-family: 'Bitter', serif;
    font-size: 2em;
}

#partedos p{
    font-family: 'Roboto Mono', monospace;
    text-align: justify;
}

#titulotres{
    font-family: 'Bitter', serif;
    font-size: 5em;
}

#partetres {
    padding: 30px 110px 0 110px;
    background-image: url("../media/mancha1.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 90% 20%;
}

#partetres p{
    font-family: 'Roboto Mono', monospace;
    text-align: justify;
}

#partetres h2{
    font-family: 'Roboto Mono', monospace;
    font-size: 1.4em;
}

/*---------------------- galeria ---------------------*/

.container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 15px;
}

.gallery img{
    width: 100%;
    border-radius: 15px;
}

@media (max-width: 768px){
    #parteuno {
        padding: 30px;
    }

    #coldos h1{
        margin-top: 10px;
    }
    #partetres {
        padding: 30px;
        background-position: bottom;
    }
    #partedos {
        padding: 30px;
    }
    .gallery{
        display: grid;
        grid-template-columns: repeat(2, 200px);
        grid-gap: 15px;
    }
}