@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

*{
    padding: auto;
    margin: auto;
    font-family: 'Montserrat', sans-serif;
}

body{
    background-color: beige;
}

header{
    position: relative;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.3);
    width: 95%;
    height: 50px;
    margin-left: 3px;
    margin-right: 3px;
    margin-bottom: 40px;
    border-radius: 6px;
    display: flex;
    justify-content: flex-start;
}

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:30%;
    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;
    font-weight: bolder;
    font-size: 20px;
    margin-right: 10px;
    color: white;
    font-weight: bolder;
    font-size: 25px;
    color: white;
}

header #main ul li a:hover, header #botones ul li a:hover{
    text-decoration-line: underline;
    text-decoration-thickness: 3px;
}

#Paloma{
    height: 600px;
    width: 325px;
    position: absolute;
    top: 18%;
    left: 5%;
    text-align: center;
    vertical-align: middle;
    color: black;
    background-color: rgba(0, 0, 0, 0);
}

#Paloma img{
    position: absolute;
    top: 10px;
    left: 0;
    border-radius: 50%;
    width: 100%;
    height: 325px;
}

#Paloma h1{
    position: absolute;
    top: 350px;
    right: 36%;
    font-size: 20px;
}

#Paloma p{
    position: absolute;
    top: 380px;
    left: 15px;
    font-size: 12px;
    font-weight: 600;
}

#Fernando{
    height: 600px;
    width: 325px;
    position: absolute;
    top: 18%;
    left:38%;
    text-align: center;
    vertical-align: middle;
    color: black;
    background-color: rgba(0, 0, 0, 0);
}

#Fernando img{
    position: absolute;
    top: 10px;
    left: 0;
    border-radius: 50%;
    width: 100%;
    height: 325px;
}

#Fernando h1{
    position: absolute;
    top: 350px;
    right: 34%;
    font-size: 20px;
}

#Fernando p{
    position: absolute;
    top: 380px;
    left: 15px;
    font-size: 12px;
    font-weight: 600;
}

#Joana{
    height: 500px;
    width: 325px;
    position: absolute;
    top: 18%;
    right: 5%;
    text-align: center;
    vertical-align: middle;
    color: black;
    background-color: rgba(0, 0, 0, 0);
}

#Joana img{
    position: absolute;
    top: 10px;
    left: 0;
    border-radius: 50%;
    width: 100%;
    height: 325px;
}

#Joana h1{
    position: absolute;
    top: 350px;
    right: 30%;
    font-size: 20px;
}

#Joana p{
    position: absolute;
    top: 380px;
    left: 15px;
    font-size: 12px;
    font-weight: 600;
}

@media only screen and (max-width: 768px) {
    header{
        height: 15px;
    }

    header #logo{
        font-size: 12px;
        position: absolute;
        left: 0;
        bottom: 0;
    }

    header #logo img{
        width: 40px;
        height: 40px;
    }

    header #main{
        position: absolute;
        left:6%;
        top: 25px;
    }

    header #main ul li a{
        font-size: 10px;
    }

    header #botones{
        position: absolute;
        right: 13%;
        top: 22px;
    }

    header #botones ul li a{
        font-size: 14px;
    }

    #Paloma{
        position: absolute;
        top: 20%;
        width: 90%;
    }

    #Fernando{
        position: absolute;
        top: 120%;
        left: 5%;
        width: 90%;
    }

    #Joana{
        position: absolute;
        top: 220%;
        left: 5%;
        width: 90%;
    }

    #Paloma h1, #Fernando h1, #Joana h1{
        position: absolute;
        width: 200px;
    } 

    #Paloma h1, #Fernando h1{
        left: 21%;
    }

    #Joana h1{
        left:22%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1200px) {
    #Paloma, #Fernando, #Joana{
        width: 250px;
    }

    #Paloma img, #Fernando img, #Joana img{
        height: 250px;
    }

    #Paloma h1, #Fernando h1, #Joana h1{
        font-size: 18px;
    }

    #Paloma p, #Fernando p, #Joana p{
        font-size: 10px;
    }

} 