* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow-x:hidden 
} 

html {
    scroll-behavior: smooth;
}

:root {
    --white: #f2f2f2;
    --black: #222;
    --light-blue: #b9d6f2;
    --dark-blue: #061a40;
    --dull-green: #426b69;
    --mid-green: #59a96a;
    --light-green: #cbefb6;
}

@font-face {
    font-family: 'Nunito-Regular';
    src: url(../fonts/nunito/Nunito-Regular.ttf);
}

@font-face {
    font-family: 'Nunito-ExtraBold';
    src: url(../fonts/nunito/Nunito-ExtraBold.ttf);
}

@font-face {
    font-family: 'CarterOne';
    src: url(../fonts/CarterOne-Regular.ttf);
}

body {
    font-family: 'Nunito-Regular';
    margin: 0 auto;
}

a {
    text-decoration: none;
}

/* Header Styling ========================================================================= */
header {
    position: relative;
    z-index: 2;
}

nav {
    background: var(--dark-blue);
    color: var(--white);
    position: fixed;
    width: 100%;
    height: 60px;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#main-nav {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

nav div p {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    margin-left: 10px;
}

nav li {
    display: inline;
    padding: 15px 10px;
    list-style-type: none;
}

#mobile-nav {
    display: none;
}

.home-link {
    display: flex;
}

.about-link {
    display: none;
}

nav a {
    color: var(--white);
    padding: 5px 10px; 
    border-radius: 0 20px 0 20px;
}

ul a:hover {
    background: var(--white);
    color: var(--dull-green);
    border-top: 5px solid var(--mid-green);
    border-bottom: 1px dotted var(--dull-green);
}

h1 {
    font-family: 'CarterOne';
    font-size: 2rem;
    letter-spacing: .2rem;
    color: var(--dark-blue);
}

#about, #my-work {
    min-height: 100vh;
    padding: 60px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =================================================================================
Home Page Styling================================================================ */
#home, #thanks {    
    /* background: url("../img/qbkls.png"); */
    background-image: linear-gradient(0deg,var(--light-green),var(--mid-green),var(--dull-green));
    background-size: 100% 600%;
    min-height: 100vh;
    padding: 80px 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

/* -------------------------------------------------------
 * Generated by Animista - Licensed under FreeBSD License.
 * ---------------------------------------------------- */

.bg-pan-top {
	-webkit-animation: bg-pan-top 8s both;
	        animation: bg-pan-top 8s both;
}

@-webkit-keyframes bg-pan-top {
    0% {
        background-position: 50% 100%;
    }
    100% {
        background-position: 50% 0%;
    }
}

@keyframes bg-pan-top {
    0% {
        background-position: 50% 100%;
    }
    100% {
        background-position: 50% 0%;
    }
}

#home section {
    text-align: center;
    color: var(--dark-blue);
}

#home-info, #thanks-info {
    background: var(--white);
    color: var(--dark-blue);
    width: 375px;
    height: 375px;
    margin: 25px 0;
    padding: 0 10px;
    border-top: 10px solid var(--dark-blue);
    border-bottom: 2px dotted var(--dark-blue);
    border-radius: 0 30px 0 30px;
    box-shadow: 0 0 8px 10px rgba(6,26,64,.05);
}

#home-info h2, #thanks-info h2 {
    font-family: 'CarterOne';
    font-size: 1.5rem;
    letter-spacing: .1rem;
    margin: 20px;
}

#home-info p, #thanks-info p {
    font-family: 'Nunito-Regular';
    overflow-wrap: break-word;
    text-align: left;
}

#thanks-info {
    height: 258px;
}

#thanks-info p {
    padding: 0 10px;
}

#thanks-info h2 {
    margin: 20px 5px;
}

#thanks .thank-you {
    font-family: 'Nunito-ExtraBold';
    text-align: right;
    padding-top: 5px;
}

#home button, #thanks button {
    background: var(--light-green);
    color: var(--dark-blue);
    font-family: 'Nunito-ExtraBold';
    width: 100%;
    font-size: 1.5rem;
    margin: 30px 0 10px 0;
    padding: 7px 25px;
    border-top: 10px solid var(--dark-blue);
    border-bottom: 2px dotted var(--dark-blue);
    border-radius: 0 30px 0 30px;
    outline: none;
    cursor: pointer;
}

