body, html {
    height: 70px;
}
.wrapper {
    display: grid;
    grid-template-rows: auto 1fr auto; /* Header, content, footer */
    min-height: 100vh; /* Full height of the viewport */
}

.navbar {
    grid-row: 1 / 3;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.contact_page_container {
    grid-row: 2 / 3;
    padding: 20px;
}

.site_footer {
    grid-row: 3 / 3;
    background-color: var(--colour-grey);
    width: 100%;
    z-index: -2;
    height: 300px; /* You can adjust this height based on your needs */
}

@media (max-width: 768px) {
    .contact_page_container {
        margin-top: 30px;
    }
}

@media (min-width: 768px) {
    .contact_page_container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .contact_page_container {
        max-width: 1024px;
    }
}

@media (min-width: 1200px) {
    .contact_page_container {
        max-width: 1200px;
    }
}

.contact_section {
    color: var(--colour-light-grey);
}

.black_contact_rectangle {
    position: relative;
    background-color: var(--colour-black);
    float: left;
    top: -50px;
    padding: 15px;
    width: 350px;
    height: 300px;
    color: var(--colour-white);
    font-family: berlin;
}

.contact_text {
    text-align: right;
    font-size: 20px;
    font-family: 'Saira';
}

.grey_contact_rectangle {
    position: relative;
    background-color: var(--colour-grey);
    float: left;
    width: 375px;
    height: 250px;
}

.red_contact_frame {
    position: relative;
    float: left;
    top: -330px;
    left: 10px;
    border-width: 10px;
    border-style: solid;
    border-color: var(--colour-red);
    width: 335px;
    height: 440px;
    filter: drop-shadow(-20px 20px 5px var(--colour-black));
}

#contact_iframe {
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
}

#sbmt_btn {
    font-family: berlin;
}

@media (min-width: 768px) {
    .black_contact_rectangle {
        top: 0;
        width: 525px;
        height: 245px;
    }

    .contact_text {
        text-align: right;
        font-size: 20px;
    }

    .grey_contact_rectangle {
        left: -25px;
        top: 0;
        width: 500px;
        height: 400px;
    }

    .red_contact_frame {
        top: -425px;
        left: 100px;
        width: 600px;
    }

    #contact_iframe {
        position: relative;
        float: left;
        width: 100%;
        height: 100%;
    }
}

@media (min-width: 1024px) {
    .black_contact_rectangle {
        top: 0;
        left: 100px;
        width: 575px;
        height: 245px;
    }

    .grey_contact_rectangle {
        left: 50px;
        top: -5px;
        width: 500px;
        height: 425px;
    }

    .red_contact_frame {
        top: -455px;
        left: 200px;
        width: 600px;
    }

    #contact_iframe {
        position: relative;
        float: left;
        width: 100%;
        height: 100%;
    }
}

@media (min-width: 1200px) {
    .black_contact_rectangle {
        width: 650px;
        height: 250px;
    }

    .grey_contact_rectangle {
        left: -605px;
        top: 270px;
    }

    .red_contact_frame {
        top: -180px;
        width: 750px;
    }
}

.center {
    position: relative;
    text-align: center;
    padding: 10px;
    background: #fff;
}

.center .inputbox {
    position: relative;
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
    margin-top: 50px;
}

.center .inputbox input {
    position: relative;
    top: 0;
    left: 0;
    width: 90%;
    border: 2px solid var(--colour-shadow-grey);
    color: var(--colour-grey);
    outline: none;
    background: none;
    padding: 8px;
    border-radius: 10px;
    font-size: 1em;
    font-family: 'Saira';
}

.small {
    font-size: 0.75em;
}

.center .inputbox span {
    position: absolute;
    top: 15px;
    left: 50px;
    font-size: 0.8em;
    transition: 0.6s;
    font-family: 'Saira';
}

.center .inputbox input:focus ~ span,
.center .inputbox input:valid ~ span {
    transform: translateX(-8px) translateY(-43px);
    font-size: 0.75em;
}

.center .inputbox [type="button"] {
    width: 65%;
    position: relative;
    background: var(--colour-light-grey);
    color: #fff;
    border: #fff;
}

.center .inputbox:hover [type="button"] {
    background: var(--colour-grey);
}

.site_footer {
    position: relative;
    top: -50px;
    height: 0;
}

@media (min-width: 768px) {
    .site_footer {
        top: -75px;
    }
}

@media (min-width: 1024px) {
    .site_footer {
        top: 100px;
    }
}

@media (min-width: 1200px) {
    .site_footer {
        top: 275px;
    }
}


.google_map_frame {
    position: relative;
    //float: left;
    height: 50px;
    left: 0px;
    top: -300px;
    padding-right: 25px;
}

#google-map {
    width: 350px;
    height: 175px;
}


@media (min-width: 768px) {
    #google-map {
        width: 550px;
        height: 275px;
    }

    .google_map_frame {
        left: 50px;
        top: -375px;
    }
}

@media (min-width: 1024px) {
    #google-map {
        width: 900px;
        height: 450px;
    }
}


@media (min-width: 1200px) {
    #google-map {
        width: 1000px;
        height: 500px;
    }

    .google_map_frame {
        left: 50px;
        top: -100px;
    }
}


/*  ## Specifics for Jobs page ## */

.custom-file-upload {
    display: inline-block;
    padding: 10px 10px;
    border: 2px solid var(--colour-shadow-grey);
    border-radius: 10px;
    //cursor: url(../x_cursor_s.cur), auto;
    cursor: url(../Normal_Select.cur), auto;
    font-family: 'Saira';
    font-size: 0.8em;
    color: var(--colour-grey);
    width: 90%;
}

 .jobs_frame {
    top: -525px;
    height: 540px ;
    border-color: var(--colour-dark-blue);
}

.jobs_black_rectangle {
    top: 0px;
    height: 825px ;
}

.jobs_grey_rectangle {
    top: 30px ;
    height: 500px;
}

.jobs_text{
    text-align: left;
}

@media (min-width: 768px) {
    .jobs_black_rectangle {
        top: 0px;
        height: 630px ;
    }
    
    .jobs_grey_rectangle {
        top: 0px ;
        height: 500px;
    }    

    .jobs_frame {
        top: -525px;
    } 
}

@media (min-width: 1024px) {
    .jobs_black_rectangle {
        top: 0px;
        height: 630px ;
    }
    
    .jobs_grey_rectangle {
        top: 0px ;
        height: 500px;
    }

    .jobs_frame {
        top: -525px;
    } 
}


@media (min-width: 1200px) {
    .jobs_black_rectangle {
        top: 0px;
        height: 630px ;
    }
    
    .jobs_grey_rectangle {
        top: 630px ;
        height: 500px;
    } 

    .jobs_frame {
        top: -50px;
    } 
}
