@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

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

body {
    background: #333;
}

section {
    position: relative;
    padding: 50px;
    font-family: 'Poppins', sans-serif;
    color: #483C32;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10000000;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    mix-blend-mode: difference;

}

.header .logo {
    color: #483C32;
    text-decoration: none;
    font-size: 1.2em;
}

.header .logo:hover {
    transform: scale(1.2);
    transition: ease-in-out 250ms;
}

.nextText {
    position: absolute;
    z-index: 10;
    font-size: .9em;
    color: #a88c75;
    mix-blend-mode: difference;
    bottom: 5%;
    right: 5%;
    pointer-events: none;
}

.toggle {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    height: auto;
    width: 7.5rem;
    margin: auto;
    cursor: pointer;
    position: absolute;
    top: 6%;
    right: 5%;
    z-index: 99999999;
}

.toggleText {
    position: absolute;
    top: 3%;
    right: 5%;
    font-size: .9em;
    color: #a88c75;
    mix-blend-mode: difference;
    z-index: 99999999;
    pointer-events: none;
}

.toggle-input {
    display: none;
    margin: 0;
}

.toggle-off,
.toggle-on {
    height: 1.8125rem;
    width: 1.8125rem;
    color: #2e2d2c1a;
    vertical-align: top;
    text-align: center;
    line-height: 1.8125rem !important;
}

.toggle-input:checked+.toggle-controller.default-success {
    border: 0.125rem solid #6cd33dbf;
    background: #6cd33d60;
}

.toggle-input:checked+.toggle-controller.default-success:after {
    left: 1.5625rem;
}

