* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #1f2235;
    color: white;
    font-family: Optima, sans-serif;
}

*::selection{
    background-color: brown;
}

html, body{
    overflow-x: hidden;
}

@media only screen and (min-width: 750px) {
    header {
        display: flex;
    }

}

@media only screen and (max-width: 750px) {

    footer #ft{
        display: grid;
    }

    footer h1{
        text-align: center;
    }

    footer #resum2{
        display: none;
    }

    footer .link{
        margin: 20px;
    }

    footer ul li{
        text-align: center;
        width: 100px;
    }

    footer ul li h6{
        font-size: small;
    }
    
    footer ul li a{
        text-decoration: none;
        font-size: xx-small;
    }
}

@media only screen and (max-width: 463px) {
    header li {
        display: grid;
    }

    header .seletion #seleted {
        margin-top: 22px;
    }

    header .flag {
        display: none;
    }

}

@media only screen and (max-width: 402px) {

    header a,
    header p {
        font-size: 12px;
    }
    
    footer h1{
        text-align: center;
    }

    footer p#resum2{
        text-align: justify;
        font-size: xx-small;
    }

    
}

body {
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 6px;
}

header h1 a {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 22px;
    color: #ff4a57;
}

header h1 a:hover,
header h1 a:focus {
    transition: 1.5s;
    font-size: 24px;
}

header nav ul {
    display: flex;
    list-style: none;
    padding: 12px;
}

header nav {
    display: flex;
}

header a {
    padding: 10px;
    color: white;
    text-decoration: none;
    transition: 1s;
}

header ul a:hover,
header ul a:focus {
    color: #FF4A57;
    border-bottom: solid 2px #FF4A57;
}

header .flag {
    width: 23px;
    float: left;
}

header ul button {
    font-size: 15px;
    border-radius: 10%;
    display: flex;
}

header .seletion {
    margin-left: 5px;
}

header .seletion p {
    margin: 1px 5px;
    float: right;
}


#seleted {
    margin-top: 10px;
}

header .seletion #options {
    visibility: hidden;
    transition: 0.5s;
}

#ft, #resum-footer, #lin, footer h1, footer h6, footer a, footer ul li, footer p,footer ul, footer{
    background-color: rgb(17, 15, 15);
}

#ft{
    margin-top: 130px;
    display: flex;
    padding: 50px;
    justify-content: space-around;
}

footer #resum-footer h1{
    color: #ff4a57;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 22px;
}

#resum-footer{
    width: 400px;
}

#resum2{
    font-size: small;
}

.link{
    margin: 0 20px;
}

footer ul li{
    list-style: none;
}

footer h6{
    font-size: medium;
}

footer a{
    text-decoration: none;
    font-size: small;
}

footer #lin{
    display: flex;
}

footer #credits{
    font-size: x-small;
    text-align: center;
    padding: 20px 0 0;
}