@font-face 
{
    font-family: "TrajanusBricks";
    src: url("fonts/TrajanusBricks.ttf") format("truetype");
}
*
{
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}
body
{
    font-family: 'Lato', sans-serif;
    background-color: #222222;
    width: 100%;
}
nav
{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    box-sizing: border-box;
    height: 20px;
    background-color: #272727;
    padding:20px 0 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "TrajanusBricks", sans-serif;
    -webkit-box-shadow: 0px 11px 14px -2px #1d1d1dbf;
    -moz-box-shadow:    0px 11px 14px -2px #1d1d1dbf;
    box-shadow:         0px 11px 14px -2px #1d1d1dbf;
}
nav img
{
    height: 41px;
}
nav a
{
    text-decoration: none;
    color: #aaaaaa;
    transition: .5s all;
}
nav a:hover
{
    color: #8b8b8b;
}
ul
{
    width: 60%;
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
h1
{
    position: absolute;
    bottom: -200px;
    font-family: "TrajanusBricks";
    color: #ffffff;
    font-size: 40px;
    z-index: 9;
    text-align: center;
    word-spacing: 10px;
}
main
{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    width: 100%;
    -webkit-box-shadow: 0px 11px 14px 2px #1d1d1dbf;
    -moz-box-shadow:    0px 11px 14px 2px #1d1d1dbf;
    box-shadow:         0px 11px 14px 2px #1d1d1dbf;
}
header
{
    width: 100%;
    z-index: 2;
    overflow-y: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-box-shadow: 0px 11px 14px -2px #323232bf;
    -moz-box-shadow:    0px 11px 14px -2px #323232bf;
    box-shadow:         0px 11px 14px -2px #323232bf;
}
header h2, h5
{
    color: #ffffff;
    font-family: "TrajanusBricks";
    word-spacing: 20px;
}
@keyframes scroll 
{
    0% { opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0;}
}
.portfolioHead, .aboutHead, .contactHead
{
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 809px;
    width: calc(100% / 3);
    transition: ease-in-out all .5s;
}
.portfolioHead:before, .aboutHead:before, .contactHead:before
{
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #272727;
    opacity: 0.2;
    transition: .5s all;
}
.portfolioHead:hover:before, .aboutHead:hover:before, .contactHead:hover:before
{
        opacity: 0.8;
}
.portfolioHead a, .aboutHead a, .contactHead a
{
    z-index: 7;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.portfolioHead
{
    z-index: 7;
    background-image: url(images/home/portfolioMain.jpg);
    background-size: cover;
    background-position: center;
    -webkit-box-shadow: 9px 0px 19px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow:    9px 0px 19px 0px rgba(0, 0, 0, 0.75);
    box-shadow:         9px 0px 19px 0px rgba(0, 0, 0, 0.75);
}
.aboutHead
{
    background-image: url(images/home/aboutMain.jpg);
    background-size: cover;
    background-position: center;
}
.contactHead
{
    z-index: 7;
    background-image: url(images/home/contactMain.jpg);
    background-size: cover;
    background-position: center;
    -webkit-box-shadow: -9px 0px 19px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow:    -9px 0px 19px 0px rgba(0, 0, 0, 0.75);
    box-shadow:         -9px 0px 19px 0px rgba(0, 0, 0, 0.75);
}
.scroll-down 
{
    z-index: 10;
    position: absolute;
    right: 0;
    bottom: 2%;
    left: 0;
    margin: auto;
    
    width :34px;
    height: 55px;
}
.mouse 
{
    z-index: 10;
    width: 3px;
    padding: 10px 15px;
    height: 35px;
    border: 2px solid #fff;
    border-radius: 25px;
    opacity: 0.75;
    box-sizing: content-box;
}
.scroller 
{
    z-index: 10;
    width: 3px;
    height: 10px;
    border-radius: 25%;
    background-color: #fff;
    animation-name: scroll;
    animation-duration: 2.2s;
    animation-timing-function: cubic-bezier(.15,.41,.69,.94);
    animation-iteration-count: infinite;
}
.portfolioMainHome
{
    padding-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    z-index: 1;
    height: 465px;
    width: 100%;
    overflow-y: hidden;
    position: relative;
    background-image: url(images/home/portfolioSectionBackground.jpg);
    background-size: cover;
    background-position: center;
}
.aboutMainHome
{
    padding-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    z-index: 4;
    height: 495px;
    width: 50%;
    overflow-y: hidden;
    position: relative;
    background-color: #272727;
    -webkit-box-shadow: 7px 4px 16px 0px #202020bf;
    -moz-box-shadow:    7px 4px 16px 0px #202020bf;
    box-shadow:         7px 4px 16px 0px #202020bf;
}
.contactMainHome
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    z-index: 1;
    height: 530px;
    width: 50%;
    overflow: hidden;
    position: relative;
}
.portfolioMainHome:before, .aboutMainHome:before, .contactMainHome:before, .aboutHeader:before, .aboutMain:before, .contactForm:before
{
    z-index: 2;
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #272727;
    opacity: 0.8;
    transition: .5s all;
}
.aboutHeaderIn
{
    z-index: 2;
    font-family: "Lato", sans-serif;
    color: #fff;
    width: 50%;
    height: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;
}
.portfolioMainTextHome
{
    z-index: 2;
    line-height: 22px;
    font-family: "Lato", sans-serif;
    color: #fff;
    width: 100%;
    height: 206px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}
.aboutMainTextHome
{
    line-height: 22px;
    font-family: "Lato", sans-serif;
    color: #fff;
    width: 50%;
    height: 446px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    text-align: justify;
}
.contactMainTextHome
{
    line-height: 22px;
    font-family: "Lato", sans-serif;
    color: #fff;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}
.aboutMainTextHome p, .contactMainTextHome p
{
    font-size: 16px;
}
.aboutMainTextHome h3
{
    font-family: "TrajanusBricks", sans-serif;
    font-size: 26px;
    color: #dadada;
    word-spacing: 50px;
}
.contactMainTextHome h3
{
    font-family: "TrajanusBricks", sans-serif;
    font-size: 26px;
    color: #dadada;
    word-spacing: 30px;
}
.portfolioMainTextHome h3, .aboutHeaderIn h3
{
    font-family: "TrajanusBricks", sans-serif;
    font-size: 46px;
    color: #dadada;
    word-spacing: 50px;
}
.portfolioMainTextHome a, .aboutMainTextHome a, .contactMainTextHome a, .aboutHeaderIn a
{
    text-decoration: none;
    color: #aaaaaa;
    transition: .5s all;
    padding: 10px 25px 10px 25px;
    background-color: #ffffff;
}
.portfolioMainTextHome a:hover, .aboutMainTextHome a:hover, .contactMainTextHome a:hover, .aboutHeaderIn a:hover
{
    color: #8b8b8b;
}
.aboutImageBackground
{
    z-index: 1;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}
.portfolioMainInHome
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    z-index: 2;
    margin: 40px;
    height: 206px;
    width: 90%;
}
.aboutMainInHome
{
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 2;
    margin: 40px;
    height: 446px;
    width: 95%;
}
.contactMainInHome
{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    z-index: 2;
    margin: 40px;
    height: 446px;
    width: 95%;
}
.portfolioMainInHome img
{
    width: 30%;
    -webkit-box-shadow: 0px 11px 14px -2px #1d1d1dbf;
    -moz-box-shadow:    0px 11px 14px -2px #1d1d1dbf;
    box-shadow:         0px 11px 14px -2px #1d1d1dbf;
}
.aboutMainInHome img, .contactMainInHome img
{
    width: 15%;
}
.split
{
    display: flex;
}
.contactForm
{
    padding-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 791px;
    width: 100%;
    overflow-y: hidden;
    background-color: #272727;
    -webkit-box-shadow: 0px 9px 16px 0px #202020bf;
    -moz-box-shadow:    0px 9px 16px 0px #202020bf;
    box-shadow:         0px 9px 16px 0px #202020bf;
    background-image: url(images/contact/mainContact.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}
form
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 85%;
    line-height: 40px;
    padding: 0;
    z-index: 3;
}
form p 
{
    color: #ffffff;
    font-family: "TrajanusBricks";
}
.button
{
    cursor: pointer;
    width: 20%;
    height: 33px;
    border: none;
    margin: 30px;
    border-radius: 7px;
    font-family: "TrajanusBricks";
    letter-spacing: 10px;
    word-spacing: 10px;
}
.buttondiv
{
    width: 80%;
}
.input
{
    font-size: 20px;
    background-color: #cbcbcb;
    border-radius: 5px;
    width: 100%;
    height: 41px;
    font-family: "Lato";
    border: none;
}
textarea
{
    width: 100%;
    height: 100px;
    font-family: "Lato";
    border-radius: 5px;
    background-color: #cbcbcb;
    border: none;
}
textarea:focus, .input:focus
{
    background-color: #ffffff;
}
.contactForm h3
{
    margin-bottom: 50px;
    width: auto;
    text-align: center;
    word-spacing: 50px;
    font-family: "TrajanusBricks";
    font-size: 46px;
    color: #fff;
    z-index: 3;
}
.aboutPreview
{
    padding-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    z-index: 4;
    height: 413px;
    width: 50%;
    overflow-y: hidden;
    position: relative;
    background-color: #272727;
    -webkit-box-shadow: 0px 9px 16px 0px #202020bf;
    -moz-box-shadow:    0px 9px 16px 0px #202020bf;
    box-shadow:         0px 9px 16px 0px #202020bf;
}
.aboutMain
{
    padding-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    z-index: 4;
    height: 448px;
    width: 100%;
    overflow-y: hidden;
    position: relative;
    background-color: #272727;
    background-image: url(images/about/aboutBackground.jpg);
    background-size: cover;
    background-position: center;
}
.aboutPreviewText
{
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 2;
    margin: 40px;
    height: 333px;
    width: 95%;
    line-height: 23px;
    font-family: "Lato", sans-serif;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    text-align: justify;
}
.aboutMainText
{
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 2;
    margin: 0px;
    width: 95%;
    height: 320px;
}
.aboutMainText p, .aboutPreviewText p
{
    line-height: 40px;
    font-family: "Lato", sans-serif;
    color: #fff;
}
.aboutHeader
{
    padding-top: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    z-index: 1;
    height: 247px;
    width: 100%;
    overflow-y: hidden;
    position: relative;
    background-image: url(images/about/aboutblur.jpg);
    background-size: cover;
    background-position: center;
}
.aboutPreviewImage
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    z-index: 1;
    height: 448px;
    width: 50%;
    overflow: hidden;
    position: relative;
    background: url(images/about/aboutmain.jpg);
    background-size: cover;
    background-position: center;
}
.contactImageBackground
{
    position: absolute;
    width: 100%;
    min-height: 100%;

}
@media all and (max-width: 1023px)
{
    .contactMainHome
    {
        padding-top: 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        z-index: 1;
        height: 340px;
        width: 50%;
        overflow: hidden;
        position: relative;
    }
    .aboutMainTextHome
    {
        align-items: center;
    }
    header
    {
        height: 549px;
        flex-direction: column;
    }
    .portfolioHead, .aboutHead, .contactHead
    {
    width: 100%;
    transition: none;
    }
    .aboutHead
    {
    z-index: 9;
    }
    h1
    {
        font-size: 30px;
    }
    .portfolioMainTextHome h3
    {
        font-size: 28px;
        word-spacing: inherit;
    }
    .portfolioMainTextHome
    {
        height: fit-content;
        background-position: center;
    line-height: inherit;
    }
    .portfolioMainHome
    {
        height: fit-content;
        background-position: center;
    }
    .split
    {
        flex-direction: column;
    }
    .aboutMainHome, .contactMainHome
    {
        width: 100%;
    }
    .aboutMainHome
    {
        height: 530px;
    }
    .aboutMainInHome
    {
        flex-direction: column;
        width: 95%;
        height: 100%;
        margin: 0;
    }
    .aboutMainInHome img
    {
        width: 50%;
    }
    .aboutMainTextHome, .contactMainTextHome
    {
        word-spacing: inherit;
        line-height: unset;
        width: 95%;
    }
    .contactMainInHome
    {
        width: 60%;
    }
    .aboutImageBackground
    {
        width: auto;
        min-height: 130%;
    }
    nav ul
    {
        display: none;
    }
    nav
    {
        padding: 0;
        height: 60px;
        position: inherit;
        justify-content: center;
    }
    nav img
    {
        width: auto;
        height: 40px;
    }
    .aboutHeader
    {
        padding-top: 0;
        height: 250px;
        background-position: center;
    }
    .aboutHeaderIn
    {
        width: 100%;
        height: 250px;
    }
    .aboutHeaderIn h3
    {
        width: 100%;
        text-align: center;
        font-size: 25px;
        line-height: inherit;
        word-spacing: 10px;
    }
    .aboutHeaderIn h5
    {
        font-size: 10px;
    }
    .aboutPreview
    {
        padding-top: 0;
        width: 100%;
        height: min-content;
    }
    .aboutPreviewText
    {
        width: 95%;
        height: min-content;
    }
    .aboutImageBackground
    {
        height: min-content;
        position: inherit;
    }
    .aboutMain
    {
        box-sizing: border-box;
        text-align: justify;
        background: #272727;
        height: auto;
        padding: 20px 0 20px 0;
    }
    .aboutMainText
    {
        height: auto;
    }
    .aboutMain p
    {
        padding: 20px 10px 20px 10px;
    }
    form 
    {
        height: 600px;
        justify-content: space-between;
        margin-bottom: 80px;
    }
    .contactForm
    {
        padding-top: 0;
        height: 865px;
        overflow-x: hidden;
        justify-content: space-around;
    }
    .button
    {
        width: 35vw;
        margin: 10px;
        text-align: center;
    }
    .buttondiv
    {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin-top: 30px;
    }
    .contactForm h3
    {
        font-size: 28px;
    }
    .aboutPreviewImage
{
    width: 100%;
}
}
  