/* --General-- */

:root{
    --main-color: white;
    --light-grey-color: #F4F4F4;
    --secondary-color: #0094FF;
    --blue-2: #00b7ff;
    --blue-3: #00D9F2;
    --green-1: #00E8CC;
    --green-2: #00F18C;
    --blob-color: rgba(255, 255, 255, 0.663);
    --text-color: rgb(0, 0, 0);
    
    --box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.492);

    --full-borderRadius: 100px;
    --primary-borderRadius: 15px;
    --secondary-borderRadius: 5px;

    --grow-scale: 0.95;
}

* {
    margin: 0;
    padding: 0;
    font-family: Helvetica, sans-serif;
    transition: .1s;
    color: var(--text-color);
}

html{
    scroll-behavior: smooth;
}

body{
    background-color: var(--main-color);
}

body nav, .mobile-hamburger-div{
    z-index: 999;
}

nav ul{
    list-style-type: none; 
}

.page-container{
    position: relative;
    height: 100vh;
    width: 100vw;

    scroll-snap-align: start;
}

button{
    padding: 5px;

    color: var(--secondary-color);
    background-color: var(--main-color);
    box-shadow: var(--box-shadow);

    border-radius: var(--full-borderRadius);
    border: solid 2px var(--secondary-color);
    cursor: pointer;
}

a button:hover{
    color: white;
    background-color: var(--secondary-color);
    border-color: none;
}

.title, .sub-title{
    font-weight: bold;
}

.background-image{
    display: none;
}

/* --NavBar-- */

/* (Hamburger Menu) */
.mobile-hamburger-div{
    background-color: var(--blob-color);
    border-radius: var(--primary-borderRadius);
    padding: 5px 5px;
    width: 90px;
    
    position: fixed;
    top: 5px;
    right: 5px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;

    box-shadow: var(--box-shadow);
}

.mobile-hamburger-div a, .hamburger-menu-image{
    width: 40px;
    cursor: pointer;
}

.mobile-hamburger-div a{
    display: flex;
}

.nav-logo{
    width: inherit;
}

.mobile-hamburger-div .nav-logo:hover, .hamburger-menu-image:hover{
    transform: scale(var(--grow-scale));
}

.mobile-hamburger-div .nav-logo{
    border-radius: var(--full-borderRadius);
}

/* (Navbar list) */
.navbar-invisable{
    display: none;
}

.navbar-open{
    background-color: var(--blob-color);
    
    width: fit-content;
    padding: 5px;
    border-radius: var(--primary-borderRadius);

    position: fixed;
    top: 60px;
    right: 5px;

    box-shadow: var(--box-shadow);
}

.navbar-open ul li{
    padding: 5px 0px;
    text-align: center;
}

.navbar-open ul li a{
    color: var(--text-color);
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}

.navbar-open ul li:hover{
    font-weight: bold;
}

.navbar-open ul li:hover a{
    color: black;
}

.active button{
    background-color: var(--secondary-color) !important;
    border-color: var(--main-color);
    color: var(--main-color);
}

.active{
    color: var(--secondary-color) !important;
    font-weight: bold;
}

.active a button, button:hover{
    color: var(--main-color);
    background-color: var(--secondary-color);
}

/* --Home-Page-- */

