*{

    margin: 0px;
    padding: 0px;
    box-sizing: border-box;

}

.degree-section{
    display: flex;
    align-items: center;
}

.degree-section span {
    margin: 10px;
    font-size: 30px;
}

.degree-section h2 {
    font-size: 40px;
    cursor: pointer;
}

.fb{
    border: 0;
    top: 0;
    overflow: hidden;
    display: flex;
    margin: 0;
    padding: 0;
    border: none;
    width: 100%;
    height: 100vh;
}

.bg{
   
    padding: 8px;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
    width: 800px;
    height: 800px;
}

nav{
    top: 0;
    position: sticky;
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    font-family: 'Poiret One', cursive;
    background-color: darkslategrey;
}
.logo{
    color: white;
    text-transform: uppercase; 
    letter-spacing: 5px;
    font-size: 20px;
}
.nav-links{
    display: flex;
    justify-content: space-around;
    color: white;
    font-size: 20px;
    width: 30pc;
}

.nav-links a{
    text-decoration: none;
    letter-spacing: 5px;
}

.nav-links a {
    color: white;
}

.nav-links li{
    list-style: none;
    cursor: pointer;
    text-decoration: none;
    color: white;
}

.burger{
    display: none;
    cursor: pointer;
}

.burger div{
    background-color: white;
    width: 25px;
    height: 3px;
    margin: 5px;
}

@media screen and (max-width:768px){
    body{
        overflow-x: hidden;
    }
    .nav-links{
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: darkslategrey;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }
.nav-links li{
    opacity: 0%;
}
.burger{
        display: block;
}
.nav-active{
    transform: translateX(0%);
}
    }

@keyframes navLinkFade{
    from{
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);

    }
}

