
/* Scrollbar */

#overflow::-webkit-scrollbar {
    height: 20px;
}

#overflow::-webkit-scrollbar-track {
    background-color: #FFFFFF;
    border: solid 1px rgba(69, 69, 69, 0.2);

    border-radius: 20px;
    margin-right: 12px;
    margin-left: 12px;

}

#overflow::-webkit-scrollbar-thumb {
    background-color: #F0F1F1;;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}


/*Navbar*/

h1{
    margin: 0;
    font-size: 32px;
    text-transform: uppercase;
    color: #454545;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    line-height: 39px;

}

h3{
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    /* identical to box height */

    text-transform: capitalize;

    color: #454545;
}


.header{
    background-color: #FFFFFF;

}


#top{
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    padding-bottom: 30px;
    padding-top: 30px;
}

#wrapper{
    height: 100%;
}

.dropbtn:hover .title{
    border-bottom: solid 2px rgba(69, 69, 69, 0.8);


}

.dropbtn:focus .title {
    border-bottom: solid 2px rgba(69, 69, 69, 0.8);
}


.dropdown {
    position: relative;
    display: inline-block;
    border-radius: 20px;
}


.dropdown-content {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 300px ;
    font-size: 18px;
    box-shadow: 0 8px 16px 0 rgba(69,69,69,0.2);
    border: 1px solid rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 6px;
    margin-top: 20px;
    right:12px;
    color: rgba(69, 69, 69, 0.8);
    font-family: 'Inter', sans-serif;
}


.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    color: rgba(69, 69, 69, 0.8);
    font-family: 'Inter', sans-serif;
    font-weight: 400;

}


.dropdown-content a:hover {background-color: #F0F1F1;}

.show {display:block;}


.lg-show{
    display: block;
}
.sm-show{
    display: none;
}

.active{
    background-color: #F2F6FB;
}

.sm-show{
    font-size: 32px;
}

.hide_sm{
    display: none;
}

.show_lg{
    display: block;
}


.title{
    color: rgba(69, 69, 69, 0.8);
    text-transform: uppercase;
    font-size: 32px;

    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    line-height: 39px;
    /* identical to box height */
    pointer-events: none;
    box-sizing: border-box;
    height: 39px;
    align-content: center;


}

#chevron{
    pointer-events: none;
    box-sizing: border-box;
    height: 39px;
    width: 39px;
}

/* Dropdown Button */
.dropbtn {
    color: black;
    background-color: white;
    font-size: 16px;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    align-items: center;
    padding: 0;

}


/* Content */

#overflow{
    scroll-behavior: smooth;
    height: auto;
    overflow-x: scroll;
    margin-top: 80px;
    margin-bottom:80px;
    padding-bottom: 30px;
}

p{
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    color: rgba(69, 69, 69, 0.9);
}

strong{
    font-weight: 600;
}
#presentation{

    width: 581px;
    height: 390px;
    border-radius: 20px;
    padding: 30px;

    background: #DEF2D4;
    border: 1px solid rgba(0, 0, 0, 0.2);

}


#skills{
    height: 142px;
    flex-basis: 0;
    width: 581px;
    border-radius: 20px;
    padding: 30px 30px 60px 30px;
    background: #DEF2D4;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.project{
    padding: 30px;
    width: 464px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    position: relative;

}

#trashbusters, #cluster{
    margin-right: 12px;
}

#skills li{
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;



}

#surville{
    background-image: url("img/surville.png");
    background-size: 468px 332px;
    background-repeat: no-repeat;
    background-position: bottom;
    background-color: #D4F2E3;
}

#trainzzz{
    background-image: url("img/trainzzz.png");
    background-size: 318px 312px;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-color: #D4E8F2;

}



#antalia{
    background-image: url("img/antalia.png");
    background-size: 368px 195px;
    background-repeat: no-repeat;
    background-position:center bottom 120px;
    background-color: #D9D4F2;
}


