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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: black;
    background-image: url(/resources/websiteBackground.png);
    background-size: 150%;
}


@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}
    
#dvd {
    position: absolute;
    padding: 20px 30px;
    font-family: "agency-fb-wide", sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 24px;
    line-height: 26px;
    text-align: right;
    color: white;
    background-color: black;
    border: 3px solid white;
    border-radius: 40px 15px 40px 15px;
    user-select: none;
    cursor: pointer;
    transition: border 500ms ease;
    z-index: 996;
    caret-color: transparent;

}

#dvd:focus {
    outline: none;
    caret-color: transparent;

}

#dvd::selection {
    color: none;
    background: none;
    cursor: none;
    caret-color: transparent;
}

.hamburger {
    position: fixed;
    top: 20px;
    left: 25px;
    width: 30px;
    height: 55px;
    padding: 11px 30px 30px 30px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ededed;
    border-radius: 20px 7px 20px 7px;
    transform: skew(-15deg);
    z-index: 998;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 30px;
    padding: 2px;
    margin-top: 6px;
    margin-left: -15px;    
    background-color: #303030;
    border-radius: 2px;
    transform: skew(15deg);
}
    
.menu {
    position: fixed;
    top: 50px;
    left: 40px;
    width: 200px;
    height: 100%;
    background-color: transparent;
    color: white;
    padding: 60px 20px;
    transform: translateX(-120%);
    transition: transform 0.3s ease;
    z-index: 995;
}

.menu a {
    font-family: "blackest-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    color: white;
    font-size: 1.4rem;
    line-height: 2.4rem;
}

.menu.open {
    transform: translateX(0);
}

#home {
    cursor: pointer;
}

#work {
    cursor: pointer;
}

#about {
    cursor: pointer;
}

.workSection {
    position: fixed;
    margin-top: 100px;
    padding: 40px 30px;
    height: 500px;
    width: 45%;
    margin-left: 40%;
    background-color: #ededed;
    color: #303030;
    transform: translateX(200%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow: scroll;

}

.workSection.visible {
    transform: translateX(0)
}

.aboutSection {
    position: fixed;
    margin-top: 100px;
    padding: 40px 30px;
    height: 500px;
    width: 45%;
    margin-left: 40%;
    background-color: #ededed;
    color: #303030;
    transform: translateY(200%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow: scroll;
}

.aboutSection.visible {
    transform: translateY(0);
}

.copy {
    font-family: "goudy-old-style", serif;
    font-weight: 500;
    font-size: 1.05rem;
    line-height: 1.4rem;
    margin-top: 3px; 
    margin-left: 2px;
}

.subcopy {
    font-family: "goudy-old-style", serif;
    font-weight: 500;
    font-size: .9rem;
    line-height: 1.1rem;
    margin-left: 2px;
}

h3 {
    font-family: "goudy-old-style", serif;
    font-weight: 700;
    font-size: 1.4rem;
    text-align: center;
}

h4 {
    font-family: "goudy-old-style", serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 2rem;
    text-align: center;
}

@media screen and (min-width: 0px) and (max-width: 600px) {
    html, body {
        background-size: 330%;
    }

    #dvd {
        position: absolute;
        padding: 20px 30px;
        font-family: "agency-fb-wide", sans-serif;
        font-weight: 700;
        font-style: italic;
        font-size: 24px;
        line-height: 26px;
        text-align: right;
        color: white;
        background-color: black;
        border: 3px solid white;
        border-radius: 40px 15px 40px 15px;
        user-select: none;
        cursor: pointer;
        transition: border 500ms ease;
        z-index: 996;
        caret-color: transparent;

    }

    #dvd:focus {
        outline: none;
        caret-color: transparent;

    }

    #dvd::selection {
        color: none;
        background: none;
        cursor: none;
        caret-color: transparent;
    }

    .hamburger {
        position: fixed;
        top: 16px;
        left: 24px;
        width: 15px;
        height: 40px;
        padding: 13px 30px 45px 30px;
        cursor: pointer;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background-color: #ededed;
        border-radius: 15px 6px 20px 6px;
        transform: skew(-15deg);
        z-index: 998;
    }

    .hamburger span {
        display: block;
        height: 2px;
        width: 30px;
        padding: 2px;
        margin-top: 5px;
        margin-left: -15px;    
        background-color: #303030;
        border-radius: 2px;
        transform: skew(15deg);
    }

    .menu {
        top: 20px;
        left: 10px;
        width: 200px;
        height: 100%;
        background-color: transparent;
        color: white;
        padding: 60px 20px;
        transform: translateX(-120%);
        transition: transform 0.3s ease;
        z-index: 995;
    }

    .menu a {
        font-family: "blackest-text", sans-serif;
        font-weight: 400;
        font-style: normal;
        text-decoration: none;
        color: white;
        font-size: 1.2rem;
        line-height: 2rem;
    }

    .workSection {
        position: fixed;
        margin-top: 240px;
        padding: 40px 30px;
        height: 400px;
        width: 90%;
        margin-left: 5%;
        background-color: #ededed;
        color: #303030;
        transform: translateX(200%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow: scroll;

    }

    .aboutSection {
        position: fixed;
        margin-top: 240px;
        padding: 40px 30px;
        height: 400px;
        width: 90%;
        margin-left: 5%;
        background-color: #ededed;
        color: #303030;
        transform: translateY(200%);
        transition: transform 0.3s ease;
        z-index: 999;
        overflow: scroll;
    }
}