@font-face {
    src: url(Fonts/CloisterBlack.ttf);
    font-family: Cl;
}

@font-face {
    src: url(Fonts/Roboto-Thin.ttf);
    font-family: Rt;
}

@font-face {
    src: url(Fonts/Roboto-Light.ttf);
    font-family: Rli;
}

/*
GLOBAL Styles
*/

body {
    font-family: Rt;
    font-weight: lighter;
    font-size: 10px;
    margin: 0;
    width: 100vw;
    text-align:center;
    background-color: rgb(47, 52, 56);
    color:white;
    overflow-x: hidden;
}

img {
    max-width:100%;
}

hr{
    width: 100%;
    color:dimgrey;
}

ul {
    
    list-style: none;
    margin: 0;
    padding: 0;
}

a{
    text-decoration: none;
    color: inherit;
    
}

.rotate {
    margin: 0 0 0 0;
    writing-mode: vertical-lr;
    text-orientation: upright;
    font-size: 5rem;
}

/*
    Header
*/

header {
    background-image: url('Images/Banner.jpg');
    background-position:center;
    background-size: cover;
    padding: 1rem;
    height: 78vh;
}

nav ul {
    font-size: 1.2rem;

}

nav li {
    margin: 0 1rem
}

header h1 {
    font-family: Cl;
    font-weight: lighter;
    font-size: 5rem;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.74);
}

header p{
    font-size: 1.6rem;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.74);
    padding: 1rem 0;
}

/*
Parallax Section
*/

.parallax {
    background-image: url('images/Background.jpg');
    height: 260vh;
    background-position:top;
    background-size: cover;
    background-attachment:fixed;
}

.parallax ul {
    position: relative;
    top: 0rem;
    bottom: 0rem;
    font-size: 2.3rem;
    padding: 1rem;
}

.parallax a {
    display:block;
    margin: 6rem;
    
    
}
.parallax img {
    width: 60px;
    height: auto;
    position: relative;
    top: 1.2rem;
    
    
}



.parallax h3{
    font-size: 5rem;
    font-family: Rli;
    color: rgba(255, 255, 255, 0.514);
    position: relative;
    top:0rem;

}

/*
Recent Work
*/

.recent-work {
    display: flex;
    flex-direction: column;
    font-size: 1.3rem;
    

}

.recent-work-title {
    font-family: Rli;
    font-size: 3rem;
    margin: 0rem 0;
    background-color: brown;
}

.recent-work-info{
    padding: 1rem;

}

/*
Contact Info
*/

#contact {
    margin-top: 10rem;
    display:flex;
    flex-direction: column;
    
    height: 11rem;
    background-color: brown;

}

.contact-heading {
    margin: 0;
    font-size: 5rem;
    font-family: Rli;
}

.contact-text {
    font-size: 1.4rem;
    margin-bottom: 3rem;
}

.contact-mail {
    font-size: 1rem;
    margin-bottom: 30rem;
    background-color: brown;
    
}

#contact .rotate {
    display: none;
}







/*
Media
*/



@media (min-width: 1100px){
    nav ul {
        justify-content: flex-end;
        text-align: right;
    }



    .recent-work{
        flex-direction:row;
    }

    .recent-work-info {
        flex:1;
        padding: 1rem;

    }

    .recent-work-image {
        flex:3;
        padding: 1rem;

    }

    .contact-heading {
        font-size: 8rem;
    }

    #contact {
        padding: 2rem;
        display:flex;
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    #contact .rotate {
        display: block;
    }

    .contact-mail {
        position: relative;
        right : 2rem;
        padding: 2rem;
        width: 50rem;
        background-color: brown;
        
    }


}

/*
Animation
*/

.fade-in-costum{
    opacity: 0;
    animation: fadeIn ease-in;
    animation-duration: 0.3s;
    
    animation-fill-mode: forwards;
}
.delay {
    animation-delay: 0.1s;
}

.links {
    position: relative;
    top: 13rem;
    animation: ScrollIn ease-out;
    animation-duration: 1s;
    animation-delay: 0s;

    animation-fill-mode: forwards;

}

@keyframes fadeIn {
    to {opacity: 1;}
}

@keyframes ScrollIn {
    
    from { top: 10rem}
    to {top: 0rem}
}