/*===== Background =====*/
#background {
    background: #c0c0c0;
    height: 85vh;
    width: 100%;
    position: absolute;
    top: 0;
    z-index: -1;
}

/*===== Contact form =====*/
.container-inputs {
    display: grid;
    margin: 2rem 0;
    row-gap: 1rem;
}

.contact-form input[type=text] {
    font-size: 25px;
}

/*===== Base =====*/
.page-title img {
    width: 600px;
}

.container-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container-buttons a {
    color: var(--link-color);
    display: block;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    margin-top: 1rem;
    text-transform: uppercase;
}

.container-buttons a:hover {
    color: var(--first-color);
}

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    max-width: 30rem;
}

/*===== Media queries =====*/
@media only screen and (max-width: 1050px) {
    .title {
        font-size: 4rem;
    }

    .page-title img {
        width: 400px;
    }
}

@media only screen and (max-width: 900px) {
    #background {
        display: none;
    }
    
    .page-title {
        display: grid;
        row-gap: 2rem;
        justify-content: center;
    }

    .page-title img {
        display: none;
    }
}

@media only screen and (max-width: 550px) {

    .subtitle {
        font-size: 25px;
        font-weight: 300;
    }
}


@media only screen and (max-width: 450px) {

    .contact-form input[type=text] {
        width: 100%;
    }

    .title {
        font-size: 3.5rem;
    }
    
    .subtitle {
        font-size: 20px;
        font-weight: 300;
    }
}