@media screen and (max-width:1024px) {
    .social-links a {
        height: unset;
    }
    .flex-area p {
        order: 1
    }
    .pageskin {
        position: fixed;
        background-repeat: no-repeat;
        background-position: bottom;
        background-size: cover;
    }
    .content {
        padding-left: 2em;
        padding-right: 2em;
    }
    .content {
        text-align: center;
    }
    .content p {
        max-width: 100%;
    }
    h1 {
        font-size: 3em;
    }
    h2 {
        font-size: 2em;
    }
    .site-links {
        flex-direction: column;
    }
    .social-links {
        margin-right: 0;
    }
    .login-site {
        order: -1;
        font-size: 1em;
        margin-bottom: 1em
    }
    footer {
        left: unset;
        bottom: unset;
        position: unset;
        background: none;
        padding-left: 2em;
        padding-right: 2em;
    }
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .image-grid.saglayici {
        grid-template-columns: repeat(3, 1fr);
    }
    header nav {
        padding-right: 2em;
        padding-left: 2em;
    }
    .social-links {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width:640px) {
    header nav {
        flex-direction: column;
    }
    .logo {
        margin-bottom: 1em;
    }
}

@media screen and (max-width:320px) {
    header nav ul li a {
        padding: .5em 1em
    }
}

@media screen and (max-height:900px) {
    footer {
        position: unset;
    }
}