#ag-outer-wrapper {
    background-color: #f5f5f5;
    overflow: hidden;
}

#ag {
    max-width: 1024px;
    width: 100%;
    margin: 0 auto;
    font-family: 'Roboto', Helvetica, Sans-Serif;
    font-size: 1.125rem;
    line-height: 1.5;
    color: #202020;
    box-shadow: -3px 3px 41px -3px rgba(0, 0, 0, 0.27);
    -webkit-box-shadow: -3px 3px 41px -3px rgba(0, 0, 0, 0.27);
}

#ag #ag-inner-wrapper {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

#ag p,
#ag h1,
#ag h2,
#ag h3,
#ag a,
#ag ul,
#ag li,
#ag ol,
#ag .paragraph {
    padding: 0;
    margin: 0;
}

#ag p {
    padding-top: 25px;
}

#ag br {
    display: block;
    /* makes it have a width */
    content: "";
    /* clears default height */
    margin-top: 25px;
    /* change this to whatever height you want it */
}

#ag h1 {
    font-size: 2.625rem;
    line-height: 1.2;
    padding-top: 30px;
    color: #e30613;
}

#ag h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    color: #e30613;
    font-weight: 400;
}

#ag h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    padding-top: 30px;
}

#ag h3+h3 {
    padding-top: 15px;
}


#ag #logo {
    width: fit-content;
    margin-left: auto;
}

#ag #logo img {
    display: flex;
    width: 100px;
    margin: 30px 60px;
    transition: all .3s ease-out;
}

#ag #logo img:hover {
    transform: scale(1.15);
    transition: all .3s ease-out;
}

#ag #content {
    padding: 20px 60px 50px 60px;
}

#ag #content .btn {
    text-transform: uppercase;
    background-color: #be0510;
    border: 1px solid #be0510;
    color: #ffffff;
    padding: 30px;
    margin-top: 35px;
    line-height: 0;
    letter-spacing: 0.75px;
    transition: all .3s ease-out;
}

#ag #content .btn:hover {
    background-color: #ffffff;
    color: #be0510;
    transition: all .3s ease-out;
}

#ag #content .btn::after {
    height: 0;
}

#ag #content a {
    color: #e30613;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

#ag #content a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #e30613;
    transform-origin: bottom left;
    transition: transform 0.25s ease-out;
}

#ag #content a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

#ag ul {
    padding-top: 5px;
    padding-left: 0;
    list-style: none;
}

#ag li {
    position: relative;
    padding-left: 25px;
}

#ag li::before {
    position: absolute;
    top: 11px;
    left: 0;
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50px;
    background-color: #003b5c;
}

#ag #jobdetails-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 5px 100px;
}

#ag .jobdetails-inner-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}

#ag .jobdetails {
    display: flex;
    flex-direction: row;
    column-gap: 5px;
}

#ag .jobdetails p {
    padding-top: 0;
}

#ag .jobdetails i {
    padding-right: 3px;
    color: #003b5c;
}

#ag .jobdetails .fa-location-dot {
    padding-left: 3px;
    padding-right: 5px;
}

#ag .btn .fa-solid {
    line-height: 0;
}

#ag .liquid-design {
    display: none;
}

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

    #ag #content {
        padding: 15px 40px 45px 40px;
    }

    #ag #logo img {
        margin: 20px 40px 30px 40px;
    }

    #ag p,
    #ag h3 {
        padding-top: 20px;
    }

    #ag br {
        margin-top: 20px;
    }

    #ag #jobdetails-wrapper {
        margin-top: 25px;
    }


}

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

    #ag p,
    #ag a,
    #ag ul,
    #ag li,
    #ag ol,
    #ag .paragraph {
        font-size: 1.12rem;
        line-height: 1.4;
    }

    #ag h1 {
        font-size: 2.1rem;
        line-height: 1.2;
        padding-top: 30px;
        color: #e30613;
    }

    #ag h3 {
        font-size: 1.35rem;
        line-height: 1.2;
    }

    #ag #content {
        padding: 15px 30px 40px 30px;
        hyphens: auto;
    }

    #ag #logo img {
        margin: 20px 30px 30px 30px;
    }

}