.home-page{
    height: 100vh;
    background-image: url("Images/HomePageBackground.pfp.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.home-page .name-div{
    background-color: var(--blob-color);

    width: 100%;
    height: 100px;

    position: absolute;
    top: 250px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    box-shadow: var(--box-shadow);
}

.home-page h1{
    font-size: 8vw;
}

.home-page .name-div img{
    width: 160px;
    margin-bottom: 30px;
}

.home-page .skills-div{
    background-color: var(--blob-color);
    text-align: center;
    border-radius: var(--full-borderRadius);
    font-size: 3.5vw;
    box-shadow: var(--box-shadow);

    width: max-content;
    padding: 5px 15px;

    position: absolute;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    top: 380px;
}

.home-page .skills-div p{
    margin: 0;
}

.home-page button{
    position: absolute;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    top: 440px;

    width: 150px;
    
    font-size: larger;

    box-shadow: var(--box-shadow);
}

/* --AboutMe-Page-- */

.aboutMe-page{
    height: 100vh;

    background-image: url("Images/AboutMeBackground.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.aboutMe-page .profile-div{
    background-color: var(--blob-color);

    width: 100%;
    height: 90px;

    position: absolute;
    top: 150px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    box-shadow: var(--box-shadow);
}

.aboutMe-page .profile-div img{
    width: 150px;
    margin-bottom: 30px;
}

.aboutMe-page table td{
    font-size: 14px;
    font-weight: bold;
}

.aboutMe-page table td:last-child{
    padding-left: 30px;
}

.aboutMe-page .text-div{
    background-color: var(--blob-color);
    border-radius: var(--primary-borderRadius);

    width: 70%;
    height: fit-content;

    position: absolute;
    left: 50%;
    right: 50%;
    top: 550px;
    transform: translate(-50%, -50%);
    
    padding: 15px;

    box-shadow: var(--box-shadow);
}

.aboutMe-page .text-div h1{
    text-align: center;
    margin-bottom: 10px;
}

/* --Showcase-Page-- */

.showcase-page{
    height: 100vh;

    background-image: url("Images/Showcasebackground.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    background-position: 65%;
}

.showcase-page .nav-div{
    background-color: var(--blob-color);

    height: 280px;

    position: relative;
    top: 80px;

    box-shadow: var(--box-shadow);

    padding: 10px;
}

.showcase-page .nav-div h1{
    text-align: center;
}

.showcase-page .nav-div .button-list{
    width: 100%;

    position: absolute;
    left: 50%;
    right: 50%;

    top: 160px;
    transform: translate(-50%, -50%);
}

.showcase-page .nav-div .button-list table{
    position: absolute;
    left: 50%;
    right: 50%;

    top: -35px;
    transform: translate(-50%, -50%);
}

.showcase-page .nav-div .button-list table td{
    padding: 15px 5px;
}

.showcase-page .nav-div button p{
    font-weight: bold;
}

.showcase-page .nav-div .button-list button{
    display: flex;
    align-items: center;

    position: relative;

    width: 43vw;
}

.showcase-page .nav-div .button-list button p{
    margin-right: 10px;
    margin-left: 50px;
    text-align: center;
}

.showcase-page .nav-div p{
    margin-bottom: 0;
}

.showcase-page .nav-div .listItem-button, .listItem-button img, .listItem-other-button{
    border: 3px solid;
}

/* Button border */

.showcase-page .nav-div .button-list .game-button, .game-button img{
    border-color: var(--secondary-color);
}

.showcase-page .nav-div .button-list .buildingmodeling-button, .buildingmodeling-button img{
    border-color: var(--blue-2);
}

.showcase-page .nav-div .button-list .scripting-button, .scripting-button img{
    border-color: var(--blue-3);
}

.showcase-page .nav-div .button-list .guiui-button, .guiui-button img{
    border-color: var(--green-1);
}

.showcase-page .nav-div .listItem-other-button{
    border-color: var(--green-2);
}

/* Button text */

.showcase-page .nav-div .button-list .game-button p{
    color: var(--secondary-color);
}

.showcase-page .nav-div .button-list .buildingmodeling-button p{
    color: var(--blue-2);
}

.showcase-page .nav-div .button-list .scripting-button p{
    color: var(--blue-3);
}

.showcase-page .nav-div .button-list .guiui-button p{
    color: var(--green-1);
}

.showcase-page .nav-div .listItem-other-button p{
    color: var(--green-2);
}

/* Button hover */

.listItem-button:hover p, .listItem-other-button:hover p, button:hover, button:hover img, .button-list .active, .button-list .active img, .button-list .active p, #other .active, #other .active p{
    color: var(--main-color) !important;
    border-color: var(--main-color) !important;
}

.showcase-page .nav-div .button-list .game-button:hover, .game-button img, .button-list #games .active{
    background-color: var(--secondary-color);
}

.showcase-page .nav-div .button-list .buildingmodeling-button:hover, .buildingmodeling-button img, .button-list #building .active{
    background-color: var(--blue-2);
}

.showcase-page .nav-div .button-list .scripting-button:hover, .scripting-button img, .button-list #scripting .active{
    background-color: var(--blue-3);
}

.showcase-page .nav-div .button-list .guiui-button:hover, .guiui-button img, .button-list #gfx .active{
    background-color: var(--green-1);
}

.showcase-page .nav-div .listItem-other-button:hover, #other .active{
    background-color: var(--green-2);
}

.showcase-page .nav-div .listItem-button:hover, .button-list .active{
    transform: scale(var(--grow-scale));
}

.showcase-page .nav-div .button-list img{
    width: 45px;
    
    border-radius: var(--full-borderRadius);
    background-color: var(--main-color);

    position: absolute;
    left: -5px;
}

.showcase-page .nav-div .listItem-other-button{
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 10px;
    transform: translate(-50%, -50%);

    width: 80px;
    border-radius: var(--secondary-borderRadius);
    box-shadow: var(--box-shadow);
}

