@font-face {
    font-family: 'A-OTF Shin Go Pro R';
    font-style: normal;
    font-weight: normal;
    src: local('A-OTF Shin Go Pro R'), url('AOTFShinGoProHeavy.woff') format('woff');
    }

body {
    background-color: rgb(34, 34, 34);
    margin: 0;
}

#wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
    grid-template-rows: 80px 370px 515px 370px 300px 350px 600px 200px;
    
}

header {
    background-color: rgb(22, 22, 22);
    grid-column: 1 / -1;
    grid-row: 1 / 2;
}

#headertext {
    background-color: rgb(22, 22, 22);
    grid-column: 2 / 5;
    grid-row: 1 / 2;
    display: flex;
    align-items: center;
    margin-left: 20px;
}

#headertext img {
    border-radius: 100px;
    width: 55px;
    height: 55px;
    margin-right: 15px;
}

#headertext h2 {
    font-family: A-OTF Shin Go Pro R;
    
    font-size: 2rem;
}

#headertext a {
    text-decoration: none;
    color: rgb(228, 148, 0);
}

.hamburger {
    display: none;
}

nav {
    background-color: rgb(22, 22, 22);;
    grid-column: 5 / 8;
    grid-row: 1 / 2;
    font-family: A-OTF Shin Go Pro R;
    display: flex;
    align-items: center;
    justify-content: right;
    margin-right: 20px;
}

nav ul {
    list-style-type: none;
    display: flex;
    flex-flow: row nowrap;
}

nav a {
    text-decoration: none;
    color: white;
    margin-left: 50px;
    font-size: 1.2rem;
}

nav a:hover {
    color:rgb(208, 208, 208);
}

#hero {
    background-image: url('images/hero.jpg');
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero h2 {
    color: rgb(238, 238, 238);
    margin-bottom: 0px;
    font-size: 2.5em;
    font-family: A-OTF Shin Go Pro R;
    text-align: center;
}

#hero p {
    color: rgb(238, 238, 238);
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    width: 600px;
    text-align: center;
    margin-top: 0px;
}

#hero input {
    background-color: rgb(228, 148, 0);
    color: white;
    padding: 2px 20px;
    padding-bottom: 4px;
    text-align: center;
    border: none;
    border-radius: 6px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 40px;
}

#hero input:hover {
    background-color: rgb(202, 141, 30);
}

#projects {
    grid-column: 2 / 8;
    grid-row: 3 / 4;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#projects h3 {
    font-family: A-OTF Shin Go Pro R;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
    margin-top: 40px;
}

#imagecontainer {
    display: flex;
    flex-direction: row;
    flex-flow: row nowrap;
    justify-content: space-between;
    width: 95%;
}

#imagecontainer img {
    height: 300px;
    width: 300px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    
}

#imagecontainer h4 {
    color: white;
    text-align: center;
    font-family: A-OTF Shin Go Pro R;
    margin-top: 10px;
}

#imagecontainer img:hover {
    opacity: 60%;
}

.divider {
    border-bottom: 6px solid orange;
    border-radius: 2px;
    width: 100px;
    margin-bottom: 50px;

}

#skills {
    background-color: rgb(22, 22, 22);
    grid-column: 1 / -1;
    grid-row: 4 / 5;
}

#skillscontainer {
    grid-column: 2 / 8;
    grid-row: 4 / 5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#skillscontainer p {
    color: white;
    font-family: A-OTF Shin Go Pro R;
    width: 600px;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

#rowbox {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 95%;
}

.skill {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.skill img {
    height: 80px;
}

.skill h3 {
    color: white;
    font-family: A-OTF Shin Go Pro R;
    font-size: 1.3rem;
}


#blogs {
    grid-column: 2 / 8;
    grid-row: 5 / 6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: nowrap column;

    width: 100%;
}

.blog {
}

.blog h3 {
    color: white;
    font-family: A-OTF Shin Go Pro R;
    margin: 5px 15px 0px;
    font-size: 1.2rem;
    text-align: center;
}

.blog h6 {
    color: rgb(103, 106, 106);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 0px 15px 10px;
    font-size: small;
    text-align: center;
}

.blog p {
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 5px 15px 0px;
    font-size: 0.9rem;
    text-align: center;
}

.vertdivider {
    height: 73%;
    border-left: 5px solid orange;
    border-radius: 2px;
}

#about {
    background-color: rgb(22, 22, 22);
    grid-column: 1 / -1;
    grid-row: 6 / 7;
}

