@import url(https://fonts.googleapis.com/css2?family=Alex+Brush&family=Arima:wght@100..700&family=Great+Vibes&family=Ms+Madi&family=SUSE:wght@100..800&display=swap);

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

.logo {
    img {
        width: 110px;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 15px;
        left: 27rem
    }
}

header {
    background: linear-gradient(34deg, rgb(0 0 0 / .8436624649859944) 0%, rgb(0 0 0 / .7372198879551821) 93%);
    height: 150px;

    a {
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;

        h1 {
            font-family: "Alex Brush", serif;
            font-optical-sizing: auto;
            font-weight: 100;
            font-style: normal;
            font-size: 55px;
            letter-spacing: 1px;
            margin-top: 0
        }

        h1:hover {
            text-shadow: 0 0 5px #ffd900;
            transition: 0.5s ease
        }
    }

    .hamburger {
        width: 25px;
        height: 25px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: left;
        cursor: pointer;
        margin-left: 1rem;
        position: absolute;
        top: 4rem;
        left: 2
    }

    .line {
        height: 4px;
        background-color: #fff;
        transition: 0.3s;
        display: flex
    }

    nav {
        background: #000;
        background: linear-gradient(90deg, rgb(0 0 0 / .8240546218487395) 23%, rgb(25 25 25 / .63) 100%);
        display: none;
        width: 250px;
        margin-top: 4.5rem;
        height: 100vh;
        position: fixed;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        top: 5rem;
        left: 2;
        z-index: 999;

        a {
            text-decoration: none;
            color: #fff;
            font-size: 20px;
            margin-left: -50px;
            padding: 1rem;
            font-family: "SUSE", sans-serif;
            font-optical-sizing: auto;
            font-weight: 300;
            font-style: normal;
            letter-spacing: 2px
        }

        a:hover {
            transform: scale(1.1);
            transition: 0.5s ease
        }

        ul li {
            list-style: none;
            margin-top: 2rem
        }

        img {
            width: 100px;
            height: auto;
            position: fixed;
            left: 4%;
            top: 90%
        }
    }

    .menu.active {
        display: block
    }
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    .card {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40%;
        margin: 3rem;
        height: 500px;
        cursor: pointer;
        border: .5px solid #afaeae;
        border-right: 16px double #919191;
        border-radius: 0 80px 0 80px;

        img {
            width: 60%;
            border-radius: 2%;
            object-fit: contain
        }

        .text {
            position: absolute;
            text-align: center;
            color: #fff;
            max-width: 80%;

            h1 {
                opacity: 0%;
                font-size: 70px;
                font-weight: 100;
                letter-spacing: 20px;
                color: #000;
                margin-bottom: 0;
                margin-top: 0
            }

            p {
                opacity: 0%;
                max-width: 500px;
                color: #000;
                font-weight: 400;
                font-size: 20px;
                padding-left: 2rem;
                padding-right: 2rem;
                margin-top: 0;
                line-height: 1.7;
                text-wrap: pretty;
                transition: opacity 0.5s ease, max-height 0.5s ease
            }
        }

        &.hover {
            border-color: #464545;
            transition: 0.5s ease-in-out;

            img {
                filter: blur(5px);
                opacity: 50%;
                transition: 0.8s ease-in-out
            }

            .text {
                h1 {
                    opacity: 100%;
                    transition: 0.5s ease-in-out
                }

                p {
                    opacity: 100%;
                    transition: 0.5s ease-in-out
                }
            }
        }
    }

    .card:hover {
        border-color: #464545;
        transition: 0.5s ease;
        cursor: pointer
    }
}

.footer {
    width: auto;
    min-height: auto;
    text-align: center;
    background-color: #bebebe;
    padding: 2rem;

    i {
        margin-top: 3rem;
        color: #858585
    }

    i:hover {
        transform: scale(1.2);
        color: #444;
        transition: 0.3s ease-in-out;
        cursor: pointer
    }

    #markalar {
        color: #000;
        font-weight: 500;
        filter: drop-shadow(2px 5px 5px black)
    }

    a {
        text-decoration: none;
        color: #fff;
        margin: 1rem;
        font-size: 20px;
        font-weight: 500;
        font-family: "Arima", system-ui;
        letter-spacing: 2px;
        color: #585858;
        transition: 0.3s ease
    }

    a:hover {
        font-weight: 700;
        color: #464646;
        transition: 0.3s ease
    }

    p {
        margin: 2rem;
        font-size: 16px;
        letter-spacing: 1px
    }
}

