@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

*{
    padding: auto;
    margin: auto;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

body{
    background-color: beige;
}

header{
    position: relative;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.3);
    width: 99%;
    height: 85px;
    margin-left: 3px;
    margin-right: 3px;
    margin-bottom: 20px;
    border-radius: 6px;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 50px;
}

header #logo{
    position: absolute;
    top: 5px;
    left: 1%;
    text-decoration: none;
    font-size: 20px;
    font-weight: bolder;
    display: inline-block;
    color: white; 
}

header #logo img{
    width: 80px;
    height: 80px;
    border-radius: 3px;
    vertical-align: middle;
}

header #logo:hover{
    opacity: 0.5;
}

header #main{
    position: absolute;
    left:32%;
    top: 35.5px;
    display: inline-block;
    text-align: right;
    vertical-align: middle;
}

header #main ul{
    list-style: none;
    display: flex;
}

header #main ul li{
    display: inline-block;
    display: flex;
}

header #main ul li a{
    text-decoration: solid;
    display: inline-block;
    display: flex;
    font-weight: bolder;
    font-size: 20px;
    margin-right: 15px;
    color: white;
}

header #botones{
    position: absolute;
    right:5%;
    top: 29px;
    display: inline-block;
    text-align: right;
    vertical-align: middle;
}

header #botones ul{
    list-style: none;
    display: flex;
}

header #botones ul li{
    display: inline-block;
    display: flex;
}

header #botones ul li a{
    text-decoration: none;
    display: inline-block;
    display: flex;
    margin-right: 10px;
    color: white;
    font-weight: bolder;
    font-size: 25px;
}

header #main ul li a:hover, header ,#botones ul li a:hover{
    text-decoration-line: underline;
    text-decoration-thickness: 3px;
}

.gallery{
    border: 1px solid #ccc;
}

.gallery img{
    width: 100%;
    height: auto;
}

.des{
    padding: 15px;
    text-align: center;
}

.responsive{
    padding: 0 6px;
    float: left;
    width: 25%;
    margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
    header{
        height: 50px;
    }


    header #logo{
        font-size: 12px;
        position: absolute;
        left: 0;
        bottom: 5px;
    }

    header #logo img{
        width: 40px;
        height: 40px;
    }

    header #main{
        position: absolute;
        left:5%;
        top: 25px;
    }

    header #main ul li a{
        font-size: 9px;
    }

    header #botones{
        position: absolute;
        right: 2%;
        top: 22px;
    }

    header #botones ul li a{
        font-size: 14px;
    }


    .responsive{
        width: 100%;
    }
}