@font-face {
    font-family: "Ridgeline201";
    src: url("fonts/Ridgeline201-Regular.otf");
}

@font-face {
    font-family: "Geist";
    src: url("fonts/GeistVF.woff");
}

html{
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    
}

body ::-webkit-scrollbar{
    display: hidden;
    
}

body{
    background-image: linear-gradient(to bottom, rgb(76, 94, 97), rgb(0,0,0));
    width: 100%;
    margin: auto;
    /* overflow-x: hidden; */
    font-family: "Ridgeline201";
    -webkit-overflow-scrolling: touch;
}

p{
    font-family: "Geist";
    /* color: white; */
}

h1{
    font-size: 5rem;
    color: white;
}

/* h2{
    color: white;
} */

span{
    font-size: 2.5rem;
}

header{
    background: linear-gradient(155deg,rgba(100, 0, 0, 0.2), rgba(0,0,0,0)),
                url("images/stairs.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    padding: 3% 0 0 5%;
    background-attachment: fixed;
    /* position: relative; */
}

header .headerGreeting{
    width: 80%;
    height: 30%;
    position: absolute;
    text-align: left;
    display: block;
}
    
header .headerGreeting h1{
    margin-bottom: 0;
}
    
    
    
nav ul {
    width: 1em;
    padding: 0;
    margin: 2rem 0 0 0; 
}

nav ul li{
    display: block;
    padding: 1rem 0 0 0;
    float: left;
}
    
nav ul li a{
    display: block;
    font-size: 1.5rem;
    text-decoration: none;
    color: white;
    
}

.latestProject{
    margin: 0;
    height: 500px;
    width: 50%;
    background-color: white;
    float: left;
}

.divContent{
    padding: 6% 10% 0 10%;
}

.latestProjectPreview{
    margin: 0;
    height: 500px;
    width: 50%;
    background-color: black;
    overflow: hidden;
    display: block;
}
    
.latestProjectPreview video{ 
    object-fit: cover;
}

#portfolio{
    margin-top: 3%;
    margin-left: auto;
    margin-right: auto;
    width: 92%;    
    overflow: hidden;
}

#portfolio h2{
    text-align: center;
    margin-bottom: 3%;
    color: white;
}

.row {
    justify-content: space-evenly;
    display: flex;
    flex-wrap:wrap;
}

.column {
    flex: 24%;
    max-width: 24%;
    justify-content: space-evenly;
}

.column video {
    margin-top: 2.5%;
    width: 100%;
    max-width:100%;
    border-radius: 10px;
    max-width: 100%;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

.column video:hover{
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform:translateY(-5px);
    box-shadow: 5px 10px 10px 10px rgba(0,0,0,0.5);
}

.column img {
    margin-top: 2.5%;
    width: 100%;
    max-width:100%;
    border-radius: 10px;
    max-width: 100%;
    -moz-transition: all 0.3s;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}


.column img:hover{
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform:translateY(-5px);
    box-shadow: 5px 10px 10px 10px rgba(0,0,0,0.5);
}

footer{
    margin-top: 100px;
    padding: 0 0 0 5%;
    background-color: black;
    width: 100%;
    height: 50px;
    position: relative;
    bottom: 0;
    background: black;
    display: block;
    box-sizing: border-box;
    
}
    
footer p{
    
    color: aliceblue;
}    
    
.hidden {
    opacity:0;
}

.console-container {
  
    text-align:left;
    display:block;
    color:white;
}

.console-underscore {
    font-size:2.5rem;
    display:inline-block;
    position:relative;
}



@media screen and (max-height: 1500px){
    header .headerGreeting{
        bottom: 0;
    }
}

@media screen and (max-height: 500px){
    header .headerGreeting{
        bottom: auto;
        top: 20;
    }

    .navigation{
        display: none;
    }

    .console-underscore {
        font-size:1rem;
    }

    body h1{
        font-size: 2rem;
    }

    body span{
        font-size: 1rem;
    }
}


@media screen and (max-width: 1000px) {
    
    .column {
        justify-content: space-evenly;
        flex: 49%;
        max-width: 49%;
    }
}

@media screen and (max-width: 650px){
    .console-underscore {
        font-size:1rem;
    }

    body h1{
        font-size: 2rem;
    }

    body span{
        font-size: 1rem;
    }

    
}

@media screen and (max-width: 500px){
    .column {
        flex: 100%;
        max-width: 100%;
        min-width:80%;
    }

    .latestProject{
        width:100%;
    }

    .latestProjectPreview{
        width:100%;
    }

    header{

        background: linear-gradient(155deg,rgba(100, 0, 0, 0.2), rgba(0,0,0,0)),
        url("images/stairs_1024.jpg");
        background-position: 50% 0; 
        background-size: cover;
        background-repeat: no-repeat;
        height: 100vh;
        padding: 3% 0 0 5%;
        background-attachment: fixed;

    }

    header{
        padding-top: 10%;
    }

    header .headerGreeting{
        top: auto;
        bottom: 0;
        height: 20%;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
    header {
        background-attachment: scroll; /* Adjusted for iOS */
    }
}



