/* ---------------- TopBar -------------------*/
        
@import url("https://use.typekit.net/vua8wzz.css");
:root{
    --dark-blue: #073560;
    --light-green:#C2F1C7;
    --light-blue:#A4DBE7;
    --yellow-button:#FFD02F;
    --red-button:#680C38;
    --page-background:#F1F9F1;
    --navbar-buttons:#DBFADE;
    --grey-color: #A7A7A7;

}
*{
    margin: 0;
    text-decoration: none;
    text-decoration: none;
   font-family: "century-gothic", sans-serif;

}
a{
    all: unset;
}
.topbar-wrapper{
    position: static;
    top: 0; 
}
.topbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--dark-blue);
    padding: 1em 0;
    width: 100%;

    height: 3.5em;
}
.searchbar{
    background-color: white;
    height: 2.7em;
    width: 38em;
    margin: 0 1em;
    border-radius: .9em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4em;
}
.logo-nav{
    width: 16.2em;
    height: auto;
    margin-left: 2em;
}
.profilepic {
    width: 67px;
    height: auto;
    margin-right: 1em;
}
.profile-name{
    display: flex;
    align-items: center;
}
.profile-name-text{
    text-align: right;
    padding-right: 1.2em;
}
.name{
    color: white;
    font-weight: 700;
    font-size: 1.3em;
}
.handle{
    padding-top: .5em;
    color: white;
    font-style: italic;
    font-size: 1em;
}
.search{
    font-style: italic;
    color: var(--grey-color);
    padding-left: 1em;
    font-size: 1.2em;

}
.searchbar img{
    padding-right: .8em;
    width: 1.8em;
    height: auto;
}
@media screen and (max-width: 1178px){
    .profile-name-text{
    display: none;
    }
}

@media screen and (max-width: 1060px){
    .searchbar{
        width: 25em;
    }
    }
    @media screen and (max-width: 800px){
    .searchbar{
        width: 18em;
    }
}
@media screen and (max-width: 580px){
    .searchbar{
        width: 4em;
        margin: 0 2em;
        padding: .4em;
        background-color:#073560;
        justify-content: center;
    }
    .searchbar p{
        display: none;
    }
    .searchbar img{
        background-color: white;
        padding: .8em;
        border-radius: .9em;
    }
}

