@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --navy: #0D2C54;
    --orange: #FF6B35;
    --lightgrey: #F8F9FA;
    --teal: #00BFA5;
}

/* fonts:
Montserrat for headers
Work Sans for body 
*/

/* colors
navy: #0D2C54
orange: #FF6B35
light grey: #F8F9FA
teal: #00BFA5 
*/
html, body {
  height: 100%;
}
body {
    margin: 0;
    font-family: "work sans", arial;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
}
.os {
    color: var(--orange)
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', verdana;
}
main {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 80px;
}
header {
    background-color: #F8F9FA;
}
#logo {
    height: 100px;
    justify-self: start;
    align-self: center;
    margin-left: 5%;
}
#ham-menu {
    cursor: pointer;
    background-color: transparent;
    border: none;
    height: 40px;
    position: absolute;
    right: 40px;
    top: 35px;
}
#bar1, #bar2, #bar3 {
    width: 30px;
    height: 4px;
    background-color: black;
    margin: 5px 0;
    transition: 0.4s;
}
.change #bar1 {
    transform: translate(0, 9px) rotate(-45deg);
}
.change #bar2 {
    opacity: 0;
}
.change #bar3 {
    transform: translate(0, -9px) rotate(45deg);
}
nav a {
    color: black;
    text-decoration: none;
    margin: 20px;
    text-align: center;  
    width: fit-content;
    padding: 20px;
    font-size: 1.5em;
}
nav a:hover{
    color: #FF6B35;
}
nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#profile {
    display: none;
}
footer {
    background-color: #FF6B35;
    margin: 0;
    text-align: center;
    padding: 5px 0 15px;
}
footer a {
    text-decoration: none;
}
.hide {
    display: none;
}
footer p, a {
    margin: 15px 10px;
}


@media screen and (min-width: 1200px){
    #ham-menu {
        display: none;
    }
    #logo {
        display: block;
    }
    #nav-bar {
        width: 100%;
        display: inline;
        margin: 0 auto;
        text-align: center;
    }
    #nav-bar a {
        margin: 0 8%;
        font-size: 1.5em;
    }
    header{
        display: flex;
        align-items: center;
    }
    #profile {
        display: flex;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        border: 1px black solid;
        margin-right: 5%;
        overflow: hidden;
        flex-shrink: 0;
        justify-content: center;
        align-items: center;
    }
    #profile img {
        padding-top: 10px;
        object-fit: cover;
        height: 160%;
        width: 160%;
    }
}