:root {
  --black: rgb(30,30,30);
  --white: #FAFAFA;
  --borderRadius: 8px;
}

* {
    font-family: "Segoe UI";
    color: var(--black);
}
.home-body {
    margin-left: 0;
    margin-right: 0;
}

.navLogo {
    height: calc(10px + 1vw);
    vertical-align: -3px;
}

.nav {
    display: flex;
    position: absolute;
    justify-content: center;
    margin-top: 5px;
    width: 100%;
    overflow: hidden;
}

.nav ul {
    clear: left;
    float: left;
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: var(--black);
    border-radius: var(--borderRadius);
}

.nav>ul>li {
    display: inline;
    float: left;
    margin: 0;
    padding: 0;
}

.nav>ul>li a {
    display: block;
    padding: 5px calc(5px + 3vw);
    text-decoration: none;
    font-weight: bold;
    color: var(--white);
    font-size: calc(6px + .9vw);
    border: calc(1px + .2vw) solid var(--black);
    border-radius: var(--borderRadius);
}

.active>a, .active>a:visited {
    background-color: var(--white);
    color: var(--black);
}

.active>a>.navLogo {
    -webkit-filter: invert(100%);
}

.intro {
    padding: 30% 2% 2% 2%;
    font-size: calc(10px + 1.2vw);
}

.experience {
    margin: 10% 2%;
}

h3 {
    font-size: calc(10px + .7vw);
}

h1 {
    font-size: calc(10px + 2.2vw);
}

#home-projects-title {
    font-size: calc(16px + .8vw);
    text-align: center;
    border-bottom: 2px solid var(--black);
}

.picture, .homeImage {
    width: 100%;
    height: auto;
    border: calc(2px + .2vw) solid var(--black);
    border-radius: var(--borderRadius);
}
.picture {
    margin-bottom: 20px;
}

.article {
    font-size: calc(12px + .5vw);
    padding: 30px 10px;
}

form>input, form>textarea {
    width: 100%;
    margin-bottom: 20px;
    font-size: calc(8px + .7vw);
}

textarea {
    padding-bottom: 10%;
}

.githubLogo {
    height: calc(10px + 1.2vw);
    width: auto;
}

.button, button, input[type="submit"] {
    background-color: var(--black);
    border-color: var(--black);
    color: var(--white);
    border-width: calc(1px + .2vw);
    border-radius: var(--borderRadius);
    padding: calc(0px + .3vw) calc(5px + .6vw);
    text-decoration: none;
    vertical-align: calc(1px + .6vw);
    font-weight: bold;
    font-size: calc(5px + .6vw);
}

/* works section css */

.centered {
    width: 100%;
    text-align: center;
    color: var(--white);
}

.workContainer::before, .workContainer::after {
    position: absolute;
    content: '';
    right: 0;
    left: 0;
    margin: 0 auto;
    z-index: -1;
}
.workContainer::before {
    background: url("./Website-Files/border-top.png") no-repeat center bottom;
    background-size: contain;
    bottom: 100%;
    padding-bottom: 13.6%;
}
.workContainer::after {
    background: url("./Website-Files/border-bot.png") no-repeat center top;
    background-size: contain;
    top: 100%;
    padding-bottom: 6.3%;
}

.workContainer {
    position: relative;
    width: 100%;
    margin: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    background-color: var(--black);
}

.workImgDiv {
    width: 100%;
}

.workImage {
    width: 100%;
    height: auto;
}

/* TEST CSS */

.container {
    display: flex;
    overflow: auto;
    border: calc(1px + .2vw) solid var(--black);
    border-radius: var(--borderRadius);
    flex: none;
    flex-flow: row nowrap;
    scroll-snap-type: x mandatory;
}

.container>div {
    scroll-snap-align: center;
    flex: none;
}

.container.work-carousel {
    margin: auto;
    width: 80%;
}

.container.work-carousel>div {
    width: 80%;
}
.galleryImage, canvas{
    height: calc(50px + 20vw);
    width: auto;
}


@media (min-width:750px) {
    .nav {
        display: block;
        margin-left: 2%;
        width: 98%;
    }
    .nav ul {
        left: 0%;
    }
    .nav>ul>li {
        right: 0%;
    }
    .navLogo {
        height: calc(8px + .9vw);
    }
    .intro {
        padding: 23% 2% 2% 2%;
        width: 62%;
        float: left;
    }
    .experience {
        width: 30%;
        float: right;
        margin: 0 2%;
    }
    .picture {
        width: 60%;
        height: auto;
        border: 5px solid var(--black);
    }
    .article {
        font-size: calc(14px + .3vw);
        padding: 3% 10% 2% 5%;
    }
    .container.work-carousel {
        width: 60%;
    }
}

@media (min-width:1000px) {
    .article {
        padding: 3% 20% 2% 10%;
    }
}

@media (hover: hover) {
    .button:hover, button:hover, input[type="submit"]:hover {
        background-color: var(--white);
        color: var(--black);
        cursor: pointer;
    }
    .nav>ul>li a:hover, .active>a, .active>a:visited {
        background-color: var(--white);
        color: rgb(30, 30, 30)
    }
    .nav>ul>li a:hover>.navLogo, .active>a>.navLogo {
        -webkit-filter: invert(100%);
    }
}