.showcase-page .nav-div .listItem-other-button:hover, #other .active{
    width: 70px;
    font-size: 12px;
}

/* Carousel */

.showcase-page .carousel .carousel-item img, .carousel-item video{
    border-radius: var(--primary-borderRadius);
}

.showcase-page .carousel{
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
    top: 40vh;

    border: solid rgba(0, 0, 0, 0) 10px;

    max-width: max-content;
    height: max-content;
}

.showcase-page .carousel button{
    box-shadow: none;
    background: none;
}

.showcase-page .carousel-indicators{
    bottom: 10px;
    display: none;
}

.showcase-page .carousel-indicators button{
    background-color: var(--main-color);
    height: 10px;
    width: 10px;
    border: none;
}

.showcase-page .carousel-indicators button:hover{
    opacity: 1;
}

.showcase-page .carousel .carousel-item{
    position: relative;
}

.showcase-page .carousel .carousel-inner, .carousel-inner, .carousel-item, .carousel-item img, .carousel-item video{ 
    height: 100%;
    width: 100%;
}

.carousel-item video{
    z-index: 100;
}

.showcase-page .carousel .carousel-inner{
    box-shadow: var(--box-shadow);
}

.showcase-page .carousel .carousel-item .text-block{
    position: absolute;
    left: 50%;
    right: 50%;
    top: 80px;
    transform: translate(-50%, -50%);

    height: max-content;
    width: max-content;
}

.showcase-page .carousel .carousel-item .text-block p{
    margin-top: 5px;
    background-color: var(--blob-color);
    border-radius: var(--secondary-borderRadius);

    padding: 0 5px;

    opacity: 0;
}

.showcase-page .carousel:hover .text-block p{
    opacity: 1;
}

.showcase-page .carousel .carousel-item .text-block .title{
    background-color: var(--blob-color);
    border-radius: var(--secondary-borderRadius);
    font-weight: bold;
    width: max-content;
    
    position: absolute;
    left: 50%;
    right: 50%;
    top: -5px !important;
    transform: translate(-50%, -50%);

    font-size: larger;
}

/* --ContactMe-Page-- */

