* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #444;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #666;
    color: white;
}

.logo {
    margin: .5rem;
    font-family: 'Encode Sans', sans-serif;

}

.logo a {
    color: black;
    text-decoration: none;
}

.logo a:hover {
    color: whitesmoke;
}

.logo2 {
    margin: .5rem;
    font-family: 'Encode Sans', sans-serif;
    font-size: 19px;

}

.logo2 a {
    color: black;
    text-decoration: none;
}

.logo2 a:hover {
    color: whitesmoke;
}

.navbar-links ul {
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar-links li {
    list-style: none;
}

.navbar-links li a {
    text-decoration: none;
    padding: 1rem;
    color: black;
    display: block;
    font-family: 'Encode Sans', sans-serif;
}

.navbar-links a:hover {
    color: whitesmoke;
}

.toggle-button {
    position: absolute;
    top: .45rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.toggle-button .bar {
    height: 3px;
    width: 100%;
    background-color: black;
    border-radius: 20%;
}


.photo {
    display: flex;
    justify-content: center;
    position: relative;
    top: 1.5rem;
}

.photo img  {
    width: 200px;
    height: 200px;
    border: 3px solid black;
    border-radius: 50%;

}

.front-text {
    font-family: 'Encode Sans', sans-serif;
    font-size: 25px;
    text-align: center;
    position: relative;
    
}

.info {
    font-family: 'Encode Sans', sans-serif;
    font-size: 21px;
    font-weight: bold;
    top: 1.5rem;

}

.icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icons ul {
    margin: 0;
    padding: 0;
    display: flex;
}

.icons li {
    list-style: none;
}

.icons li a {
    text-decoration: none;
    padding: 3rem;
    display: block;
}


.icons img {
    width: 50px;
    height: 50px;
}

footer {
    width: 100%;
    height: 30px;
    position: absolute;
    bottom: 0;
    background-color: black;
    color: #999;
    text-align: center;
    font-size: x-small;
}


@media (max-width: 800px) {
    .toggle-button {
        display: flex;
    }

    .navbar-links {
        display: none;
        width: 100%;
        
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-links ul  {
        flex-direction: column;
        width: 100%;
    }

    .navbar-links li {
        text-align: center;
    }

    .navbar-links li a {
        padding: .5rem 1rem;
    }

    .navbar-links.active {
        display: flex;
    }


    .photo img  {
        
        width: 130px;
        height: 130px;
        border: 2px solid black;
        border-radius: 50%;
    }

    .icons li a {
        text-decoration: none;
        padding: 1rem;
        display: block;
    }

    footer {
        width: 100%;
        height: 30px;
        position: absolute;
        bottom: 0;
        background-color: black;
        color: #999;
        text-align: center;
        font-size: x-small;
    }
    
}

@media (min-height: 1100px) {

    .photo {
        display: flex;
        justify-content: center;
        position: relative;
        top: 1.5rem;
    }
    
    .photo img  {
        width: 230px;
        height: 230px;
        border: 3px solid black;
        border-radius: 50%;
    
    }
    
    .front-text {
        position: relative;
        top: 3rem;
        font-family: 'Libre Barcode 128 Text', cursive;
        font-size: 30px;
        text-align: center;
        position: relative;
        
    }
    
    .info {
        position: relative;
        top: 1.5rem;
        font-family: 'Encode Sans', sans-serif;
        font-size: 23px;
    
    }
    
    .icons {
        position: relative;
        top: 5rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .icons li a {
        text-decoration: none;
        padding: 4rem;
        display: block;
    }
    
    
    .icons img {
        width: 60px;
        height: 60px;
    }

    footer {
        width: 100%;
        height: 35px;
        position: absolute;
        bottom: 0;
        background-color: black;
        color: #999;
        text-align: center;
        font-size: small;
    }

    .logo {
        font-size: larger;
    }

    .navbar-links li a {
        font-size: larger;
    }

}