.shake-horizontal {
	-webkit-animation: shake-horizontal 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
	        animation: shake-horizontal 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}

/* -------------------------------------------------------
 * Generated by Animista - Licensed under FreeBSD License.
 * ---------------------------------------------------- */

@-webkit-keyframes shake-horizontal {
    0%,
    100% {
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70% {
        -webkit-transform: translateX(-10px);
                transform: translateX(-10px);
    }
    20%,
    40%,
    60% {
        -webkit-transform: translateX(10px);
                transform: translateX(10px);
    }
    80% {
        -webkit-transform: translateX(8px);
                transform: translateX(8px);
    }
    90% {
        -webkit-transform: translateX(-8px);
                transform: translateX(-8px);
    }
}

@keyframes shake-horizontal {
    0%,
    100% {
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70% {
        -webkit-transform: translateX(-10px);
            transform: translateX(-10px);
    }
    20%,
    40%,
    60% {
        -webkit-transform: translateX(10px);
                transform: translateX(10px);
    }
    80% {
        -webkit-transform: translateX(8px);
                transform: translateX(8px);
    }
    90% {
        -webkit-transform: translateX(-8px);
                transform: translateX(-8px);
    }
}

#home button:hover {
    background: var(--light-blue);
    color: var(--dull-green);
    border-top: 10px solid var(--dull-green);
    border-bottom: 2px dotted var(--dull-green);
}

/* Begin Animated Logo=============================================================================== */
#animated-logo {
    background: var(--white);
    width: 500px;
    height: 500px;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px 15px 0;
    border-radius: 5%;
    box-shadow: 0 0 8px 10px rgba(6,26,64,.05);
    transition: all 1s linear .5s;
}

.letter-a {
    margin-left: 15px;
    background: var(--mid-green);
    justify-content: right;
}

/* #animated-logo.logo {
    transition: border-radius 1s linear .5s;
} */

.a-top, .a-middle, .a-bottom, .p-top, .p-middle1, .p-middle2, .p-bottom, .h-top, .h-middle, .h-bottom {
    transform: rotate(0deg) skew(0deg, 0deg);
    transition: all 1s linear .5s;
}

.letter-p {
    background: var(--dark-blue);
}

.letter-h {
    background: var(--dull-green);
    justify-content: left;
}

.letter-a, .letter-p, .letter-h {
    color: var(--light-green);
    font-size: 1.5rem;
    height: 70px;
    margin-top: 25px;
    padding: 10px;
    display: grid;
    align-items: center;
    position: relative;
}

.a-middle, .h-middle {
    height: 140px;
}

.p-middle1 {
    align-items: flex-end;
}

.p-middle2 {
    align-items: flex-start;
    margin-top: 0;
}

/* Transition Animated Logo======================================================================== */
#animated-logo.logo {
    border-radius: 50%;
}

.logo div .letter-a p, .logo div .letter-p p, .logo div .letter-h p {
    font-size: 12px;
    transition: opacity 3s ease-in-out;
}

.logo div .a-top {
    width: 173px;
    height: 32px;
    position: absolute;
    justify-content: flex-start;
    top: 77px;
    left: 89px;
    transform: rotate(-33deg) skew(26deg, 3deg);
    transition: all 1s linear .5s;
}

.logo .letter-a {
    margin-left: 0;
}

.logo div .a-middle {
    width: 190px;
    height: 32px;
    position: absolute;
    top: 73px;
    left: 221px;
    transform: rotate(33deg) skew(-27deg, -3deg);
    transition: all 1s linear .5s;
}

.logo div .a-bottom {
    width: 197px;
    height: 28px;
    position: absolute;
    top: 101px;
    left: 119px;
    transform: skew(60deg, -0deg);
    clip-path: polygon(31% 0%, 100% 0%, 100% 100%, 0% 100%);
    transition: all 1s linear .5s;
}

