:root {
    --secondaryColor: #e2c900;
    --primaryColor: rgba(68, 28, 105, 1);
/ / rgba(72, 30, 112, 1);
}

body {
    background-color: #4a4a4a;
    font-family: "Open Sans", sans-serif;
    margin: 0px;
    overflow-x: hidden;
    width: 100vw;
    scroll-behavior: smooth;
}


.background, .noah_image {
    position: fixed;
    left: 0px;
    top: 0px;
    min-height: 100vh;
    min-width: 100vw;

    background: #4a4a4a url("../images/log.jpg");
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
}

.noah_image {
    position: absolute;
    top: 0px;
    background: #4a4a4a url("../images/brickWallLowRes.jpg");
    background-size: cover;
    background-position: right top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.screenSizer {
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
}

.welcomeText {
    position: fixed;
    float: right;
    right: 48vh;
    top: 52vh;
    transform: translateY(-50%);
    text-align: right;
    padding: 15px 30px 30px;
    background: #070017C0;
    color: white;
    overflow: hidden;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;

    z-index: 5
}

.welcomeText h1 {
    font-size: 5em;
    font-weight: normal;
    margin: 0px;

    -webkit-transition: font-size 0.3s; /* Safari */
    transition: font-size 0.3s;

    -webkit-transition: width 0.3s; /* Safari */
    transition: width 0.3s;

    -webkit-transition: top 0.3s; /* Safari */
    transition: top 0.3s;
}

.welcomeText h2 {
    font-size: 2.5em;
    font-weight: 300;
    line-height: 1.3em;
    margin: 0px;
}

.downArrow {
    position: fixed;
    width: 40px;
    height: 40px;
    left: 50vw;
    bottom: 30px;
    color: #FFFFFF;
    font-family: 'News Cycle', sans-serif;
    text-align: center;
    font-size: 75px;
    line-height: 68px;
    border-style: solid;
    border-radius: 100%;
    border-color: #FFFFFF;
    border-width: 3px;

    background-color: rgba(0, 0, 0, 0.3);

    box-shadow: -2px -2px 5px 0 rgba(0, 0, 0, 0.5);

    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
    transform: rotate(-180deg);
    ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);

    z-index: 100;

    -webkit-transition: box-shadow 0.3s, opacity 0.3s; /* Safari */
    transition: box-shadow 0.3s, opacity 0.3s;

    cursor: pointer;
}

.downArrow:hover {
    box-shadow: -5px -5px 10px 0px rgba(0, 0, 0, 0.5);
}

nav {
    position: fixed;
    width: calc(100vw - 40px);
    padding: 20px;
    margin: 0px;
    z-index: 100000000;

    -webkit-transition: background 0.1s, bottom 0.5s; /* Safari */
    transition: background 0.1s, bottom 0.5s;
}

nav a {
    color: #FFFFFF;
    font-size: 1.2em;
    font-weight: 600;
    text-decoration: none;
    margin-right: 1.2em;

    -webkit-transition: color 0.4s; /* Safari */
    transition: color 0.4s;

    cursor: pointer !important;
}

nav a:hover {
    text-decoration: underline;
    cursor: pointer !important;
}

nav .currentNavPos {
    text-decoration: underline;
    color: var(--secondaryColor);

    -webkit-transition: color 0.2s, text-decoration 0.2s; /* Safari */
    transition: color 0.2s, text-decoration 0.2s;
}

nav .currentNavPos:hover {
    color: #FFFFFF;
}

.navLinks {
    position: absolute;
    left: 90px;
    top: 15px;
    background: var(--primaryColor);
    padding: 20px 0 20px 20px;
    border-radius: 50px;
}

.card {
    position: relative;
    left: 50%;
    background: #FFFFFF;
    width: 80vw;
    padding: 20px;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 5;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;

    box-shadow: -2px -2px 5px 0 rgba(0, 0, 0, 0.5);
}

#aboutMeCard {
    top: 50px;
}

.cardHeader {
    position: relative;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    overflow: hidden;
    background: var(--primaryColor);
}

#socialIcons a {
    text-decoration: none;
}

#socialIcons svg {
    width: 28px;
    height: 28px;
    margin-right: 8px;
    cursor: pointer;
}

.github:hover {
    fill: #6e5494;
}

.linkedin:hover path {
    fill: #0077B5;
}

.stickyBadge {
    --size: 125px;
    --margin: 32px;
    border-radius: 100%;

    position: fixed;
    height: var(--size);
    width: var(--size);
    top: calc(100vh - var(--size) - var(--margin));
    left: calc(100vw - var(--size) - (var(--margin)));

    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.5);

    -webkit-transition: box-shadow 0.3s, opacity 0.3s;
    transition: box-shadow 0.3s, opacity 0.3s;

    z-index: 1000;
}

.stickyBadge:hover {
    box-shadow: 4px 4px 7px 0 rgba(0, 0, 0, 0.8);;
}

@media screen and (max-width: 1000px) {
    .welcomeText {
        float: left;
        left: 25%;
        min-width: 40vw;
        max-width: 80vw;
        text-align: left;
    }
}

@media screen and (max-width: 910px), screen and (max-height: 940px) {
    .welcomeText h1 {
        font-size: 3em;
    }

    .welcomeText h2 {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 750px) {

    .welcomeText h1 {
        font-size: 2.5em;
    }

    .welcomeText h2 {
        font-size: 1.3em;
    }


}

@media screen and (max-width: 800px) {
    nav {
        bottom: 0px;
    }

    nav a {
        font-size: 1em;

        -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
        -khtml-user-select: none; /* Konqueror HTML */
        -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none;
        /* Non-prefixed version, currently
                                         supported by Chrome, Edge, Opera and Firefox */
    }

    .navLinks {
        left: calc(50vw + 16px);
        transform: translateX(-50%);
    }

    .downArrow {
        display: none;
    }

    .resume {
        padding-bottom: 110px;
    }

    .stickyBadge {
        --size: 100px;
        top: calc(100vh - var(--size) - 114px)
    }

}

@media screen and (max-width: 600px) {
    .welcomeText {
        min-width: 60vw;
    }
}