*{
    margin: 0;
    padding: 0;
    font-family: 'Urbanist', sans-serif;
}

body{background: #e6e6e6;}

/*--------------- Header ---------------*/
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./david-dvoracek-unsplash.jpg');
    background-position: center;
    background-size: cover;
    position: relative;
}

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #b44c2d;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{width: 100%}

.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1{
    font-family: 'Playfair Display', serif;
    font-size: 62px;
}

.text-box p{
    margin: 10px 0 40px;
    font-size: 13px;
}

nav .fa{display: none}

/*--------------- Menu for Smaller Screens ---------------*/
@media(max-width:700px){
    .text-box h1{
        font-family: 'Playfair Display', serif;
        font-size: 40px;
    }
    .nav-links{
        position: fixed;
        background: #2e373c;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{padding: 30px}
    .nav-links ul li{display: block}
}

/*--------------- About ---------------*/
.about{
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

.about-col{
    display: grid;
    justify-content: center;
    align-content: center;
}

.about-col img{width: 100%}

.about-col h1{padding-top: 0%}

.about-col p{
    font-size: 15px;
    padding: 15px 0 25px;
}

/*--------------- Works --------------*/
.works{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    padding: 100px 0;
}

h1{
    font-size: 36px;
    font-weight: 600;
}

p{
    font-size: 13px;
    padding: 10px;
}

h3{
    padding-top: 35px;
    padding-bottom: 20px;
}

.row{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1px 10px;
}

.a-title a{
    font-size: 14px;
    color: inherit;
    text-decoration: none;
}

.a-title p:hover{text-decoration: underline}

.a-title{
    background: #2e373c;
    color:#fff;
    border-radius: 10px;
    margin-bottom: 3%;
    box-sizing: border-box;
    transition: 0.5s;
}

/*--------------- Contact ---------------*/
.contact{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

.contact-col{
    padding-top: 50px;
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fa{
    font-size: 28px;
    color: #2e373c;
    margin: 10px;
    margin-right: 30px;
}

.contact-col div h5{
    margin-bottom: 5px;
    text-align: left;
    font-size: 18px;
    font-weight:400;
}

.contact-col div p{
    text-align: left;
    padding: 0;
}

.btn{
    display: inline-block;
    text-decoration: none;
    color: #000;
    border: 1px solid #000;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.btn:hover{
    border: 1px solid #2e373c;
    background: #2e373c;
    color: #fff;
    transition: 0.5s;
}

.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/*--------------- Footer ---------------*/
.footer{
    width: 100%;
    text-align: center;
    padding: 10px 0;
}
