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

body {
    font-family: "Newsreader", serif;
    font-size: 30px;
    color: white;
    text-shadow: 1px 1px 2px black;
}

#container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(images/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 20px;

}

.content {
    display: grid;
    gap: 20px;
    padding: 50px 20px;
}

.content img {
    padding-bottom: 20px;
}

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

.column-direction {
    flex-direction: column;
    gap: 20px;
}

.info h1 {
    font-size: 50px;
}

.contacts ul {
    list-style: none;
}

.complex {
    display: flex;
    gap: 30px;
    font-size: 30px;
    letter-spacing: 0.1rem;
}

.complex a,
.social-media a {
    text-decoration: none;
    color: white;
}

.complex li:hover,
.complex a:hover {
    transform: scale(1.1);
    transition: 0.5s;
    color: red;
}

@media (max-width: 1100px) {
    .info h1 {
        text-align: center;
    }

    .complex {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        align-items: center;
    }

    .complex li {
        color: white;
    }

    .social-media {
        order: -1;
    }
}

@media (max-width: 768px) {
    #container {
        max-width: 100%;
        min-height: 100vh;
    }

    .content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .content img {
        max-width: 40%;
        height: auto;
    }

    .info h1,
    .info h3 {
        text-align: center;
    }

    .info h1 {
        font-size: 30px;
    }

    .info h3 {
        font-size: 25px;
    }

    .contacts,
    .complex li {
        font-size: 20px;
    }

    .complex {
        flex-direction: column;
        gap: 15px;
    }

    .social-media {
        order: -1;
    }

    .social-media a:hover {
        transform: scale(1.3);
        transition: 0.5s;
    }
}
