*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    width: 100vw;
    color: #1e1e1e;
    overflow-x:hidden;
}
canvas{
    position: fixed;
    top:0;
    left:0;
    z-index: -50
}

h1{
    font-family: 'Domine', serif;
    font-weight: 700;
    font-size: 80px;
        width: 100vh;
}

h2, h3{
    font-family: 'Domine', serif;
    font-weight: 700;
    font-size: 50px;
    color: #0f0f0f;
    margin-bottom: 10px;
}

h3{
    font-size: 30px;
    color: #1f1f1f;
    margin-bottom: 10px;
}

p{
    font-family: "Montserrat", sans-serif;
        font-weight: 400;
}
#fixed-pan{
    position: fixed;
    height: 100vh;
    width: 35%;
}

#fixed-pan h1{
    position: absolute;
    bottom: calc(100% + 50px);
    right: 50px;

    transform: rotateZ(270deg);
    transform-origin: bottom right 0;
}

.global-container{
    transition: all 1s ease;
    padding: 7% 10% 7% 35%;
    height: 100vh;
}

.socials{
    display: flex;
    flex-flow: column nowrap;
    width: 120px;
    align-items: center;
    bottom: 35px;
    right: 170px;
    position: absolute;
}

.socials a{
    width: 100px;
}


.socials a img{
    width: 100%;
    transition: .35s all;
}


.socials a:hover img{
    transform: scale(0.8) rotateY(45deg) rotateZ(-5deg);
}

section {
    display: block;
    width: 100%;
    box-sizing: content-box;
    transition: all 1s ease;
    margin-bottom: 80px
}

section p, section h2, section a{
    width: 80%;
}

section p{
    margin-bottom: 40px;
}

section strong{
    font-weight: 400;
}

section h1{
    position: relative;
    font-size: 36px;
}

section p{
    position: relative;
    font-size: 18spx;
    transition: all 0.3s;
}



section span{
    font-style: italic;
}

section a{
    color: #2e2e2e;
    text-transform: lowercase;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100%;
    display: block;
    border: 1px solid #2e2e2e;
    padding: 2%;
    text-align: center;
    transition: .5s all;

}

section a:hover{
    background: #2e2e2e;
    color: #fff;
    transform: scale(1.1);
}

section p > a {
    display: inline-block;
    border : none;
    padding: 0;
    transition: .3s all;
    width: auto;
}

section p > a:hover{
    transform: scale(1.1);
    color: #2e2e2e;
    background: transparent;
}



@keyframes txtAnim{
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@media screen and (max-width: 64em){
    #fixed-pan{
        position: relative;
        width: calc(100vw - 30px);
    }

    #fixed-pan h1{
        transform: none;
        font-size: 40px;
        width: 250px;
        right: 17px;
        bottom: 20px
    }

    .global-container{
        padding: 7% 10%;
        height: auto;

    }

    .socials{
        display: flex;
        flex-flow: row nowrap;
        width: 250px;
        align-items: center;
        bottom: 60px;
        right: 10px;
        position: absolute;
    }

    .socials a{
        width: 100px;
        padding: 10px;
    }

    body{
        max-width: 100vw;
    }

    section{
        width: 100%;
        padding: 3% 10%;
    }

    section h1{ font-size: 1.2em}
    section h2{
        margin-bottom: 50px;
        font-size: 1.1em
    }

    section p, section a{
        font-size: 1em;
    }

    section a{
        width: 80%;
    }

    section p > a{
        display: inline;
        padding: 0;
    }
}
