:root{
    --dark: #374151;
    --light: #EEE;
}

#firstcontainer, #homepagenavbar{
    font-family: 'Raleway', sans-serif;
}

#homepagenavbar{
    background-color: var(--dark);
    color: var(--light);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

#homepagenavbar{
    font-size: 100%;
}

#homepagenavbar img{
    width:  160px;
    padding-top: 15px;
}


#firstcontainer{
    background-color: var(--dark);
    color: var(--light);
    display: flex;
    justify-content: space-around;
    text-align: center;
    align-items: center;
    padding: 40px 0;
    padding-bottom: 80px;
}

#firstcontainer h1{
    font-size: 65px;
}

#firstcontainer h2{
    font-size: 40px;
    color: orange;
}
.orange{
    background-image: linear-gradient(to right, #f8ae23, #ec4c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-size: 150%;
    animation: animatedText 1.5s infinite alternate-reverse;
}

@keyframes animatedText{
    0%{
        background-position: 0%
    }

    50%{
        background-position: 100%;
    }

    100%{
        background-position: 0;
    }
}


#firsttextcontainer{
    margin-left: 100px;
}

#secondcontainer h1{
    text-align: center;
    font-size: 40px;
    margin-top: 60px;
}

#secondcontainer{
    background-color: #f4f4f5;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    overflow: hidden;
}

#secondcontainer .subcontainer{
    margin-bottom: 40px;
    margin-top: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 30px;
}

#tasklist img{
    width: 45%;
    box-shadow:0px 15px 10px rgba(0,0,0,0.15);
}


.subcontainertext{
    width: 40%;
}

#secondcontainer img{
    border-radius: 7%;
}


#progression img{
    width: 45%;
    box-shadow:0px 15px 10px rgba(0,0,0,0.15);
}

#badges{
    display: flex;
    justify-content: space-around;
}
#badges img{
    width: 12%;
}

#goals{
    flex-direction: column;
    overflow: hidden;
}

#homepagenavbar a {
    text-decoration: none;
    color: rgb(219, 213, 213);
    transition: background 1s ease-in-out;
    width: 20%;
}

#homepagenavbar a:hover{
    background-image: linear-gradient(to right, #f8ae23, #ec4c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

/* .dimensiontext{
text-shadow: 0 1px 0 #ccc, 
               0 2px 0 #c9c9c9,
               0 3px 0 #bbb,
               0 4px 0 #b9b9b9,
               0 5px 0 #aaa,
               0 6px 1px rgba(0,0,0,.1),
               0 0 5px rgba(0,0,0,.1),
               0 1px 3px rgba(0,0,0,.3),
               0 3px 5px rgba(0,0,0,.2),
               0 5px 10px rgba(0,0,0,.25),
               0 10px 10px rgba(0,0,0,.2),
               0 20px 20px rgba(0,0,0,.15);
} */

@media(max-width: 1000px){

    #firsttextcontainer{
        margin-left: 0px;
    }
    #firstcontainer img{
        width: 350px;
    }
    #firstcontainer{
        flex-direction: column;
    }

    #homepagenavbar{
        font-size: 80%;
    }

    #firstcontainer h1{
        font-size: 50px;
    }

    #firstcontainer h2{
        font-size: 40px;
    }

    #secondcontainer h1{
        font-size: 35px;
    }

    #tasklist img, #progression img{
        width: 55%;
    }

    #secondcontainer .subcontainer{
        flex-direction: column;
        margin-top: 10px;
        font-size: 25px;
    }

    .subcontainertext{
        width: 80%;
    }

}





@media(max-width: 600px){

    #firstcontainer h1{
        font-size: 40px;
    }

    #firstcontainer h2{
        font-size: 30px;
    }

    #firstcontainer img{
        width: 350px;
    }

    #secondcontainer h1{
        font-size: 30px;
    }

    #secondcontainer .subcontainer{
        font-size: 20px;
    }

    .subcontainertext{
        width: 90%;
    }

    #tasklist img, #progression img{
        width: 80%;
    }
    
}


@media(max-width: 450px){
    #homepagenavbar{
        font-size: 70%;
    }
    
    #homepagenavbar img{
        width:  100px;
        padding-top: 15px;
    }

    #firstcontainer h1{
        font-size: 30px;
    }

    #firstcontainer{
        font-size: 20px;
    }

    #firstcontainer img{
        width: 250px;
    }

    #secondcontainer .subcontainer{
        font-size: 20px;
    }

    .subcontainertext{
        width: 90%;
    }

    #secondcontainer h1{
        font-size: 30px;
    }
    
}