* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', sans-serif;
    scroll-behavior: smooth;
}

body{
    position: relative;
    min-width: 320px;
}

.header {
    background-color: black;
    width: 100%;
    height: 500px;
    padding-top: 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}


.header__background-image{
    position: absolute;
    max-width: 100%;
    min-width: 900px;
    top: 0;
    opacity: 0.5;
    z-index: -1;
    min-height: 500px;
}

.header__title,
.header__subtitle{
    text-shadow: 0 0 2px black, 0 0 2px black;
}

.header__title,
.header__subtitle,
.header__action{
    color: white;
    padding-bottom: 5rem;
    margin: 0 1rem;
}

.header__title {
    width: 70%;
}

.header__subtitle{
    font-size: 1.1rem;
    line-height: 2rem;
}

.header__action{
    border-radius: 5px;
    background-color: black;
    border: 1px solid white;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    cursor: pointer;
}

.header__action:active{
    background-color: white;
    border-color: black;
    color: black;
}

.navbar{
    position: absolute;
    top: 10px;
    width: 100%;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.navbar__item {
    font-size: 1rem;
    color: white;
    padding-bottom: 1rem;
}

.navigation__link{
    color: white;
    padding-right: 30px;
    text-decoration: none;
    display: none;
}

.navigation__link:hover{
    text-decoration: underline;
}

.sm-links{
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    align-self: flex-end;
}

.oclock-link {
    text-decoration: underline;
    font-weight: bold;
    color: black;
}

.oclock-link:hover {
    text-decoration: none;
}


/* nav bar */
.navbar__item > .fab {
    font-size: 2rem;
    color: white;
}

.navigation{
    width: 1.75rem;
    height: 1.75rem;
    align-self: flex-end;
    position: relative;
}

.navigation__burger {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding: 3px 0;
}

.burger-line {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;

}

.burger-menu-open > .navigation {
    display: block;
    position: absolute;
    right: 0;
    top:-10px;
    width: 100%;
    height: 60vh;
    background-color: rgb(36, 36, 36);
    text-align: right;
    padding-top: 2rem;
}

.burger-menu-open > .navigation > .navigation__link {
    padding: 1rem 1rem;
    display: block;
}

.burger-menu-open > .navigation > .navigation__burger {
    width: 1.75rem;
    height: 1.75rem;
    margin: 1rem 1rem;
    justify-content: center;
    align-items: center;

}

.burger-menu-open > .navigation > .navigation__burger > .line2{
    display: none;
}

.burger-menu-open > .navigation > .navigation__burger > .line1{
    position: absolute;
    transform: rotateZ(45deg);
}

.burger-menu-open > .navigation > .navigation__burger > .line3{
    position: absolute;
    transform: rotateZ(-45deg);
}

/* container */

.carousel-container{
    width: 100%;
    height: 200px;
    /* border: 1px solid black; */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: top;
}


.pagination{
    display: flex;
    justify-content: center;
} 

 .pagination-btn{
    background-color: black;
    color: white;
    font-weight: bold;
    font-size: 3rem;
    line-height: 3rem;

    padding: 0 2rem;
    margin: 0 2px;
    text-decoration: none;
    border: 1px solid black;

    transition: all 0.2s ease-in-out;
}

.pagination-btn:hover{
    background-color: white;
    color: black;
    cursor: pointer;
}

.left:active {
    transition: all 0.1s ease-in-out;
    transform: translateX(-10px);
}
.right:active {
    transition: all 0.1s ease-in-out;
    transform: translateX(10px);
} 

/* .inline-fab {
    font-size: 5rem;
} */

.main__resume > .inline-fab{
    font-size: 1.2rem;
}



/* main */
.main {
    margin: auto 5%;
    max-width: 900px;
}

.main__section{
    padding-bottom: 2rem;
}


.main__header {
    text-align: center;
    padding: 3rem 0 2rem;
    font-size: 3rem;
}

.main__resume,
.resume__list{
    line-height: 2rem;
}

.resume__list{
    padding-left: 2rem;
}

.list-button {
    width: 4rem;
}

.list {
    margin-left: 3rem;
}


.back-to-top__icon{
    position: fixed;
    color: darkgray;
    font-size: 4rem;
    right: 20px;
    bottom: 20px;

}

.footer {
    background-color: black;
    color: white;
    width: 100%;
    text-align: center;
}

.footer {
    padding: 0.8rem;
}

.fa-heart{
    font-size: 1.1rem;
}

.footer__authors-attributes{
    font-size: x-small;
}

.footer__link {
    color: white;
}

#done-projects__list{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#doing-projects__list{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.doing-projects__list-item{
    width: auto;
}

.back-to-top{
    opacity: 100%;
    transition: opacity 0.3s ease-in-out;
}

.hidden{
    opacity: 0;
}



/*
MEDIA QUERIES

*/

@media (min-width:350px){
    .header {
        padding-top: 5rem;
    }

    .header__title{
        width: 80%;
    }
}

@media (min-width:500px){

    .navbar{
        flex-direction: row;
        padding-top: 1rem;
    }

    .navigation{
        visibility: visible;
        font-size: 0.9rem;
        align-self: flex-start;
        width: 100%;
    }

    .navigation__link{
        display: inline;
        padding-right: 0.5rem;
    }

    .navigation__burger {
        display: none;
    }

    .sm-links{
        padding-top: 0;
    }

}

@media (min-width:768px){
    .header__title{
        font-size: 2rem;
        letter-spacing: 2px;
        /* margin-top: 4rem; */
    }

    .header__subtitle{
        width: 70%;
        font-size: 1.3rem;
        line-height: 2.5rem;
        letter-spacing: 2px;
        padding-bottom: 2rem;
    }

    /* nav bar */
    .navbar__item > .fab {
        font-size: 2rem;
        color: white;
        padding: 0 1.5rem;
    }

    .sm-links{
        flex-direction: row;
    }

    /* main */
    .main {
        margin: 0 auto;
        padding: 0 5%;
    }

    #done-projects__list{
        justify-content: space-between;
    }
    
}

@media (min-width:1024px){
    .header__title{
        font-size: 3rem;
        letter-spacing: 6px;
    }

    .navigation__link{
        padding-right: 50px;
        font-size: 1rem;
    }

    .navbar{
        padding: 0 5%;
    }

    .header__title,
    .header__subtitle,
    .header__action{
        margin: 0 5%;
    }


}