#aboutcontainer {
    grid-column: 2 / 5;
    grid-row: 6 / 7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

#aboutcontainer h2 {
    color: white;
    font-family: A-OTF Shin Go Pro R;
    margin-right: 30px;
    margin-bottom: 5px;
}

#aboutdivider {
    width: 200px;
    border-bottom: 5px solid orange;
    border-radius: 5px;
    margin-right: 30px;
    margin-bottom: 10px;
}

#aboutcontainer p {
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: right;
    width: 90%;
    margin-right: 30px;
    margin-bottom: 30px;
}

#profilepic{
    background-image: url('images/pp.jpg');
    grid-column: 5 / -1;
    grid-row: 6 / 7;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

#contact {
    grid-column: 2 / 8;
    grid-row: 7 / 8;
}

#form {
    grid-row: 7 / 8;
    grid-column: 3 / 7;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#form h2 {
    color: rgb(208, 207, 207);
    font-family: A-OTF Shin Go Pro R;
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 5px;
}

#formdivider {
    border-bottom: 6px solid orange;
    border-radius: 2px;
    width: 100px;
}

#contactform {
    background-color: rgb(60, 60, 60);
    height: 400px;
    width: 550px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contactform input {
    width: 93%;
    margin: 20px 10px 0px;;
    height: 50px;
    background-color: rgb(41, 41, 41);
    border-style: none;
    color: rgb(208, 208, 208);
    box-sizing: border-box;
    padding: 10px;
}

#contactform textarea {
    background-color: rgb(41, 41, 41);
    border-style: none;
    width: 93.5%;
    height: 100%;
    margin: 20px 0px 20px;
    resize: none;
    padding: 10px;
    box-sizing: border-box;
    color: rgb(208, 208, 208);
}

#contactform input::placeholder, #contactform textarea::placeholder {
    color:rgb(81, 81, 81);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#contactform input:focus, #contactform textarea:focus {
    border-color: black;
    outline: none;
    background-color: rgb(33, 33, 33);
}

footer {
    grid-column: 2 / 8;
    grid-row: -2 / -1;
}

#footernav {
    grid-column: 2 / 4;
    grid-row: -2 / -1;
}

#footernav ul {
    list-style-type: none;
    padding: 0;
}

#footernav a {
    text-decoration: none;
    color: rgb(135, 135, 135);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

#footernav li {
    padding: 5px 10px;
}

#socials {
    text-align: center;

}

#socials a {
    text-decoration: none;
    color:rgb(173, 173, 173);
    font-size: 2rem;
    margin: 0 10px 10px;
}

#copy {
    grid-column: 4 / 6;
    grid-row: -2 / -1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

#copy p {
    color:rgb(81, 81, 81);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: .7rem;
    margin-bottom: 20px;
}

#contactinfo {
    grid-column: 6 / 8;
    grid-row: -2 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#contactinfo h2 {
    color: rgb(230, 230, 230);
    font-family: A-OTF Shin Go Pro R;
    margin: 15px 5px 0;
}

#contactinfo p {
    color:rgb(81, 81, 81);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 0 5px 0;
    font-size: small;
}

/* About Page */
/*--------------------------------*/

#aboutwrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
    grid-template-rows: 80px 950px 200px;
    
}

#aboutsection {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    display: flex;
    flex-flow: nowrap column;
    align-items: center;
}

#aboutsection img {
    clip-path: circle();
    width: 400px;
    margin: 50px;
}

#aboutsection h2 {
    color: white;
    text-align: center;
    font-family: A-OTF Shin Go Pro R;
    margin-top: 10px;
}

#aboutsection p {
    color: white;
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    width: 500px;
    margin-top: 10px;
    font-size: small;
    margin-top: 0px;
    text-align: left;
    line-height: 1.4;
}

/* Portfolio Page */
/*--------------------------------*/


#portfoliowrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
    grid-template-rows: 80px 3000px 200px;
    
}

#portfoliosection {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    display: flex;
    flex-flow: nowrap column;
    align-items: center;

}

#portfoliosection video {
    width: 900px;
}

#portfoliosection h2 {
    color: white;
    font-family: A-OTF Shin Go Pro R;
    margin-top: 60px;
    margin-bottom: 0px;

}

#portfoliosection h5 {
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin-top: 0px;
    margin-bottom: 30px;
}

#realestatephotos {
    display: flex;
    flex-flow: wrap;
    width: 850px;

}

