body, html {
    margin: 0;
    padding: 0;
    background-color: black;
    color:white;
    scroll-behavior: smooth;
}
#header {
    width: 100%;
    height: 600px;
    position: relative;
    
}
#imageSlider {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display:grid;
    align-content: center;
    justify-items: center;
}

#imageSlider img {
    position: absolute;
    width: max-content;
    height: max-content;
    transition: opacity 1s;
}

#imageSlider div {
    width: 100%;
    height: 100%;
   /* background-image: url("Assets/teest.png");*/
    background-repeat: no-repeat;
    background-position: center;
    background-size:cover;
}

#imageSlider video {
    justify-self: center;
}

/*SlideShow*/
.fade {
    animation: fade 1.5s ease-in-out;
    
  }
  
  @keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
  }

.fadeout {
    animation: fadeout 1.5s;
  }
  
  @keyframes fadeout {
    0% { 
        opacity: 1;
        display: block;
    }
    99% {
        opacity: 0;
        display: block;
    }
    100% {
        opacity: 0;
        display: none;
    }
  }
/*SlideShow*/ 
  
#header #nameTitle {
    width: 100%;
    height: 100%; 
    display: grid;
}


#social {
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    scale: 20% 20%;
    transform-origin: 10% 100%;
}

#header nav {
    display:grid;
    height: 40px;
    z-index: 2;
}

#header nav ul {
    height:100%;
    align-items: center;
    color:black;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    list-style: none;
    text-align:center;
    margin:0;
    padding:0;
    background-color: rgb(49, 49, 49);
}

#header nav ul a {

    text-decoration: none;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    
}

#header nav ul a:hover {

    color: white;
    font-size: larger;
    text-shadow: 2px 2px 0 #000000, 2px -2px 0 #000000, -2px 2px 0 #000000, -2px -2px 0 #000000, 2px 0px 0 #000000, 0px 2px 0 #000000, -2px 0px 0 #000000, 0px -2px 0 #000000;
}

.fixedBar {
    position: fixed;
    width:100%;
    top: 0;
}

#work {
    display:grid;
    justify-content: center;
}


h2 {
    color:white;
    margin-top:8%;
    margin-bottom: 5%;
    text-align: center;
    font-size: 40pt;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 5pt;
}

:target:before {
    content: "";
    display: block;
    height: 1px;
    margin: -0px 0 0;
}

h3 {
    color:white;
    text-align: center;
    font-size: 13pt;
    font-family: sans-serif;
    margin-top:-4%;
    font-weight: lighter;
}

#aboutGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
}

#about article {
    margin-left: 10%;
    margin-right: 15%;
    line-height: 20pt;
    font-size: 15pt;
}

@media only screen {
    #about img {
        width:100%;
    }
    #wrapper {
        overflow-x:hidden;
    }

}

/* @media only screen and (max-width: 370px) {

.category {
    grid-template-rows: repeat(5, 120px);
}
    

} */

@media only screen and (max-width: 600px) {

    #header h1 {
        justify-self: center;
        align-self: center;
        text-align: center;
        margin: 0;
        position: absolute;
        z-index: 1;
        font-size: 80pt;
        font-family: 'Roboto', sans-serif;
        color:white;
        text-shadow: 3px 6px 2px #000000;
        /*-webkit-text-stroke: 2px black;*/
    }
    

    #imageSlider video {
        height:80%;
        align-self: center;
        display:flex;
        margin-right: 60%;
    }
    
    #about article {
        font-size: 10pt;
        line-height: 10pt;
    }

    #desktopClick {
        display:none;
    }

    #mobileClick {
        display:block;
    }

    .category {
        grid-template-columns: 1fr 1fr;
        display: grid;
        overflow-x: hidden;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 20px;

    }
    .project {
        
        display:flex;
        position:relative;
        /* width:fit-content;
        height: max-content; */
        height: 160px;
        width: 100%;
        overflow: hidden;
  
    }
    /* .project img {
        width: auto;
        height: 10%;
        overflow: hidden;
        justify-self: center;
        display:flex;
    } */
    .project :first-child {
        height: fit-content;
        width: 100%;
        align-self: center;

    }
    
    .project article {
        
        display: none; 
        position: absolute;
        text-align: right;
        justify-self: right;
        bottom:0px;
        font-size: 15pt;
        margin-right: 10px;
        margin-bottom: 10px;
    }
}

@media only screen and (min-width: 600px) {

    #header h1 {
        justify-self: center;
        align-self: center;
        text-align: center;
        margin: 0;
        position: absolute;
        z-index: 1;
        font-size: 100pt;
        font-family: 'Roboto', sans-serif;
        color:white;
        text-shadow: 3px 6px 2px #000000;
        /*-webkit-text-stroke: 2px black;*/
    }    

    #desktopClick {
        display:block;
    }

    #mobileClick {
        display:none;
    }

    .category {
        display:grid;
        grid-template-columns: 400px 400px 400px;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 50px;
    }
    .project {
        display:grid;
        position:relative;
        align-content: center;
        /* width:fit-content;
        height: max-content; */
        height: 350px;
        overflow: hidden;
    }
    .img {
        width: 100%;
        height: 100%;
        overflow: hidden;
        justify-content: center;
        display:flex;
    }

    .project :first-child {
        height: max-content;
        width: 400px;
    }
    
    .project article {
        
        display: none; 
        position: absolute;
        text-align: right;
        justify-self: right;
        bottom:0px;
        font-size: 20pt;
        margin-right: 10px;
        margin-bottom: 10px;
    }
}


#bold {
    font-weight: bold;
}

.category {
    align-self: center;
}



.project:hover img{
    animation: darken 0.3s linear;
    filter:brightness(60%);
}

.project:hover article{
    animation: fade 0.3s linear;
    display:block;
}

@keyframes darken {
    0% { 
        filter:brightness(100%);
    }
    100% {
        filter:brightness(60%);
    }
}

article {
    font-family: 'Roboto', sans-serif;
}

.project iframe {
   height:100%;
   width:900px;
} 




/* .img img {
    width: auto;
    max-width: 100%;
    height: 100%;
} */

