* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #030212;
    font-family: 'Raleway', sans-serif; /* Fallback in case of missing font */
    -webkit-font-feature-settings: "lnum";
    -moz-font-feature-settings: "lnum";
    font-feature-settings: "lnum";
    -webkit-font-smoothing: antialiased;
}

#banner {
    background-image: url(../images/aboutbanner-mobile.jpg);
    background-position: center 10%;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 27rem;
    text-align: center;
}

.one-container {
    background-color: #F5F5F5;
    display: inline-block;
    width: 100%;
    margin-top: 25rem;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

h1 {
    color: #474747;
    font-size: 28px;
    margin-left: 0.3rem;
    margin-right: 0.3rem;
    text-align: center;
}

.two-container {
    background-color: white;
    display: inline-block;
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}

h2 {
    color: #474747;
    width: auto;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5rem;
    margin: 0 1rem;
    text-align: left;
}

h3 {
    color: #383838;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    font-size: 20px;
}

.subh3 {
    color: #6b6b6b;
    padding-bottom: 0.2rem;
    font-size: 15px;
    text-align: center;
}

h4 {
    color: #474747;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4rem;
    margin: 0 1rem;
    text-align: left;
}

.subh4 {
    color: #6b6b6b;
    font-size: 14px;
    text-align: center;
    padding-top: 10px;
}

.link {
    color: #474747;
    position: relative;
    text-decoration: none;
    border-bottom: 1px solid #000;
    transition: all 0.25s ease-out;
}

.link:before {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: cyan;
    position: absolute;
    left: 0;
    bottom: -2px;
    transform-origin: center; 
    transform: scale(0);
    transition: 0.25s ease-out;
}

.link:hover:before {
    transform: scale(1);
}

.container-three {
    background-color: white;
    display: inline-block;
    width: 100%;
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}

.container-three img {
    border-radius: 50%;
    width: 110px;
}

.staff {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 4rem;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    justify-content: center;
    align-items: center;
}

.staff-left {
    text-align: center;
}

.staff-right {
    margin-top: 0rem;
    padding-left: 1rem;
}

.staff-right h4 {
    margin-right: 0;
}

.contactform {
    background-color: white;
    display: inline-block;
    width: 100%;
    padding-bottom: 4rem;
    text-align: left;
    position: relative;
}

.contactform-container {
    padding: 0 1rem;
}

.contactform .subh3 {
    padding-top: 0.5rem;
    padding-bottom: 2rem;
}

#contactform-title {
    font-weight: 600;
    text-align: center;
}

.about-button {
    text-align: center;
    font-weight: 500;
}

.button-else {
    background: #00CC80;
    display: inline-block; /* center button */
    color: white;
    border-radius: 30px;
    padding: .6rem;
    width: 9.1rem;
    text-decoration: none;
    font-size: 1.2rem;
    text-align: center;
    font-weight: 500;
    transition: 0.3s;
}

.button-else:hover {
    background-color: #00bb76;
    transition: 0.3s;
}

@media only screen and (min-width: 650px) {

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 18px;
        margin: 0 auto 0 auto;
        padding: 0 10% 0 10%;
    }

    h4 {
        margin: 0 auto 0 auto;
        padding: 0 10% 0 10%;
    }

    .container-three img {
        width: 170px;
    }

    .staff-right {
        margin-top: -4rem;
    }

    .contactform {
        width: 100%;
    }

    .contactform-container {
        width: 38rem;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 1085px) {

    #banner {
        background-image: url(../images/aboutbanner.jpg);
        background-position: center 50%;
        height: 100%;
    }

    .one-container {
        width: 65rem;
        margin-top: 35rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        padding-left: 0;
        padding-right: 0;
        border-radius: 12px 12px 0 0;
    }

    h1 {
        font-size: 32px;
    }

    .two-container {
        width: 65rem;
        padding-left: 0;
        padding-right: 0;
    }

    h2 {
        width: 50rem;
        font-size: 19px;
    }

    .container-three {
        width: 65rem;
        padding-left: 0;
        padding-right: 0;
    }
    
    .contactform {
        width: 65rem;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .contactform-container {
        width: 44rem;
        margin: 0 auto;
    }

    #contactform-title {
        font-weight: 600;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }

    h3 {
        font-size: 24px;
    }

    .subh3 {
        font-size: 18px;
    }

    h4 {
        font-size: 17px;
    }
}