.logo div .a-bottom p {
    transform: skew(-60deg, 0deg)
}

.logo div .p-top {
    width: 189px;
    height: 32px;
    position: absolute;
    top: 176px;
    left: 74px;
    transform: rotate(33deg) skew(33deg, -3deg);
    transition: all 1s linear .5s;
}

.logo div .p-middle1 {
    width: 189px;
    height: 32px;
    position: absolute;
    top: 250px;
    left: 74px;
    transform: rotate(33deg) skew(33deg, -3deg);
    transition: all 1s linear .5s;
}

.logo div .p-middle2 {
    width: 189px;
    height: 32px;
    position: absolute;
    top: 239px;
    left: 7px;
    transform: rotate(93deg) skew(-26deg, -3deg);
    transition: all 1s linear .5s;
}

.logo div .p-bottom {
    width: 112px;
    height: 33px;
    position: absolute;
    top: 249px;
    left: 177px;
    transform: rotate(93deg) skew(-26deg, -3deg);
    transition: all 1s linear .5s;
}

.logo div .h-top {
    width: 189px;
    height: 31px;
    position: absolute;
    top: 215px;
    left: 304px;
    transform: rotate(93deg) skew(32deg, -3deg);
    transition: all 1s linear .5s;
}

.logo div .h-middle {
    width: 189px;
    height: 31px;
    position: absolute;
    top: 289px;
    left: 170px;
    transform: rotate(93deg) skew(32deg, -3deg);
    transition: all 1s linear .5s;
}

.logo div .h-bottom {
    width: 185px;
    height: 34px;
    position: absolute;
    top: 256px;
    left: 239px;
    transform: rotate(-26deg) skew(-26deg, -3deg);
    transition: all 1s linear .5s;
}

/* End Animated Logo=============================================================================== */
#home .scroll-down {
    position: absolute;
    color: var(--dark-blue);
    font-size: 1.3rem;
    right: 30px;
    bottom: 15px;
    text-shadow: 0 0 5px var( --white);
}

#home .more {
    display: none;
}

.arrow2 {
    margin-top: -10px;
}

/* =================================================================================
About Page Styling=============================================================== */

#about {
    background: var(--light-blue);
    border-top: 1px solid var(--dark-blue);
    background-image: url("../img/gdnt-bdr.png");
    background-repeat: repeat-x;
}

.about-content {
    color: var(--dark-blue);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.self-title {
    margin: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px dotted var(--dull-green);
    border-radius: 0 0 30px 0;
}

.self-title h2 {
    font-family: 'CarterOne';
    font-size: 3rem;
    letter-spacing: .1rem;
    color: var(--dull-green);
    /* margin: 0 0 15px 30px; */
}

.self-title img {
    width: 350px;
    border-radius: 0 0 30px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 25px;
    grid-row-gap: 25px;
    padding: 0 15px;
}

.about-content section {
    background-color: var(--white);
    border-radius: 0 30px 0 30px;
    padding: 15px;
    border-top: 13px solid var(--dull-green);
    border-bottom: 2px dotted var(--dull-green);
}

.about-content h3 {
    font-family: 'Nunito-ExtraBold';
    color: var(--dull-green);
    margin-top: 30px;
}

.about-content p {
    color: var(--dull-green);
}

.about-content a {
    color: var(--mid-green);
}

.about-content section p {
    padding: 15px;
}

.abt-btn {
    position: relative;
}

.abt-btn a {
    position: absolute;
    top: -13px;
    right: 0;
    background: var(--light-green);
    color: var(--dull-green);
    padding: 7px 10px;
    border-top: 13px solid var(--dull-green);
    border-bottom: 2px dotted var(--dull-green);
    border-radius: 0 30px 0 30px;
}

.abt-btn a:hover {
    background: var(--white);
    color: var(--dark-blue);
    border-top: 13px solid var(--dark-blue);
    border-bottom: 2px dotted var(--dark-blue);
}

/* =================================================================================
My Work Page Styling============================================================= */

#my-work {
    background: var(--light-green);
    color: var(--dark-blue);
    border-top: 1px solid var(--dark-blue);
    background-image: url("../img/gdnt-bdr.png");
    background-repeat: repeat-x;
}

