/* CSS SPECIFIC TO THE DOWNLOAD FORM PAGE */

/* Applies to the multiple backgrounds header it changes bellow with the media queries */
.visual-header {

}

/* GRID */
.formgrid {
    display: grid;
    grid-template-columns: 100%;
    grid-template-areas: 
    'mainimage'
    'form_maintext'
    'form'
}

.header {
    grid-area: header;
}

.mainimage {
    grid-area: mainimage;
}

.form_maintext {
    grid-area: form_maintext;
}

.form {
    grid-area: form;
}

/* THANK YOU PAGES */
#thankspages {
    height: 90vh; 
    display: flex;
    align-items: center;
    justify-content: center;
}

#thankspages > section {
    text-align: center;
    max-width: 500px;
    padding: 8px;
}

#thankyoupage .colored-button:nth-child(3) {
    margin-right: 7px;
}

#thankyoupage .colored-button:nth-child(4) {
    margin-left: 7px;
}

.thankyoubuttons {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.thankyoubuttons a { 
    padding: 15px;
}

a.colored-button {
    margin: 10px 0;
}

.modal h2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

h1 img {
    width: 100%;
}

@media screen and (min-width: 880px) {
    .visual-header {

    }
    h1 {
        font-size: 6vw;
        line-height: 7vw;
    }
    .formgrid {
        grid-template-columns: 50% 50%;
        grid-template-areas: 
        'form_maintext mainimage'
        'form mainimage'
     }
}

@media screen and (min-width: 1200px) {
    .visual-header {

    }
    h1 {
        font-size: 6vw;
        line-height: 6.5vw;
    }
}

@media screen and (min-width: 1365px) {
    .visual-header {

    }
    h1 {
        font-size: 5vw;
        line-height: 6vw;
    }

    h2 {
        margin-bottom: 4rem;
    }

    .form_maintext {
        margin-bottom: -40px;
    }

}


@media screen and (min-width: 1550px) {
    .form_maintext {
        margin-bottom: -7vw;
    }
}


/* Form */

#signup {
    max-width: 100%;
}

.error-message {
    color: red;
    margin-left: 1rem;
}

input {
    background-color: var( --second-color);
    border: 1px solid #ced4da;
    padding: .8rem 1rem;
    font-family: var(--regular-font);
    font-size: 1rem;
    border-radius: 10px;
}

input[type=text], input[type=email], input[type=tel] {
    box-sizing: border-box;
    width: 100%;
}  

.form-group {
    margin-bottom: 10px;
}

.privacynotice {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
}
.privacycontainer {
    margin-bottom: 1rem;
}

@media screen and (min-width: 1080px) {
    input {
        padding: .7rem 1.2rem;
        font-size: 1.2rem;
        border-radius: 10px;
    }
}

/* ACESSIBILITY */

@media (prefers-contrast: more) {
    :root {
        --second-bg-color: #542314;
    }
    .colored-button {
        background-color: var(--second-bg-color);
    }
    ::placeholder {
        color: var(--text-color);
    }
}

/* PRINT */

@media print {
    form {
        display: none;
    }
    .visual-header {
        height: 200px;
    }
}
 
#fixed_button_petition_container {
    display: none;
}

@media screen and (max-width: 600px) {
    #fixed_button_petition_container {
        display: block;
        background-color: var(--links-color);
        color: var(--second-color);
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 15px;
        margin-right: auto;
        margin-left: auto;
      }
    
    #fixed_button_petition_container a {
        color: var(--second-color);
    }
    
    #fixed_button_petition_container > div {
        text-align: center;
    }
} 


