html, body {
    font-size: 16px;
    box-sizing: border-box;
    font-family: Arimo, sans-serif;
    background-color: #181818;
    height: 100vh;
    background-image: url(../assets/landing-bg.avif);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
}

.landing {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    overflow: hidden;
    width: 80vw;
    margin: auto;
}

.landing__title {
    background: linear-gradient(to bottom, #FFFFFF 22%, #9D9D9D 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
    font-size: min(3rem, 13vw);
    line-height: normal;
    text-align: center;
    letter-spacing: 0.5em;
    margin-right: -0.5em;
}

.landing__container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    height: auto;
    width: auto;
    overflow: hidden;
    margin-bottom: 5vh;
}

.landing__element {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    color: unset;
    position: relative;
    border-radius: 7px;
    flex: 1;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;

    .span-yapi {
        left: 2vw;
        text-align: left;
    }

    .span-emlak {
        right: 2vw;
        text-align: right;
    }
}

.landing--element__img {
    max-width: 100%;
    height: 100%;
    border-radius: 7px;
    display: block;
    object-fit: cover;
}

.landing--element__text {
    position: absolute;
    top: 2vh;
    font-family: 'Roboto', sans-serif;
    font-weight: 200;
    font-size: 1.7rem;
    letter-spacing: 3%;
    line-height: normal;
}

.landing__element:visited {
    color: unset;
}

.yapiproje {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: clip;
}

.navbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    height: 7vh;
    gap: 15px;
    background: #000000;
    background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.38) 61%, rgba(0,0,0,0) 100%);
    width: 100%;
    left: 50%;

    a {
        text-decoration: none;
        color: white;
        font-size: 1rem;
        transition: color 0.3s;
    }

    a:hover {
        color: #ffcc00
    }
}

.page__title {
    margin-top: 20px;
    text-align: center;
    font-family: 'Roboto', sans-serif;

    a {
        text-decoration: none;
    }

    h1 {
        background: linear-gradient(to bottom, #FFFFFF 60%, #9D9D9D 100%);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        font-size: 4rem;
        font-weight: 500;
        line-height: normal;
        letter-spacing: 0;
        margin: 0;
    }

    h2 {
        color: #CECECE;
        font-size: 0.95rem;
        font-weight: 400;
        line-height: normal;
        letter-spacing: 3%;
        margin: 0;
    }
}

.page__content {
    display: flex;
    flex-direction: column;
    gap: 2vh;
    margin-top: 3vh;
    width: 80vw;
    margin: auto;
    margin-bottom: 10vh;
}

.header {
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
    text-align: center;
    line-height: normal;
    letter-spacing: 3%;
    font-weight: 200;
    font-size: 1.5rem;
}

.page--content__who-are-we {
    p {
        font-family: 'Source Serif Pro', serif;
        color: #C0C0C0;
        background-clip: text;
        -webkit-background-clip: text;
        line-height: normal;
        letter-spacing: 1px;
        font-weight: normal;
        font-size: 0.9rem;
    }
}

.page--content__ad {
    display: flex;
    gap: 15px;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;

    img {
        max-width: 100%;
        min-width: 100%;
        box-shadow: black 0px 0px 8px 0px;
    }

    span,pre {
        font-family: 'Roboto', sans-serif;
        color: #FFFFFF;
        font-size: 0.85rem;
        font-weight: 200;
        text-align: left;
        font-weight: 300;
    }
}

.page__footer {
    font-family: 'Roboto', sans-serif;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: #ffffff;
    font-size: 0.85rem;
    bottom: 0;
    padding: 1rem;
    background-color: #1a1a1add;
    width: 100%;
    left: 0;
    box-sizing: border-box;
    height: auto;

    a {
        color: #ffffff;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
    }

    .left {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 0.3rem;
        align-items: center;
    }

    .left span {
        display: contents;
    }

    .left span .icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
    }

    .left span .text {
        display: flex;
        align-items: center;
    }

    .right {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 0.5rem;
    }

    .right span {
        display: flex;
        align-items: center;
    }

    .right span .icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 2rem;
    }

    .right span .text {
        display: flex;
        align-items: center;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

.info {
    padding: 5px;
    margin-bottom: 10px;
    border: solid 2px #fff;
    color: #fff;
}


/* Small screens (e.g., very small phones) */
@media screen and (max-width: 320px) {
}

/* Medium screens (e.g., regular phones) */
@media screen and (max-width: 768px) {
}

/* Large screens (e.g., tablets) */
@media screen and (min-width: 768px) {
    .landing__title {
        font-size: 4.4rem;
    }
    .landing--element__text {
        font-size: 2.4rem;
    }

    .page__title {
        h1 {
            font-size: 8rem;
        }

        h2 {
            font-size: 1.85rem;
        }
    }

    .header {
        font-size: 3.7rem;
    }

    .page--content__who-are-we {
        p {
            font-size: 1.5rem;
        }
    }

    .page--content__ads-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: masonry;
        gap: 32px;
    }

    .page--content__ad {
        img {
            width: auto;
            max-width: 100%;
        }


        span,pre {
            font-size: 1.1rem;
            margin: auto;
        }
    }
}

@media screen and (orientation:landscape) {
    .landing__container {
        flex-direction: row;
    }
}