.contactMe-page{
    height: 100vh;
    background-image: url("Images/contactMeBackground.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    background-position: 65%;    
}

.contactMe-page .hireMe-div{
    background-color: var(--blob-color);

    width: 100%;
    padding: 15px;
    padding-bottom: 8vh;

    position: absolute;
    top: 80px;

    box-shadow: var(--box-shadow);
}

.contactMe-page .hireMe-div h1{
    text-align: center;
}

.contactMe-page .hireMe-div .flex-table{
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.contactMe-page .hireMe-div .flex-table .sub-title{
    text-align: center;
}

.contactMe-page .hireMe-div .flex-table .commission-div, .longTerm-div, .availability-div, .payment-div{
    box-shadow: var(--box-shadow);

    background-color: var(--main-color);
    border-radius: var(--primary-borderRadius);
    padding: 5px;
}

.contactMe-page .hireMe-div .hireMe-note{
    position: absolute;
    bottom: -8px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: smaller;
}

.contactMe-page .hireMe-div .hireMe-note span{
    color: red;
}

.contactMe-page .hireMe-socialMedia-div{
    background-color: rgba(255, 255, 255, 0.299);
    width: fit-content;
    height: fit-content;
    padding: 5px;
    border-radius: var(--primary-borderRadius);
    box-shadow: var(--box-shadow);

    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 50px;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    gap: 10px;
}

.contactMe-page .hireMe-socialMedia-div a{
    height: 50px;
    width: 50px;

    border: none;
    background: none;

    position: relative;
    box-shadow: none;
}

.contactMe-page .hireMe-socialMedia-div a:hover{
    transform: scale(var(--grow-scale));
}

.contactMe-page .hireMe-socialMedia-div a img{
    height: inherit;
    width: inherit;

    border: none;
    background: none;

    position: absolute;
    left: 50%;
    right: 50%;
    top: 25px;
    transform: translate(-50%, -50%);
}

@media (min-width: 0px){
    /* --General-- */
    .page-container{
        height: 100vh;
    }
}

/* ==Tablet== */

@media (min-width: 700px){
    /* --General-- */
    .page-container{
        height: 100vh;
    }
    
    /* --Navbar-- */
    .mobile-hamburger-div{
        display: none;
    }
    .navbar-open{        
        width: max-content;
        padding: 5px;
    
        position: fixed;
        left: 50%;
        right: 50%;
    
        top: 30px;
        transform: translate(-50%, -50%);
        display: inline-block;

        padding: 2px 10px;
    }
    .navbar-open ul{
        display: table-cell;
    }
    .navbar-open ul li{
        padding: 5px 5px;
        width: fit-content;
        display: inline-table;
    }

    /* --Home-- */
    .home-page .name-div{
        top: 400px;
    }
    .home-page .skills-div{
        top: 580px;
    }
    .home-page .name-div img{
        width: 250px;
        margin-bottom: 100px;
    }
    .home-page button{
        top: 670px;
        width: 200px;
        height: 50px;
        font-size: 25px;
    }

    /* --About Me-- */
    .aboutMe-page .profile-div{   
        width: 70%;
        height: 110px;
        top: 200px;
        gap: 30px;
        border-radius: 0 var(--primary-borderRadius) var(--primary-borderRadius) 0;
    }
    .aboutMe-page .profile-div img{
        width: 250px;
        margin-bottom: 80px;
    }
    .aboutMe-page table td{
        font-size: 20px;
    }
    .aboutMe-page .text-div{
        width: 70%;
    
        top: 650px;
    }
    .aboutMe-page .text-div p{
        font-size: larger;
    }

    /* --Showcase-- */
    .showcase-page .nav-div button p{
        font-size: 20px;
    }
    .showcase-page .nav-div .button-list button{
        height: 50px;
        width: 200px;
    }
    .showcase-page .nav-div .button-list img{
        width: 60px;
        left: -10px;
    }
    .showcase-page .nav-div{
        height: 300px;
        top: 170px;
    }
    .showcase-page .nav-div .button-list{
        top: 170px;
    }
    .showcase-page .nav-div .button-list table{
        top: -35px;
    }
    .showcase-page .nav-div .button-list table td{
        padding: 15px 15px;
    }
    .showcase-page .carousel{
        top: 500px;
        max-width: 750px;
    }

    /* --Contact Me-- */
    .contactMe-page .hireMe-div{
        top: 200px;
    }
    .contactMe-page .hireMe-div .flex-table{
        margin-top: 20px;
    }
}

/* ==Square== */
@media (min-width: 920px) and (max-width: 1220px) and (min-height: 820px){
    /* --General-- */
    .page-container{
        height: 150vh;
    }

    /* --Showcase-- */
    .showcase-page .carousel{
        max-width: 700px;
    }

    /* --ContaceMe-- */
    .contactMe-page{
        height: 100vh;
    }
}

/* ==Small height== */
@media (min-height: 600px){
    /* --General-- */
    .page-container{
        height: 1000px;
    }
}

/* ==PC== */

@media (min-width: 1220px){
    /* --General-- */
    html{
        scroll-snap-type: y mandatory;
    }
    .page-container{
        height: 100vh;
    }

    /* --Home-- */
    .home-page{
        height: 100vh;
    }
    .home-page .name-div{
        top: 200px;
        height: 150px;
        width: 60%;
        border-radius: 0 var(--full-borderRadius) var(--full-borderRadius) 0;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0px;
    }
    .home-page .name-div img{
        width: 350px !important;
        margin-bottom: 100px !important;
    }
    .home-page .name-div h1{
        font-size: 70px;
    }
    .home-page .skills-div{
        padding: 5px 15px;
    
        position: absolute;
        left: 82%;

        top: 480px;

        border-radius:  var(--full-borderRadius) 0 0 var(--full-borderRadius);
    }
    .home-page .skills-div p{
        font-size: 20px;
    }
    .home-page .name-div img{
        width: 250px;
        margin-bottom: 100px;
    }
    .home-page button{
        top: 570px;
        font-size: 25px;
    }

    /* --About Me-- */
    .aboutMe-page{
        height: 100vh;
    }
    .aboutMe-page .profile-div{   
        width: 50%;
    }
    .aboutMe-page .text-div{
        width: 70%;
    
        top: 550px;
        left: 70%;
        right: 1px;
        
        border-radius:  var(--primary-borderRadius) 0 0 var(--primary-borderRadius);
        width: 60%;
    }

    /* --Showcase-- */
    .showcase-page .nav-div{    
        width: 40%;
        height: 300px;
    
        position: relative;
        top: 250px;

        border-radius: 0 var(--primary-borderRadius) var(--primary-borderRadius) 0;
    }
    .showcase-page .carousel{
        top: 100px;
        right: 30%;
        left: 70%;
        max-width: 700px;
        height: 500px !important;
    }

    /* --Contact Me-- */
    .contactMe-page .hireMe-div{
        position: absolute;
        left: 50%;
        right: 50%;
        top: 350px;
        transform: translate(-50%, -50%);
        
        width: 60%;
        height: 400px;

        border-radius: var(--primary-borderRadius);
    }
}

