@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Overpass:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Overpass:wght@400;700&family=Raleway:wght@400;700&display=swap');

* {
    box-sizing: border-box;
    text-decoration: none;
}

body {
    font-family: 'Open sans', sans-serif;
}

nav {
    width: 100%;
    height: 60px;
    display: flex;
    position: relative;
    z-index: 1;
    margin-left: -7px;
    justify-content: space-between;
    background-color: #fff;
    position: fixed;
    top: 0;
}

.logo {
    font-size: 35px;
    color: #fff;
    position: relative;
    z-index: 1;
    font-weight: bold;
    padding: 10px 20px 0;
    line-height: 60px;
    text-transform: uppercase;
}

nav .nav-links {
    margin-right: 20px;
    margin-top: -5px;
}

nav li {
    display: inline-block;
    margin: 0 20px;
    line-height: 60px;
}

nav a {
    color: #000;
    font-size: 18px;
    font-family: 'Raleway', sans-serif;
}

nav a:hover {
    color: hsl(243, 87%, 12%);
}

nav #icon {
    color: #000;
    font-size: 30px;
    float: right;
    margin-right: 30px;
    line-height: 50px;
    display: none;
}

#greet {
    margin-top: 100px;
    margin-left: 35px;
    font-size: 40px;
}

.form-container {
    display: flex;
    justify-content: center;
}

.form-container form {
    width: 370px;
    height: 350px;
    padding: 18px;
    border-radius: 17px;
    background: linear-gradient(140deg,
            #ffffff,
            #808080);
}

.form-container form label {
    font-size: 18px;
    font-weight: bold;
}

.form-container form input {
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 2px;
}

.login {
    background-color: hsl(224, 93%, 58%);
    padding: 13px;
    color: black;
    border-radius: 10px;
}

@media screen and (max-width : 768px) {
    body {
        padding: 10px;
    }

    #head {
        text-align: center;
    }

    nav {
        display: flex;
        justify-content: space-between;
    }

    nav #icon {
        display: block;
    }

    nav .nav-links {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 60px;
        left: -100%;
        background-color: #fff;
        text-align: center;
        margin-left: -10px;
        transition: all .3s;
    }

    nav .nav-links.show {
        left: 0;
    }

    nav li {
        display: block;
        margin: 50px 0;
        line-height: 6;
    }
}