* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

#container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: 1250px;
    text-align: center;
    gap: 2rem;
}

/* Logo */
#logo-area img {
    width: 40%;
    min-width: 300px;
}

/* Text */
#description-area {
    width: 70%;
}

#description-area p {
    line-height: 1.6;
}

/* Arts grid */
#arts-area {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

#arts-area .card {
    cursor: pointer;
    flex: 1 1 calc(25% - 1rem);
    max-width: calc(25% - 1rem);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

#arts-area .card img {
    transition: opacity 0.3s ease, transform 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#arts-area .card img.fade-out {
    opacity: 0;
}

#arts-area .card .artist-name {
    position: absolute;
    color: #51BDEE;
    font-size: 1.2rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

#arts-area .card .artist-name.show {
    opacity: 1;
}

#arts-area .card:hover img {
    transform: scale(0.8);
}

/* Form */
div#form-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid #CCCCCC;
    padding-top: 2rem;
    width: 100%;
}

div#form-area h1 {
    line-height: 41.6px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

div#form-area form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    width: 70%;
}

div#form-area form>div {
    display: flex;
    border-bottom: 1px solid #B2B2B2;
    transition: 0.5s;
}

div#form-area form>div>label {
    color: black;
    padding: 10px 30px;
    width: 200px;
}

div#form-area form>div>input {
    width: 76%;
}

div#form-area form>div textarea {
    width: 77%;
    resize: none;
    margin-top: 10px;
    height: 30px;
    max-height: 8.4em;
}

input, textarea {
    border: none;
}

input:focus,
textarea:focus {
    outline: none;
}

input::placeholder,
textarea::placeholder {
    font-style: italic;
}

div#form-area form button {
    cursor: pointer;
    transition: .2s;
    align-self: center;
    max-width: 346px;
    margin-top: 1rem;
    width: 346px;
    height: 35px;
    background-color: #43C0F0;
    border: 1px solid #1E7290;
    border-radius: 20px;
    font-weight: 600;
}

div#form-area form button:hover {
    background-color: #35A4D0;
}

/* Footer */
footer {
    border-top: 1px solid #CCCCCC;
    width: 100%;
    padding-top: 2rem;
    font-size: 12px;
}

footer p {
    padding-bottom: 10px;
}

footer a {
    color: #000;
    transition: .2s;
}

footer a:hover {
    color: #8D8D8D;
}

/* Responsive */
@media (max-width: 1024px) {
    #arts-area .card {
        flex: 1 1 calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    #arts-area .card {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }

    #description-area,
    div#form-area form {
        width: 100%;
    }

    div#form-area form>div>label {
        width: 100px;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    #arts-area .card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}