#trashbusters{
    background-image: url("img/trashbusters.png");
    background-size: 168px;
    background-repeat: no-repeat;
    background-position:center bottom 70px;
    background-color: #D4F2E9;
}

#urbanflow{
    background-image: url("img/urbanflow.png");
    background-size:100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    background-color: #D4EDF2;
}

#cluster{
    background-image: url("img/cluster.png");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position:center bottom 70px;
    background-color: #D9D4F2;
}

.arrow{
    position: absolute;
    height: 51px;
    width: 51px;
    left: 30px;
    bottom: 30px;
    background: #343535 url("img/arrow.svg") no-repeat center ;
    border-radius: 100%;
    cursor: pointer;

}

.arrow:hover{
    opacity: 0.8;
}

.project-card{
    display: flex;
    flex-direction: row;
}

#external-container{
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    height: 100%;
}

.skills-set{
    display: flex;
    flex-direction: row;
    column-gap: 30px;
    padding-left: 20px;
    margin-top: 16px;
}

.ver1{
    margin-bottom: 0;
}

.ver2{
    margin-bottom: 4px;
}

.text{
    display: inline-block;
    margin-top: 16px;
}

#dimensions{
    height: 100%;
    row-gap: 20px;
}



/* Footer */

button{
    all: unset;
}


.button:hover{
    color:rgba(69, 69, 69, 0.9);
    background-color: #F0F1F1;
    cursor: pointer;
}


.button{
    /* Frame 132 */

    box-sizing: border-box;

    /* Auto layout */

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;

    width: 150px;
    height: 47px;

    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 20px;

    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    color:rgba(69, 69, 69, 0.9);
    text-decoration: none;

    /* Inside auto layout */

    flex: none;
    order: 0;
    flex-grow: 0;

}


#footer{
    flex-direction: row;
    border-style: solid;
    border-width: 1px 0 0 0;
    border-color: rgba(0, 0, 0, 0.2);
    column-gap: 32px;
    padding: 30px;

}





@media screen and (max-width: 950px){
    .lg-show{
        display: none;
    }
    .sm-show{
        display: block;
    }
}


@media screen and (max-width: 610px){
    #presentation{
        width: 95vw;
    }
    #skills{
        width: 95vw;
    }
}

@media screen and (max-width: 520px){

    #overflow{
        padding-bottom: 0;
    }

    #overflow::-webkit-scrollbar {
        display: none;
    }

    .project{
        padding: 24px;
    }

    #trashbusters, #cluster{
        margin-right: 0;
    }

    .skills-set{
        flex-direction: column;
        row-gap: 30px;
    }

    .dropdown-content{
        font-size: 18px;
    }

    .title{
        font-size: 24px;
    }

    #presentation{
        height: auto;
    }

    .project{
        width: 100%;
        height: 500px;
    }

    .project-card{
        flex-direction: column;
        row-gap: 20px;
    }

    #external-container{
        flex-direction: column;
        row-gap: 20px;
    }

    #presentation{
        width: 100%;
    }
    #skills{
        width: 100%;
        height: auto;
        padding-bottom: 30px;
    }

    #footer{
        flex-direction: column;
        row-gap:24px;
    }
    .button{
        width: 100%;
    }

    .sm-show{
        font-size: 24px;
    }

    #surville{

        background-size: 100%;
        background-position: bottom -10% right 0;

    }

    #trashbusters{
        background-size: 35%;
        background-position: center bottom 15%;
    }

    #cluster{
        background-position: center bottom 30%;
    }

    #urbanflow{

        background-position: bottom -18% right 0;
    }

    #antalia{
        background-size: 70%;
        background-position: center bottom 35%;

    }
}

@media screen and (min-width: 470px) and (max-width: 520px){
    #trainzzz{
        background-position: bottom -15% right;
    }
}

@media screen and (max-width: 469px){
    #trainzzz{
        background-size: 75%;
        background-position: bottom -15% right;
    }
}


@media screen and (max-width: 400px){

    .hide_sm{
        display: block;
    }

    .show_lg{
        display: none;
    }

}
