@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Box-sizing eklendi */
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    background: linear-gradient(45deg, #19b48c, #231f20);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 95vw;
    height: 92vh;
    border: 2px solid black;
    margin: auto;
}

.text {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    line-height: 50px;
}

.text h1 {
    font-size: 35px;
    opacity: 83%;
}

.text h3 {
    font-size: 22px;
}

.figure {
    display: flex;
    justify-content: center;
    align-items: center;
}

#exclamation {
    position: relative;
    font-size: 110px;
    color: goldenrod;
    z-index: 100;
    left: -230px;
    top: 30px;
    animation: exclamationani 2s ease-out 0s infinite alternate none;
}

@keyframes exclamationani {
    from {
        color: goldenrod;
    }

    to {
        color: #fc2803;
    }
}

#tsar {
    position: relative;
    margin-left: 140px;
    animation: tsarani 3s ease-in-out 0s infinite alternate none;
}

@keyframes tsarani {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
}

.fa-instagram, .fa-twitter, .fa-envelope {
    padding: 10px;
    color: black;
    transition-duration: 0.5s; /* Geçiş süresi taşındı */
}

.fa-instagram:hover {
    background: rgba(15, 15, 15, 0.6);
    border-radius: 35px;
    color: #d914c8;
}

.fa-twitter:hover {
    background: rgba(15, 15, 15, 0.6);
    border-radius: 35px;
    color: rgba(13, 191, 222, 0.7);
}

.fa-envelope:hover {
    background: rgba(15, 15, 15, 0.6);
    border-radius: 35px;
    color: #d914c8;
}

/* Mobil ve tablet için medya sorgusu */
@media (max-width: 768px) {
    .main {
        width: 90vw;
        height: auto;
        padding: 20px;
    }

    .text h1 {
        font-size: 25px;
    }

    .text h3 {
        font-size: 15px;
    }

    #tsar {
        width: 100px;
        height: 100px;
        margin-left: 60px;
    }

    #exclamation {
        font-size: 50px;
        left: -110px;
        top: 20px;
    }

    footer {
        font-size: 25px;
    }
}

/* Daha küçük ekranlar için (örn. mobil cihazlar) */
@media (max-width: 480px) {
    .main {
        width: 95vw;
        height: auto;
    }

    .text h1 {
        font-size: 20px;
    }

    .text h3 {
        font-size: 13px;
    }

    #tsar {
        width: 80px;
        height: 80px;
        margin-left: 50px;
    }

    #exclamation {
        font-size: 40px;
        left: -80px;
        top: 15px;
    }

    footer {
        font-size: 20px;
    }
}

/* Yüksekliği düşük ekranlar için medya sorgusu */
@media (max-height: 500px) {
    .text h1 {
        font-size: 25px;
    }

    .text h3 {
        font-size: 15px;
    }

    #tsar {
        width: 100px;
        height: 100px;
        margin-left: 60px;
    }

    #exclamation {
        font-size: 50px;
        left: -110px;
        top: 20px;
    }

    footer {
        font-size: 25px;
    }
}
