* {
    margin: 0;
    padding: 0;
}
body {
    min-height: 100vh;
    background-image: linear-gradient(rgba(209, 209, 209, 0.722), rgba(158, 156, 156, 0.929)), url(img/bangladesh2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

::selection {
    color: white;
    background-color: hsl(0, 0%, 0%);
}
nav {
    background-color: rgba(255, 250, 241, .8);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}


nav ul {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li {
    height: 50px;
}

nav a {
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: black;
}



nav a:hover, 
nav a.active {
    color: white;
    background-color: hsla(0, 0%, 57%, 0.959);
}
#nav-logo img{
    height: 3em;
    border-radius: 50%;
}
#nav-logo:hover {
    filter: brightness(80%) !important;
    background-color: transparent !important;
}

nav li:first-child {
    margin-right: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
}
.sidebar a {
    width: 100%;
}

.menu-button{
    display: none;
}

@media(max-width: 800px) {
    .hideOnMobile {
        display: none;
    }
    .menu-button {
        display: block;
    }
}

@media(max-width: 400px) {
    .sidebar {
        width: 100%;
    }
}



/* HERO */
.hero {
    width: 100%;
    height: 100vh;
}

.hero-img {
    filter: brightness(80%);
    float: left;
    margin-top: 5rem;
    margin-right: 2rem;
    width: 19rem;
    height: auto;
    margin-left: 10rem;
    border-radius: 50%;
}

.hero-container {
    float: left;
    text-align: left;
    margin-top: 5rem;
    width: 40%;
    font-size: 30px;
    color: rgb(0, 0, 0);
}

.hero-container p {
    display: inline;
    font-size: 3rem;
    color: rgb(0, 0, 0);
}

#description {
    font-size: 14px;
    color: rgb(0, 0, 0);
    padding: 1px;
    margin-top: 15px;
}


aside {
    float: right;
    margin-right: 1rem;
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
    z-index: 999;

}

aside a {
    margin-bottom: 10px;
}

.fb {
    font-size: 30px;
    color: rgb(0, 0, 0);
    transition: all .16s ease-in 0s;
}
.fb:hover {
    color: #316FF6;
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
}

.twitter {
    font-size: 30px;
    color: rgb(0, 0, 0);
    transition: all .16s ease-in 0s;
}
.twitter:hover {
    color: white;
    background-color: black;
    border-radius: 20%;
}

.linked-in {
    font-size: 30px;
    color: rgb(0, 0, 0);
    transition: all .16s ease-in 0s;
}
.linked-in:hover {
    color: #0077B5;
}

.email{
    font-size: 30px;
    color: rgb(0, 0, 0);
    transition: all .16s ease-in 0s;
}
.email:hover {
    color: #fd242bbf;
}

.github {
    font-size: 30px;
    color: rgb(0, 0, 0);
    transition: all .16s ease-in 0s;
}
.github:hover {
    color:  #ffffff;
    border-radius: 50%;
    background-color: black;
}



@media(max-width: 920px) {
    .hero-img {
        width: 100vw;
        margin-left: 0;
        margin-top: 0;
        float: left;
        border-radius: 0;
    }
    .hero-container {
        width: 80vw;
        margin-left: 1rem;
    }
    aside {
        display: flex;
        flex-wrap: wrap;
    }
}

@media(max-width: 400px) {
    .hero-img {
        width: 100vw;
        margin-left: 0;
        margin-top: 0;
        float: left;
        border-radius: 0;
    }
    .hero-container {
        width: 80vw;
        margin-left: 1rem;
    }
    aside {
        display: flex;
        flex-direction: row;
    }
    aside a {
        margin-right: 10px;
    }
}



/* FOOTER */
footer{
    background-color: hsl(0, 0%, 11%);
    padding: 30px;
}

.foot-logo {
    text-decoration: none;
    font-family:monospace;
    color: rgb(0, 255, 0);
    font-size: 28px;
}

.foot-logo:hover {
    color: rgba(0, 255, 0, 0.811);
}