@media(max-width:1400px) {
    .container {
        .card {
            .text {
                h1 {
                    font-size: 50px
                }
            }
        }
    }
}

@media (max-width:1250px) {
    .container {
        flex-direction: column;

        .card {
            width: 80%;
            padding: 1rem;

            img {
                width: 60%;
                border-radius: 2%;
                z-index: -1
            }

            .text {
                h1 {
                    opacity: 0%;
                    font-size: 100px
                }

                p {
                    opacity: 0%;
                    max-width: 95%;
                    font-size: 25px;
                    line-height: 1.7
                }
            }
        }
    }
}

@media (max-width:1000px) {
    .container {
        flex-direction: column;
        padding: 4rem;

        .card {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 85%;
            height: 700px;
            padding: 1rem;

            img {
                width: 60%;
                border-radius: 2%
            }

            .text {
                h1 {
                    opacity: 0%;
                    font-size: 50px;
                    font-weight: 100;
                    letter-spacing: 20px;
                    color: #000;
                    margin-bottom: 0;
                    margin-top: 0
                }

                p {
                    opacity: 0%;
                    max-width: auto;
                    color: #000;
                    font-weight: 400;
                    font-size: 24px;
                    padding-left: 1rem;
                    padding-right: 1rem;
                    margin-top: 0;
                    line-height: 2;
                    text-wrap: balance;
                    transition: opacity 0.5s ease, max-height 0.5s ease
                }
            }
        }
    }
}

@media(max-width:700px) {
    header {
        a h1 {
            margin-top: 1rem;
            font-size: 45px
        }

        .hamburger {
            width: 30px;
            height: 30px
        }

        .line {
            height: 3px
        }

        nav {
            width: 200px;

            img {
                left: 8%
            }
        }
    }

    .container {
        .card {
            margin-left: 0;
            margin-right: 0;

            .text {
                h1 {
                    font-size: 60px;
                    letter-spacing: 5px
                }

                p {
                    max-width: 400px;
                    font-size: 22px
                }
            }
        }
    }
}

@media(max-width:600px) {
    .container {
        padding: 2rem;

        .card {
            padding: 0;
            width: 100%;
            height: 500px;

            img {
                width: 80%
            }

            .text {
                max-width: 80%;

                h1 {
                    font-size: 50px
                }

                p {
                    font-size: 20px;
                    line-height: 1.6;
                    padding: 0
                }
            }
        }
    }
}

@media(max-width:426px) {
    .logo img {
        margin-top: 35px;
        width: 90px
    }

    header {
        a h1 {
            margin-top: 1rem;
            font-size: 35px
        }

        nav {
            width: 200px;

            a {
                font-size: 18px;
                font-weight: 100
            }

            img {
                left: 12%
            }
        }

        .hamburger {
            width: 25px;
            height: 25px;

            .line {
                height: 3px
            }
        }
    }

    .container {
        padding: 1rem;
        margin: 0;

        .card {
            padding: 0;
            width: 90%;
            height: 400px;

            img {
                width: 80%
            }

            .text {
                max-width: 80%;

                h1 {
                    font-size: 40px
                }

                #slazenger {
                    font-size: 30px
                }

                p {
                    font-size: 15px;
                    line-height: 1.5;
                    padding: 0;
                    text-wrap: stable
                }
            }
        }
    }

    .footer {
        a {
            font-size: 16px;
            margin: .5rem
        }
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light;
    }
}

@media only screen and (max-width: 390px) and (max-height: 844px) {
    .logo img {
        margin-top: 35px;
        width: 90px
    }

    header {
        a h1 {
            margin-top: 1rem;
            font-size: 35px
        }

        nav {
            width: 200px;

            a {
                font-size: 18px;
                font-weight: 100
            }

            img {
                left: 12%
            }
        }

        .hamburger {
            width: 25px;
            height: 25px;

            .line {
                height: 3px
            }
        }
    }

    .container {
        padding: 1rem;
        margin: 0;

        .card {
            padding: 0;
            width: 90%;
            height: 400px;

            img {
                width: 80%
            }

            .text {
                max-width: 80%;

                h1 {
                    font-size: 40px
                }

                #slazenger {
                    font-size: 30px
                }

                p {
                    font-size: 15px;
                    line-height: 1.5;
                    padding: 0;
                    text-wrap: stable
                }
            }
        }
    }

    .footer {
        a {
            font-size: 16px;
            margin: .5rem
        }
    }
}