*{
    margin: 0;
    padding: 0;
    font-family: 'Jost', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #080808;
    color: #fff;
}

#header {
    width: 100%;
    height: 100vh;
    background-image: url(images/background.jpg);
    background-color: rgba(0, 0, 0, 0.7);
    background-size: cover;
    background-position: center;
    background-blend-mode: darken;
    background-attachment: fixed;
}

.container {
    padding: 10px 10%;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    width: 40px;
    padding: 10px 0px;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0%;
    height: 3px;
    background: #0067f4;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
}

.header-text {
    margin-top: 20%;
    font-size: 30px;
}

.header-text h1 {
    margin-top: 20px;
    font-size: 50px;
    font-weight: 300;
}

.header-text h1 span {
    color: #0067f4;
}

/* ------------------ about ----------------- */

#about {
    padding: 80px 0;
    color: rgb(133, 133, 133);
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    border-radius: 90px;
    align-items: center;
}

.about-col-2 {
    flex-basis: 60%;
}

.sub-title {
    font-size: 50px;
    font-weight: 300;
    color: white;
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #0067f4;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 50%;
}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
}

.tab-contents ul li span {
    color: #37629c;
    font-size: 14px;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}


/* filler */
.filler {
    padding: 30vh 0;
    display: flex;
    justify-content: right;
    background-image: url(images/mountain.jpg);
    background-color: rgba(0, 0, 0, 0.9);
    background-size: cover;
    background-blend-mode: darken;
    background-attachment: fixed;
}

.filler h3 {
    align-items: center;
    font-weight: 200;
    font-size: 36px;
}

/* portfolio */

#portfolio {
    padding: 80px 0;
}

#portfolio .sub {
    color: rgb(133, 133, 133);
}

.work-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.work {
    border-radius: 45px;
    position: relative;
    overflow: hidden;
}

.work img {
    width: 100%;
    height: 40vh;
    border-radius: 0 40px 0 40px;
    display: block;
    transition: transform 0.5s;
    object-fit: cover;
}

.layer {
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #0067f4);
    border-radius: 0 40px 0 40px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}

.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
}

.layer h5 {
    font-weight: 400;
}

.layer img {
    color: #0067f4;
    text-decoration: none;
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
}

.layer a {
    margin-top: 20px;
    transition: 0.5s;
}

.layer a:hover {
    transform: scale(1.1);
}

.work:hover img {
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%;
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #0067f4;
    padding: 14px 50px;
    border-radius: 0px 40px 0px 40px;
    text-decoration: none;
    color: #0067f4;
    transition: background 0.5s, color 0.5s;
}

.btn:hover {
    background: #0067f4;
    color: white;
}

/* contact */

#contact {
    background: url(images/background_short.jpg);
    background-color: rgba(0, 0, 0, 0.9);
    background-blend-mode: darken;
    background-attachment: fixed;
    background-size: cover;
    padding: 10vh 0;
}

.contact-col-1 {
    width: 70%;
}

.contact-col-2 {
    display: inline-flex;
    width: 15%;
    justify-content: space-between;
}

.contact-col-1 a {
    font-weight: 200;
    font-size: 30px;
    text-decoration: none;
    vertical-align: center;
    color: white;
    transition: 0.5s;
}

.contact-col-1 a:hover {
    color: #0067f4;
}

#footer {
    background: black;
    color: white;
    font-weight: 300;
    justify-content: space-between;
}

#footer a {
    text-decoration: none;
    color: white;
}

#footer a:hover {
    color: #0067f4;
}

#footer .col-1 {
    width: 80%;
}

#footer .col-2 {
    width: 10%;
    text-align: right;
}

#footer .col-3 {
    width: 10%;
    text-align: right;
}

.contact-svg img {
    width: 40px;
    height: 40px;
    transition: 0.5s;
}

.contact-svg img:hover {
    transform: scale(1.1);
}


/* basic content css */

#content {
    background-image: url(images/background.jpg);
    background-color: rgba(0, 0, 0, 0.7);
    background-size: cover;
    background-position: center;
    background-blend-mode: darken;
    background-attachment: fixed;
}

#content h1 {
    padding: 50px 0;
    font-weight: 400;
}

#content h3 {
    font-weight: 300;
    padding-top: 20px;
    padding-bottom: 10px;
}

.imprint-policy h4 {
    font-weight: 400;
    padding-top: 20px;
    padding-bottom: 10px;
}

.imprint-policy p {
    font-weight: 200;
}

.imprint-policy a {
    text-decoration: none;
    transition: 0.5s;
    color: white;
}

.imprint-policy a:hover {
    color: #0067f4;
}

.imprint-policy h6 {
    padding-top: 10px;
    font-weight: 400;
    font-size: 16px;
}


/* modal css */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(133, 133, 133);
    background-color: rgba(0, 0, 0, 0.95); 
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.05);
    margin: 5% auto;
    padding: 20px;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    padding-right: 10px;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, .close-focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-main {
    padding: 2%;
}

.active-modal {
    display: block;
}

.close:hover {
    color: white;
}

.img-col {
    width: 33%;
}

.modal-img {
    width: 100%;
    height: 30vh;
    object-fit: cover;
}

.modal-main h2 {
    font-weight: 400;
    text-align: center;
}

.modal-main h4 {
    font-weight: 300;
    padding-top: 2%;
    padding-bottom: 2%;
    text-align: center;
}

.modal-project-type {
    padding: 2% 0;
    font-weight: 400;
}

.modal-description {
    font-weight: 300;
}

.modal-description a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    transition: 0.5s;
}

.modal-description a:hover {
    color: #0067f4;
}

.modal-icon {
    padding-top: 1px;
    width: 15px;
    height: 15px;
}


/* small screen css */
nav .mobile-icon {
    display: none;
}


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

    .img-col {
        width: 100%;
    }

    .header-text {
        margin-top: 10%;
        font-size: 18px;
    }

    .header-text h1 {
        font-size: 26px;
    }

    nav .mobile-icon {
        display: block;
    }

    nav ul {
        background: #0067f4;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }

    nav ul li {
        display: block;
        margin: 25px ;
    }

    nav ul .mobile-icon {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    .sub-title {
        font-size: 40px;
    }

    .about-col-1, .about-col-2 {
        flex-basis: 100%;
    }

    .about-col-1 {
        margin-bottom: 30px;
    }

    .about-col-2 {
        font-size: 14px;
    }

    .tab-links {
        font-size: 16px;
        margin-right: 20px;
    }

    .work-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-gap: 40px;
        margin-top: 50px;
    }

    .empty {
        display: none;
    }

    .contact-col-1, .contact-col-2 {
        flex-basis: 100%;
    }

    .contact-col-1 {
        text-align: center;
    }

    .contact-col-2 {
        margin-top: 30px;
    }

    .col-1, .col-2, .col-3 {
        flex-basis: 100%;
        text-align: center !important;
    }

}