#realestatephotos img {
    width: 405px;
    margin: 25px 10px 5px;
}

#automotivephotos {
    display: flex;
    flex-flow: wrap;
    width: 850px;
}

#automotivephotos img {
    width: 405px;
    height: 250px;;
    margin: 25px 10px 5px;
    object-fit: cover;
}

#personalbrand {
    display:flex;
    width: 900px;
    justify-content: space-between;
}

#personalbrand video {
    width: 280px;
}

/* Responsive CSS */
/*----------------------------------------------------*/



@media only screen and (max-width: 992px) {
    #wrapper,
    #aboutwrapper,
    #portfoliowrapper {
        grid-template-columns: minmax(0, 1fr) repeat(6, minmax(0, 128px)) minmax(0px, 1fr);
        
    }

    #headertext h2 {
        font-size: 1.7rem;
    }

    nav a {
        text-decoration: none;
        color: white;
        margin-left: 30px;
        font-size: 1rem;
    }

    #hero h2 {
        font-size: 2em;
    }

    #projects {
        grid-column: 1 / -1;
    }

    #imagecontainer img {
        width: 230px;
        height: auto;
    }

    #rowbox {
        width: 90%;
    }
}

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

    #portfoliowrapper{
        grid-template-rows: 80px 4350px 200px;
    }

    #personalbrand {
        display:flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        height: 900px;
    }

    #automotivephotos {
        display: flex;
        flex-flow: column;
        align-items: center;
    }

    #realestatephotos {
        display: flex;
        flex-flow: column;
        align-items: center;
    }

    #portfoliosection video {
        width: 500px;
    }

    #personalbrand video {
        width: 280px;
    }

    #wrapper {
        grid-template-columns: minmax(0, 1fr) repeat(6, minmax(0, 175px)) minmax(0px, 1fr);
        grid-template-rows: 60px 370px 515px 300px 170px 350px 600px 150px;
    }

    header {
        position: sticky;
        top: 0;
    }

    #headertext {
        grid-column: 2 / 7;
        position: sticky;
        top: 0;
    }

    #headertext img {
        width: 40px;
        height: 40px;
    }

    #headertext h2 {
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
        overflow: hidden;
        position: relative;
    }
    
    #hambuttons {
        display: none;
        background-color: rgb(22, 22, 22);
        font-family: A-OTF Shin Go Pro R;
        z-index: 100;
        width: 100%;
        margin-top: 60px;
    }

    .hamburger a {
        color: white;
        text-decoration: none;
        display: block;
        padding: 14px 16px;
        text-align: right;
    }

    .hamburger a.icon {
        display: block;
        font-size: 1.5rem;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 99;
        margin: 4px;
    }

    .hamburger a:hover {
        background-color: rgb(34, 34, 34);
    }


    

    nav {
        display: none;
    }

    #hero h2 {
        width: 90%;
        font-size: 1.5rem;
    }

    #hero p {
        width: 90%;
        font-size: 0.8rem;
    }
    
    #imagecontainer {
        overflow: auto;
        white-space: nowrap;
        height: 60%;
    }

    #imagecontainer img {
        margin: 0px 20px 0px;
    }

    #skillscontainer {
        justify-content: center;
    }

    #skillscontainer p {
        width: 80%;
        font-size: 1rem;
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .skill img {
        height: 40px;
    }

    .skill h3 {
        font-size: .8rem;
    }

    #blogs {
        width: 100%;
        overflow: auto;
    }

    .blog {
        height: 80%;
        width: 100%;
    }

    .blog h3 {
        font-size: .9rem;
    }

    .blog h6 {
        font-size: .6rem;
    }

    .blog p {
        font-size: .7rem;
        height: 125px;
        overflow: hidden;
    }

    #aboutcontainer {
        margin-left: 20px;
    }

    #aboutcontainer h2 {
        font-size: 1.3rem;
    }

    #aboutcontainer p{
        font-size: .8rem;
    }

    #aboutdivider {
        width: 80%;
    }

    #profilepic{
        background-position: 30%;
    }

    #form h2 {
        font-size: 1.3rem;
    }

    #contactform {
        width: 100%;
    }

    #footernav {
        display: none;
    }

    #contactinfo {
        grid-column: 3 / 7;
        align-items: center;
    }

    #contactinfo h2 {
        display: none;
    }

    #socials{

    }

    #copy {
        grid-column: 3 / 7;
    }

}