.toggle-controller.default-success {
    position: relative;
    display: inline-block;
    height: 1.5625rem;
    width: 3.125rem;
    border: 0.125rem solid #2e2d2c0d;
    -webkit-border-radius: 1.5625rem;
    -moz-border-radius: 1.5625rem;
    border-radius: 1.5625rem;
    -webkit-box-shadow: inset 0 0 0.1875rem #2e2d2c40;
    -moz-box-shadow: inset 0 0 0.1875rem #2e2d2c40;
    box-shadow: inset 0 0 0.1875rem #2f2e2d40;
    background: #2e2d2c06;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.toggle-controller.default-success:after {
    position: absolute;
    top: -2px;
    left: 0;
    content: '';
    display: block;
    height: 1.5625rem;
    width: 1.5625rem;
    -webkit-border-radius: 1.5625rem;
    -moz-border-radius: 1.5625rem;
    border-radius: 1.5625rem;
    -webkit-box-shadow: 0 0.0625rem 0.125rem #2e2d2c33;
    -moz-box-shadow: 0 0.0625rem 0.125rem #2e2d2c33;
    box-shadow: 0 0.0625rem 0.125rem #2e2d2c33;
    background: #fff;
    -webkit-transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -o-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.toggle-off.active {
    color: #ff0000;
}

.toggle-on.active {
    color: #008000;
}

.page {
    position: absolute;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bannerText {
    position: absolute;
    font-size: 4em;
    font-weight: 700;
    letter-spacing: 4vw;
    mix-blend-mode: difference;
    z-index: 1;
    color: #483C32;
}

.view {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: skew(-60deg);
    animation: slide 3s ease-in-out;
}

@keyframes slide {
    0% {
        transform: skew(60deg)
    }

    ;
}

.view .left,
.right {
    bottom: 0;
    top: 0;
    overflow: hidden;
    position: absolute;
}

.view .left {
    left: -300%;
    right: 49%;
}

.view .right {
    left: 49%;
    right: -300%;

}

.sage,
.cream {
    bottom: -5%;
    left: -5%;
    position: absolute;
    right: -5%;
    top: -5%;
    transform: skew(5deg);
}

.sage {
    background: #A9BD93;
}

.cream {
    background: #FFFDD0;
}

.coral,
.peach {
    bottom: -5%;
    left: -5%;
    position: absolute;
    right: -5%;
    top: -5%;
    transform: skew(5deg);
}

.coral {
    background: #C38370;
}

.peach {
    background: #E4B7A0;
}

.darkblue,
.lightblue {
    bottom: -5%;
    left: -5%;
    position: absolute;
    right: -5%;
    top: -5%;
    transform: skew(5deg);
}

.darkblue {
    background: #749DAD;
}

.lightblue {
    background: #AEC6CF;
}

.darkyellow,
.lightyellow {
    bottom: -5%;
    left: -5%;
    position: absolute;
    right: -5%;
    top: -5%;
    transform: skew(5deg);
}

.darkyellow {
    background: #C0C0F2;
}

.lightyellow {
    background: #E6E6FA;
}

.about {
    max-width: 80vw;
    position: absolute;
    top: 35%;
    height: auto;
    display: flex;
    z-index: 1;
}

.pfp {
    position: absolute;
    top: 15vh;
    right: 10vw;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    background: url('images/me.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    margin-right: 2vw;
}

.aboutText {
    color: #111;
    max-width: 75vw;
    font-size: 20px;
    word-wrap: break-word;
    z-index: 1;
}

.contactList {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.contactList ul {
    margin: 0;
    padding: 0;
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contactList ul li {
    list-style: none;
    margin: 0 15px;
}

.contactList ul li a {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    text-align: center;
    background: #333;
    border-radius: 50%;
    font-size: 30px;
    color: #666;
    transition: .5s;
}

.contactList ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    transition: .5s;
    transform: scale(.9);
    z-index: -1;
}

.contactList ul li a:hover::before {
    transform: scale(1.1);
    box-shadow: 0 0 15px #fff;
}

.contactList ul li a:hover {
    color: #fff;
    box-shadow: 0 0 5px #fff;
    text-shadow: 0 0 5px #fff;
}

.contactList ul li a img {
    filter: invert(1);
    max-width: 30px;
}

.projectText {
    position: absolute;
    font-size: 3em;
    font-weight: 700;
    letter-spacing: 2vw;
    mix-blend-mode: difference;
    z-index: 1;
    color: #483C32;
    top: 20%;
    pointer-events: none;
}

.projectList {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 20vh;
    z-index: 2;
}

.box {
    position: relative;
    min-width: 350px;
    height: 425px;
    background: #222;
    transition: 0.5s;
    margin: 10px;
}

.box:hover {
    box-shadow: 0 0 15px #fff;
    transform: scale(1.1);
    transition: ease-in-out 150ms;
}

.box .imgBx {
    position: relative;
    width: 100%;
    height: 350px;
}

.fitImg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.box .content {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
}

.box .content h2 {
    text-align: center;
    color: #fff;
    font-weight: 500;
    line-height: 1.2em;
}

.box .content h2 span {
    font-size: 0.8em;
    font-weight: 300;
    opacity: 0.8;
}

@media screen and (max-width: 1600px) {
    .box {
        min-width: 225px;
        height: 300px;
    }
    
    .box .imgBx {
        height: 225px;
    }

    .box .content {
        height: 70px;
    }

    .box .content h2 {
        font-weight: 400;
        font-size: 1.1em;
    }
}

@media screen and (max-width: 1080px) {
    .pfp {
        right: 2vw;
    }

    .projectList {
        margin-top: 15vh;
    }

    .box {
        min-width: 200px;
        height: 200px;
    }
    
    .box .imgBx {
        height: 200px;
    }

    .box .content {
        background-color: #22222286;
        height: 65px;
    }

    .box .content h2 {
        font-size: 1em;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 20px;
    }

    .bannerText {
        font-size: 2.5em;
    }

    .projectText {
        font-size: 2em;
    }

    .nextText {
        font-size: 0.8em;
    }

    .toggleText {
        font-size: 0.7em;
        right: 7%;
    }

    .pfp {
        width: 150px;
        height: 150px;
    }

    .aboutText {
        font-size: 16px;
    }

    .projectList {
        margin-top: 10vh;
    }

    .box {
        position: relative;
        max-width: 200px;
        min-width: initial;
        width: 200px;
        height: 200px;
    }

    .box .imgBx {
        height: 200px;
    }

    .box .content h2 {
        color: #fff;
        font-size: 0.9em;
        font-weight: 400;
        line-height: 1em;
    }

    .box .content h2 span {
        font-size: .7em;
        font-weight: 300;
        opacity: 0.5;
    }
}

@media screen and (max-width: 480px) {
    .bannerText {
        font-size: 1.75em;
    }

    .nextText {
        font-size: .7em;
    }

    .pfp {
        top: 3vh;
        left: 30vw;
    }

    .aboutText {
        font-size: 14px;
    }

    .contactList ul li {
        margin: 0 10px;
    }

    .box {
        position: relative;
        max-width: 300px;
        min-width: initial;
        width: 300px;
        height: 100px;
    }

    .box .imgBx {
        height: 100px;
    }

    .fitImg {
        object-fit: cover;
    }
}

@media screen and (max-width: 375px) {
    .pfp {
        left: 22vw;
    }
}