.work-title {
    margin: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px dotted var(--dark-blue);
    border-radius: 0 0 30px 0;
}

.work-title h2 {
    font-family: 'CarterOne';
    font-size: 3rem;
    letter-spacing: .1rem;
    color: var(--dark-blue);
    /* margin: 0 0 15px 30px; */
}

.work-logo {
    position: relative;
    right: -5px;
}

.work-websites {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 25px;
    padding: 0 15px;
}

.work-websites section {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    padding: 20px;
    position: relative;
    background: var(--white);
    border-radius: 0 30px 0 30px;
    border-top: 13px solid var(--dark-blue);
    border-bottom: 2px dotted var(--dark-blue);
}

.website-info {
    margin-right: 30px;
}

.website-info h3 {
    margin-top: 30px;
}

.website-info p {
    margin-bottom: 15px;
    padding: 0 10px;
}

.website-preview img {
    width: 100%;
    margin: 0 15px;
    position: relative;
    right: 15px;
    border:3px solid var(--dark-blue);
    border-radius: 0 30px 0 30px;
}

.website-preview a {
    font-family: 'Nunito-ExtraBold';
    position: absolute;
    top: -13px;
    right: 0;
    background: var(--light-blue);
    color: var(--dark-blue);
    padding: 7px 10px;
    border-top: 13px solid var(--dark-blue);
    border-bottom: 2px dotted var(--dark-blue);
    border-radius: 0 30px 0 30px;
}

.website-preview a:hover {
    background: var(--white);
    color: var(--dull-green);
    border-top: 13px solid var(--dull-green);
    border-bottom: 2px dotted var(--dull-green);
}


/* =================================================================================
Contact Page Styling============================================================= */

#contact {
    background-image: url("../img/gdnt-bdr.png");
    background-repeat: repeat-x;
    color: var(--white);
    min-height: 90vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--dark-blue);
}

.contact-bg {
    background: url(../img/qbkls-green.png);
}

.contact-title h2 {
    font-family: 'CarterOne';
    font-size: 3rem;
    letter-spacing: .1rem;
    color: var(--dark-blue);
    margin: 20px 0 10px 0;
}

#form-wrapper {
    background: var(--white);
    border-top: 13px solid var(--dark-blue);
    border-bottom: 2px dotted var(--dark-blue);
    border-radius: 0 30px 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#form-wrapper p {
    color: var(--dark-blue);
    display: block;
}

fieldset {
    border: none;
}

form {
    padding: 0 20px;
    min-width: 700px;
}

form p {
    width: 100%;
}

label {
    font-family: 'Nunito-ExtraBold';
    margin: 10px 0;
}

input, textarea {
    width: 100%;
    border-radius: 0 15px 0 15px;
    border: none;
    color: var(--dark-blue);
    border-bottom: 1px dotted var(--dark-blue);
    margin: 5px 0 20px 0;
    padding: 10px;
    outline: none;
}

::placeholder {
    color: var(--light-blue);
}

#submit {
    font-family: 'Nunito-ExtraBold';
    background: var(--light-green);
    color: var(--dark-blue);
    border-top: 5px solid var(--dark-blue);
    border-bottom: 2px dotted var(--dark-blue);

}

#submit:hover {
    background: var(--light-blue);
    outline: none;
    cursor: pointer;
}

/* Footer Styling =============================================================================== */

footer {
    background: var(--dark-blue);
    color: var(--white);
    height: 90px;
    display: flex;
    padding: 0 30px;
    justify-content: space-between;
    align-items: center;
}

.links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.links a {
    color: var(--white);
}

.links p {
    color: var(--dark-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px 15px 0 0;
    padding: 5px;
}

.links a img {
    height: 30px;
    margin-right: 10px;
}

.links p:hover {
    color: var(--white);
}

img[alt="GitHub Button"] {
    border-radius: 5px;
    background: var(--white);
}

img[alt="CodePen Button"] {
    border-radius: 50%;
    background: var(--white);
}


