*{
    margin: 0px;
    padding: 0px;
    /**box-sizing: border-box;**/
    font-family: 'Poppins', sans-serif;
    background-color: rgb(174, 224, 244);
}

.intro {
    text-align: center;
    padding: 5%;
}

.about {
    text-align: center;
    padding: 10px;
}

.contact {
    text-align: center;
    padding: 10px;
}

.demo {
    width: 100vw;
    text-align: center;
    padding-top: 10%;
    margin-left: auto;
    margin-right: auto;
}

.frontimage {
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-image: url('background.webp');
}

.sociallinks {
    text-align: center;
    margin-bottom: 20px;
}

.fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    border-radius: 20%;
    margin: 5px 20px;
}

.fa-reddit {
    background: rgb(238, 75, 0);
    color: white;
}

.fa-twitter {
    background: rgb(78, 155, 244);
    color: white;
}

.fa-youtube-play {
    background: red;
    color: white;
}

.fa:hover {
    opacity: 0.7;
}

nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 10vh;
    background-color: rgb(37, 37, 121);
}

.logo{
    color: rgb(228, 228, 228);
    font-size: 36px;
    background-color: rgb(37, 37, 121);
}

.nav-links{
    display: flex;
    justify-content: space-around;
    width: 30%;
    background-color: rgb(37, 37, 121);
}

.nav-links li{
    list-style: none;
    background-color: rgb(37, 37, 121);
}

.nav-links button{
    background-color:rgb(37, 37, 121);
    border: 0px solid white;
    color: white;
    font-weight: bold;
    padding: 15px 40px;
    text-align: center;
    font-size: 20px;
}

.nav-links button:hover{
    background-color:rgb(77, 77, 161);
    padding: 9px 36px;
    font-size: 23px;
    border-color: rgb(255, 255, 255);
    border-bottom: 6px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.burger div{
    width: 25px;
    height: 3px;
    background-color: rgb(226, 226, 226);
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width:1024px) {
    .nav-links{
        width: 60%;
    }
}

@media screen and (max-width:768px) {
    body{
        overflow-x: hidden;
    }
    .nav-links{
        position: fixed;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: rgb(37, 37, 121);
        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;
        background-color: rgb(37, 37, 121);
    }
}

.nav-active {
    transform: translateX(0%);
}

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

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px,6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px,-6px);
}
