:root {
    --background-color: #040E16;
    --primary-color: #FF4426;
    --secondary-color: #F7EDE4;
    --alternate-color: #6B41E9;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--background-color);
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.container {
    width: 1140px;
    margin: 0 auto;
    max-width: 95%;
}

#layout-header {
    display: flex;
    align-items: center;
}

#layout-nav {
    width: 100%;
    margin: 15px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.navbar-logo {
    margin-left: 15px;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    margin: 0 30px;
    justify-content: center;
}

.navbar-social-media {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-right: 15px;
}

.nav-link {
    list-style: none;
    display: inline;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0 20px;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary-color);
}

.navi-link-sm {
    fill: var(--secondary-color);
    margin-left: 20px;
}

.navi-link-sm:hover {
    fill: var(--primary-color);
}

#home-vimeo-player {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

#home-vimeo-player iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-vimeo-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.about-vimeo-wrapper iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: calc(60vh + 10px) auto 0;
    font-size: 1.2rem;
    line-height: 1.4;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.change-language {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.change-language-tr, .change-language-en {
    text-align: right;
    margin-bottom: 20px;
    text-decoration: none;
    color: var(--secondary-color);
}

.change-language-active {
    font-weight: bold;
    color: var(--primary-color);
}

.about-text {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
}

.about-left {
    text-align: right;
    font-weight: 900;
    font-size: 45px;
    margin-right: 5%;
    line-height: 1;
    width: 45%;
}

.about-left span {
    color: var(--primary-color);
}

.about-right {
    width: 42.5%;
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 30px;
    padding-right: 7.5%;
}

.about-right p {
    margin-bottom: 10px;
}

.about-left-tr, .about-right-tr {
    display: none;
}

#contact-cover {
    position: fixed; 
    top: -50%; 
    left: -50%; 
    width: 200%; 
    height: 200%;
    z-index: -1;
}

#contact-cover img {
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    margin: auto; 
    min-width: 50%;
    min-height: 50%;
}

.contact-headline {
    font-size: 72px;
    font-weight: bold;
    margin-top: calc((100vh - 350px) / 2);
    margin-bottom: 40px;
}

.contact-email {
    font-size: 36px;
    color: var(--secondary-color);
}

.contact-email:hover {
    background-color: black;
}

.projects {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 30px;
}

.project-item {
    width: 49%;
    height: 300px;
    overflow: hidden;
    position: relative;
    margin-bottom: 2%;
}

.project-item:hover {
    cursor: pointer;
}

.project-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transform: scale3d(1.2, 1.2, 1.2);
    filter: grayscale(0);
    transition: all .3s;
}

.project-item:hover img {
    opacity: 0.4;
    filter: grayscale(1);
    transform: scale3d(1, 1, 1);
}

.project-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 290px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    opacity: 0;
    transition: all .3s;
}

.project-item:hover .project-info {
    opacity: 1;
    text-shadow: 1px 1px 1px rgba(0,0,0,.5);
}

.project-info h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.project-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.filter.vertical {
    display: none;
}

.filter-button {
    background-color: transparent;
    color: var(--secondary-color);
    border: solid 1px var(--secondary-color);
    padding: 7px 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.filter-button:hover {
    background-color: var(--secondary-color);
    color: black;
    cursor: pointer;
}

.filter-button.active {
    background-color: var(--secondary-color);
    color: black;
}

@media (max-width: 768px) {
    #layout-nav {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .navbar-nav {
        margin: 20px 0;
    }

    .about-left { 
        font-size: 30px;
    }

    .contact-headline {
        font-size: 48px;
    }

    .contact-email {
        font-size: 30px;
    }
}

@media(max-width:600px) {
    .project-item {
        width: 100%;
    }
}

@media(min-width:1200px) {
    .container {
        width: 90%;
    }

    .project-item {
        width: 32%;
    }
}