@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

body{
    max-width: 100vw;
    font-family: 'Open Sans', sans-serif;
    background-color: hsl(218, 28%, 13%);
    color: white;
    margin: 0;
    padding: 0;
}

h1, h2, h3{
    font-weight: 700;
}
.logo h1{
    display: inline-block;
}

.fa-layer-group{
    color: white;
    font-size: larger;
}
nav{
    display: flex;
    justify-content: space-between;
}

nav ul{
    width: 20%;
    display: flex;
    justify-content: space-around;
}

li{
    list-style-type: none;
}

main{
    display: flex;
    width: 100vw;
    justify-content: center;
    text-align: center;
}

.files{
    background-color: hsl(217, 28%, 15%);
    padding: 20px 10px;
}

.files img{
    width: 40%;
}

.files button{
    background-color: rgb(25, 147, 196);
    color: white;
    width: 12em;
    padding: 0.5em 1.5em;
    border-radius: 20px;
    border: solid 1px rgb(25, 147, 196);
}

.rows{
    margin: 10% auto;
}

.rows img{
    height: 80px;
}

.flex1, .flex2{
    display: flex;
    justify-content: space-around;
}

.flex2{
    margin-top: 5%;
}

.flex{
    width: 30%;
}

.two-flex img{
    width: 45%;
    height: 10%;
}

.two-flex a{
    color: turquoise;
}

.two-flex{
    text-align: left;
    margin: 5% 10%;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
}

.two-flex div{
    margin-left: 25px;
}

.quotes{
    text-align: left;
    margin-top: 10%;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 3%;
}

.quotes img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.quotes-comments{
    display: flex;
    justify-content: space-around;
    position: relative;
    bottom: 20px;
}

.quote{
    width: 30%;
    padding: 10px 10px;
    text-align: left;
    background-color: hsl(219, 30%, 18%);  
    box-sizing: border-box; 
}

.profile{
    display: flex;
    text-align: left;
}

.float{
    width: 60%;
    position: relative;
    top: 80px;
    padding: 20px 10px;
    background-color: hsl(219, 30%, 18%);
    margin: auto;
}

.float input{
    width: 50%;
    box-sizing: border-box;
    padding: 10px 5px;
    border-radius: 20px;
}

.float button{
    background-color: rgb(25, 147, 196);
    color: white;
    width: 12em;
    padding: 0.8em 1.5em;
    border-radius: 20px;
    border: solid 1px rgb(25, 147, 196);
    box-sizing: border-box;
    margin-left: 10px;
}

form{
    margin-bottom: 1%;
}

.footer-flex{
    display: flex;
    justify-content: space-around;
}

.para{
    width: 30%;
    display: flex;
    justify-content: space-around;
}
.paras{
    display: flex;
}

.fab{
    border: solid 1px white;
    padding: 5px;
    border-radius: 50%;
    margin-right: 3px;
}

.shift{
    margin-left: 10px;
}

footer{
    padding-top: 70px;
    background-color: hsl(217, 42%, 11%);
    padding-left: 50px;
    padding-right: 15px;
}

nav a, footer a{
    text-decoration: none;
    color: white;
}

@media only screen and (max-width: 850px) {
    main, footer, nav{
        flex-wrap: wrap;
    }

    nav ul{
        width: 40%;
    }
}

@media only screen and (max-width: 600px){
nav ul{
    width: 60%;
}

    .flex1, .flex2, .two-flex, .quotes-comments{
        flex-direction: column;
        align-items: center;
    }

    .flex{
        width: 70%;
    }

    .quote{
        width: 70%;
        padding: 20px 15px;
        margin-bottom: 20px;
        border-radius: 5px;
    }

    .quotes-img{
        position: relative;
        left: 35px;
        bottom: 8px;
    }

    .float{
        width: 80%;
    }

    .br{
        display: none;
    }

    .float button, .float input{
        margin-top: 10px;
        width: 80%;
    }

    .footer-flex{
        flex-direction: column;
    }

    .para{
        width: 70%;
    }

    .fab{
        align-self: center;
    }
}