@font-face {
    font-family: "Agenda";
    src: url("https://www.evms.edu/uploads/magazine/14-2/fonts/agenda/Agenda-Light.woff2") format("woff2"),
        url("https://www.evms.edu/uploads/magazine/14-2/fonts/agenda/Agenda-Light.woff") format("woff"),
        url("https://www.evms.edu/uploads/magazine/14-2/fonts/agenda/Agenda-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Agenda";
    src: url("https://www.evms.edu/uploads/magazine/14-2/fonts/agenda/Agenda.woff2") format("https://www.evms.edu/uploads/magazine/14-2/fonts/agenda/woff2"), url("https://www.evms.edu/uploads/magazine/14-2/fonts/agenda/Agenda.woff") format("woff"),
        url("https://www.evms.edu/uploads/magazine/14-2/fonts/agenda/Agenda.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agenda-Light';
    font-style: normal;
    font-weight: normal;
    src: local('Agenda-Light'), url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-fontface/ufonts.com_agenda-light.woff') format('woff');
}


@font-face {
    font-family: 'Agenda-MediumCondensed';
    font-style: normal;
    font-weight: normal;
    src: local('Agenda-MediumCondensed'), url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-fontface/ufonts.com_agenda-mediumcondensed.woff') format('woff');
}


@font-face {
    font-family: 'Agenda-Black';
    font-style: normal;
    font-weight: normal;
    src: local('Agenda-Black'), url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-fontface/ufonts.com_agenda-black.woff') format('woff');
}


@font-face {
    font-family: 'Agenda-LightCondensed';
    font-style: normal;
    font-weight: normal;
    src: local('Agenda-LightCondensed'), url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-fontface/ufonts.com_agenda-lightcondensed.woff') format('woff');
}


@font-face {
    font-family: 'Agenda-LightExtraCondensed';
    font-style: normal;
    font-weight: normal;
    src: local('Agenda-LightExtraCondensed'), url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-fontface/ufonts.com_agenda-lightextracondensed.woff') format('woff');
}


@font-face {
    font-family: 'Agenda-LightUltraCondensed';
    font-style: normal;
    font-weight: normal;
    src: local('Agenda-LightUltraCondensed'), url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-fontface/ufonts.com_agenda-lightultracondensed.woff') format('woff');
}


@font-face {
    font-family: 'Agenda-MediumExtraCondensed';
    font-style: normal;
    font-weight: normal;
    src: local('Agenda-MediumExtraCondensed'), url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-fontface/ufonts.com_agenda-mediumextracondensed.woff') format('woff');
}


@font-face {
    font-family: 'Agenda-MediumUltraCondensed';
    font-style: normal;
    font-weight: normal;
    src: local('Agenda-MediumUltraCondensed'), url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-fontface/ufonts.com_agenda-mediumultracondensed.woff') format('woff');
}


@font-face {
    font-family: 'Agenda-ThinUltraCondensed';
    font-style: normal;
    font-weight: normal;
    src: local('Agenda-ThinUltraCondensed'), url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-fontface/ufonts.com_agenda-thinultracondensed.woff') format('woff');
}


@font-face {
    font-family: 'Agenda-LightItalic';
    font-style: normal;
    font-weight: normal;
    src: local('Agenda-LightItalic'), url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-fontface/ufonts.com_agenda-lightitalic.woff') format('woff');
}


@font-face {
    font-family: 'Agenda-Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Agenda-Bold'), url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-fontface/ufonts.com_agenda-bold.woff') format('woff');
}


@font-face {
    font-family: 'Agenda-BoldCondensed';
    font-style: normal;
    font-weight: normal;
    src: local('Agenda-BoldCondensed'), url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-fontface/ufonts.com_agenda-boldcondensed.woff') format('woff');
}


@font-face {
    font-family: 'Agenda-BoldExtraCondensed';
    font-style: normal;
    font-weight: normal;
    src: local('Agenda-BoldExtraCondensed'), url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-fontface/.com_agenda-boldextracondensed.woff') format('woff');
}


@font-face {
    font-family: 'Agenda-BoldUltraCondensed';
    font-style: normal;
    font-weight: normal;
    src: local('Agenda-BoldUltraCondensed'), url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-fontface/ufonts.com_agenda-boldultracondensed.woff') format('woff');
}

@font-face {
    font-family: 'Agenda';
    src: url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-light/Agenda-Light.woff2') format('woff2'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-light/Agenda-Light.woff') format('woff'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-light/Agenda-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Agenda';
    src: url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-medium/Agenda-Medium.woff2') format('woff2'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-medium/Agenda-Medium.woff') format('woff'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/agenda-medium/Agenda-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Industry';
    src: url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Light.eot');
    src: local('Industry Light'), local('Industry-Light'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Light.eot?#iefix') format('embedded-opentype'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Light.woff') format('woff'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Industry';
    src: url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Bold.eot');
    src: local('Industry Bold'), local('Industry-Bold'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Bold.eot?#iefix') format('embedded-opentype'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Bold.woff') format('woff'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Industry';
    src: url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-BoldItalic.eot');
    src: local('Industry Bold Italic'), local('Industry-BoldItalic'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-BoldItalic.woff') format('woff'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Industry';
    src: url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-LightItalic.eot');
    src: local('Industry Light Italic'), local('Industry-LightItalic'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-LightItalic.eot?#iefix') format('embedded-opentype'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-LightItalic.woff') format('woff'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Industry-Book';
    src: url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Book.eot');
    src: local('Industry Book'), local('Industry-Book'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Book.eot?#iefix') format('embedded-opentype'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Book.woff') format('woff'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Industry';
    src: url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-BlackItalic.eot');
    src: local('Industry Black Italic'), local('Industry-BlackItalic'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-BlackItalic.eot?#iefix') format('embedded-opentype'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-BlackItalic.woff') format('woff'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: 'Industry-BookItalic';
    src: url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-BookItalic.eot');
    src: local('Industry Book Italic'), local('Industry-BookItalic'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-BookItalic.eot?#iefix') format('embedded-opentype'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-BookItalic.woff') format('woff'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-BookItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Industry-DemiItalic';
    src: url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-DemiItalic.eot');
    src: local('Industry Demi Italic'), local('Industry-DemiItalic'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-DemiItalic.eot?#iefix') format('embedded-opentype'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-DemiItalic.woff') format('woff'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-DemiItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Industry';
    src: url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Black.eot');
    src: local('Industry Black'), local('Industry-Black'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Black.eot?#iefix') format('embedded-opentype'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Black.woff') format('woff'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Industry';
    src: url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Medium.eot');
    src: local('Industry Medium'), local('Industry-Medium'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Medium.eot?#iefix') format('embedded-opentype'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Medium.woff') format('woff'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Industry';
    src: url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-MediumItalic.eot');
    src: local('Industry Medium Italic'), local('Industry-MediumItalic'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-MediumItalic.eot?#iefix') format('embedded-opentype'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-MediumItalic.woff') format('woff'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Industry-Demi';
    src: url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Demi.eot');
    src: local('Industry Demi'), local('Industry-Demi'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Demi.eot?#iefix') format('embedded-opentype'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Demi.woff') format('woff'),
        url('https://www.evms.edu/uploads/magazine/14-2/fonts/Industry/Industry-Demi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}







* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-image: linear-gradient(45deg,
            hsl(40deg 3% 82%) 0%,
            hsl(40deg 3% 82%) 12%,
            hsl(40deg 3% 82%) 18%,
            hsl(40deg 3% 82%) 22%,
            hsl(40deg 3% 82%) 26%,
            hsl(40deg 3% 82%) 29%,
            hsl(40deg 3% 83%) 33%,
            hsl(40deg 3% 82%) 36%,
            hsl(40deg 3% 82%) 39%,
            hsl(40deg 3% 82%) 42%,
            hsl(40deg 3% 82%) 44%,
            hsl(40deg 3% 82%) 47%,
            hsl(40deg 3% 82%) 50%,
            hsl(40deg 3% 82%) 53%,
            hsl(40deg 3% 82%) 56%,
            hsl(40deg 3% 81%) 58%,
            hsl(40deg 3% 81%) 61%,
            hsl(40deg 3% 81%) 64%,
            hsl(40deg 3% 81%) 67%,
            hsl(40deg 3% 81%) 71%,
            hsl(40deg 3% 81%) 74%,
            hsl(40deg 3% 81%) 78%,
            hsl(40deg 3% 80%) 82%,
            hsl(40deg 3% 80%) 88%,
            hsl(40deg 3% 80%) 100%);
    /* background-size: cover; */
    font-family: "Industry", sans-serif;
    overflow-x: hidden;
}

.container {
    margin: 0 auto;
    max-width: 1310px;
}

.skip-link {
    background-color: #f1f1f1;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    color: #002539;
    display: block;
    font-family: var(--primary-font-family);
    font-size: 0.77em;
    font-weight: 700;
    height: auto;
    left: 6px;
    line-height: normal;
    padding: 15px 23px 14px;
    position: absolute;
    text-decoration: none;
    top: -100px;
    transition: top .75s ease-out;
    -webkit-transition: top .75s ease-out;
    width: auto;
    z-index: 100000;
}

.skip-link:focus,
.skip-link:hover {
    background-color: #002539;
    color: #f1f1f1;
    top: 7px;
    text-decoration: underline;
    transition: top 0s;
    -webkit-transition: top 0s;
}

/*** HEADER ***/
header {
    padding-top: 45px;
}

header .container {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1310px;
}

header .title {
    position: relative;
    text-align: center;
    z-index: 1;
}

header .title::before {
    background: url("https://www.evms.edu/uploads/magazine/14-2/images/signature-2.png");
    content: "";
    display: block;
    height: 100px;
    left: 25px;
    position: absolute;
    top: -28px;
    width: 143px;
    z-index: -1;
}

header .title .txt--small {
    color: #796e65;
    font-family: "Industry", sans-serif;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 8px;
    margin-left: 0.5em;
    text-transform: uppercase;
}

header .title h1 {
    color: #1f7f9b;
    font-family: "DM Serif Display", serif;
    font-size: 35px;
    font-weight: 500;
    line-height: 1;
    margin-top: -0.25em;
}

header .instructions {
    display: block;
    font-family: "Agenda-MediumCondensed", sans-serif;
    font-size: 16px;
    font-style: italic;
    line-height: 24px;
    margin: 0 auto;
    text-align: center;
    width: 180px;
}

.toggle-animation {
    align-items: center;
    background: transparent;
    border: none;
    color: #1f7f9b;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    font-weight: bold;
    margin-right: 0;
    padding: 8px 0 8px 16px;
    transition: 0.3s;
}

.toggle-animation .toggle-icon {
    background: transparent;
    /* border: 2px solid #1f7f9b; */
    border-radius: 100%;
    display: block;
    font-size: 30px;
    height: 30px;
    position: relative;
    transition: 0.3s;
    width: 30px;
}


.toggle-animation .toggle-icon .icon-control {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.toggle-animation .btn-text {
    background: transparent;
    color: #1f7f9b;
    font-size: 16px;
    margin-left: 0.25em;
}

header .logo {
    background: url("https://www.evms.edu/uploads/magazine/14-2/images/evms-logo.png") no-repeat;
    background-size: contain;
    height: 40px;
    margin-top: -5.25em;
    width: 120px;
}

header .logo:focus,
header .logo:hover {
    color: #796e65;
}



/*** MAIN CONTENT AREA & CAROUSEL ***/
main {
    display: flex;
    flex-direction: column;
    min-height: 90vh;
    /* overflow-x: hidden; */
    /* position: relative; */
}

#contentContainer {
    left: 50%;
    margin: 0 auto;
    max-width: 1000px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.hero {
    height: 384px;
    left: 50%;
    object-fit: contain;
    pointer-events: none;
    position: absolute;
    top: 60%;
    transform: translateZ(-1000px) translateX(-50%) scale(4.8);
    width: 300px;
}

.hero img {
    display: block;
    height: 100%;
    margin: 0 auto;
    max-width: 100%;
    object-fit: contain;
}

.slider-btn {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1500px;
    position: absolute;
    top: 130%;
    transform: translateY(-50%);
    width: 100%;
}

.slider-btn .btn {
    background: none;
    border: none;
    color: #1f7f9b;
    cursor: pointer;
    font-size: 40px;
    height: 62px;
    outline: none;
    width: 74px;
}

.slider-btn .btn-left {
    left: -130px;
    position: absolute;
}

.slider-btn .btn-left .btn-arrow {
    transform: translate(-7px -50%);
}

.slider-btn .btn-right {
    position: absolute;
    right: -130px;
}

.slider-btn .btn-right .btn-arrow {
    transform: translate(-46px, -50%);
}

.slider-btn .btn .btn-arrow {
    fill: none;
    height: 22px;
    position: absolute;
    stroke: #1f7f9b;
    top: 50%;
    transition: 0.3s;
    width: 48px;
}

.slider-btn .btn .btn-eclipse {
    fill: none;
    height: 100%;
    left: 0;
    position: absolute;
    stroke: #1f7f9b;
    top: 0;
    width: 100%;
}

#carouselContainer {
    height: 425px;
    margin-top: 14em;
    /* position: relative;
    top: 12%; */
    width: 1000px;
}

.trans3d {
   /* backface-visibility: visible; */
   /*  -moz-backface-visibility: visible; */
   /* -webkit-backface-visibility: visible; */
    transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.carouselItem {
    height: 234px;
    left: 50%;
    margin-left: -160px;
    margin-top: -90px;
    position: absolute;
    top: 41%;
    width: 395px;
}

.carouselItemInner {
    background-color: #796e65;
    cursor: pointer;
    font-size: 24px;
    height: 100%;
    left: 0;
    position: absolute;
    text-align: left;
    top: 0;
    width: 100%;
}

.carouselItemInner .card-image-wrapper {
    height: 100%;
    position: relative;
}

.carouselItemInner img {
    display: block;
    filter: grayscale(100%);
    height: 100%;
    transition: 0.3s;
    width: 100%;
}

.carouselItemInner:hover img {
    filter: grayscale(0);
}

.carouselItemInner .card-image-wrapper .img-overlay {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.carouselItemInner .overlay {
    align-items: flex-start;
    background: linear-gradient(90deg, #1f7f9b 30.18%, rgba(205, 185, 126, 0) 100%);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.carouselItemInner .overlay-inner {
    padding-left: 18px;
    width: 270px;
}

.carouselItemInner .overlay h2 {
    color: #ffffff;
    font-family: "Industry", sans-serif;
    font-size: 18px;
    font-weight: 700;
    /* line-height: 120%; */
    margin-bottom: 15px;
    position: relative;
    text-transform: uppercase;
}

.carouselItemInner .overlay p {
    color: #ffffff;
    font-family: "Agenda", sans-serif;
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 8px;
}

.carouselItemInner .overlay span {
    color: #ffffff;
    display: block;
    font-family: "Agenda", sans-serif;
    font-size: 14px;
}


/*** MODALS ***/
.modal {
    background: rgba(0, 0, 0, 0.5);
    bottom: 0;
    height: 100%;
    left: 0;
    margin-top: -2em;
    opacity: 0;
    overflow: inherit;
    position: absolute;
    right: 0;
    top: 0;
    visibility: hidden;
    width: 100%;
    z-index: 999;
}

.modal .modal__inner {
    background: #f1f1ee;
    background-image: url("https://www.evms.edu/uploads/magazine/14-2/images/ring.png");
    background-position: center;
    background-repeat: no-repeat;
    margin: 90px auto;
    max-width: 963px;
    padding: 12px;
    position: relative;
    transform: scale(0.7);
    transition: 0.3s;
    width: 94%;
}

.modal .modal__inner .btn-close {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-family: "Industry", sans-serif;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    right: 13px;
    top: -27px;
}

.modal .modal__inner .modal__content {
    align-items: center;
    border: 1px solid #cdb97e;
    display: flex;
    /* overflow-y: scroll; */
}

.modal .modal__inner .modal__content .modal__head {
    align-self: stretch;
    position: relative;
    width: 460px;
}



.popup-icon {
    bottom: 0;
    display: grid;
    height: 100%;
    left: 0;
    place-items: center;
    position: absolute;
    right: 0;
    top: 0;
}

.modal .modal__inner .modal__content .modal__head img {
    height: 100%;
    width: 100%;
}

.modal .modal__inner .modal__content .modal__body {
    color: #000000;
    display: grid;
    flex-grow: 1;
    height: 610px;
    /* overflow: scroll; */
    padding: 15px 20px;
    place-items: center;
}

.modal__body-wrapper {
    max-width: 400px;
}

.modal .modal__inner .modal__content .modal__body h2 {
    font-family: "Industry", sans-serif;
    font-size: 30px;
    font-weight: bold;
    line-height: 33px;
    margin-bottom: 48px;
    position: relative;
    text-transform: uppercase;
}

.modal .modal__inner .modal__content .modal__body h2:after {
    background: #1f7f9b;
    bottom: -22px;
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    width: 26px;
}

.modal .modal__inner .modal__content .modal__body p {
    font-family: "Agenda", sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3em;
    padding-bottom: 1em;
}

.modal .modal__inner .modal__content .modal__body p:not(:last-child) {
    margin-bottom: 15px;
}

.modal .modal__inner .modal__content .modal__body blockquote p {
    font-size: 16px;
}

.modal .modal__inner .modal__content .modal__body p a {
    color: #002539;
    font-weight: bolder;
}

.modal .modal__inner .modal__content .modal__body p a:focus,
.modal .modal__inner .modal__content .modal__body p a:hover {
    text-decoration: underline;
}

.modal .modal__inner .modal__content .modal__body a.card-link {
    align-items: center;
    color: #1f7f9b;
    display: flex;
    font-size: 18px;
    font-weight: bold;
    gap: 6px;
    text-decoration: none;
    text-transform: uppercase;
}

.toggle-modal {
    opacity: 1;
    visibility: visible;
}

.modal.toggle-modal .modal__inner {
    transform: scale(1);
}

/*** FOOTER ***/
footer {
    left: 0;
    margin-top: 20%;
    padding: 1em;
    /* position: absolute; */
    width: 100%;
}

footer .container {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

footer .description {
    position: relative;
    /* Width removed from original CSS */
}

footer .description::before {
    background: #1f7f9b;
    content: "";
    display: block;
    height: 2px;
    position: absolute;
    top: -28px;
    width: 26px;
}

footer .description h3 {
    box-sizing: content-box;
    color: #000000;
    font-family: "Industry", sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    max-width: 300px;
    text-transform: uppercase;
}

footer .description p {
    color: #000000;
    font-family: "Agenda", sans-serif;
    font-size: 16px;
    line-height: 24px;
}

footer .description p:not(:last-child) {
    margin-bottom: 14px;
}

.description a {
    color: #1f7f9b;
    font-weight: bolder;
}

.description a:focus,
.description a:hover {
    text-decoration: underline;
}

footer .social-links {
    align-items: baseline;
    display: flex;
    height: 270px;
    margin-top: 0.5em;
}

footer .social-links ul {
    list-style: none;
}

footer .social-links ul li {
    cursor: pointer;
    position: relative;
}

footer .social-links ul li:not(:last-child) {
    margin-bottom: 12px;
}

.fa-brands {
    color: #1f7f9b !important;
}




/***** MEDIA QUERIES *****/

/***** PREFERS REDUCED MOTION *****/
@media screen and (prefers-reduced-motion: reduce) {
    #carouselContainer {
        transition: 0s !important;
    }

    .carouselItem {
        transition: 0s !important;
    }

    .modal {
        transition: 0s;
    }

    .modal .modal__inner {
        transition: 0s;
    }

    footer .social-links ul li {
        transition: all 0s;
    }
}

@media screen and (max-width: 400px) {
    .hero {
        top: 90%;
    }
}

@media screen and (max-width: 667px) and (orientation: portrait) {
    header .title h1 {
        font-size: 25px;
    }

    header .logo {
        margin-top: -2.25em;
        width: 100px;
    }

    header .instructions {
        font-size: 14px;
    }

    .carouselItem {
        margin-left: -130px;
        width: 260px;
    }

    .carouselItemInner .overlay-inner {
        padding: 1em;
        width: 260px;
    }

    .carouselItemInner .overlay-inner h2 {
        font-size: 18px;
    }

    .carouselItemInner .overlay p {
        font-size: 15px;
    }

    .carouselItemInner .overlay span {
        font-size: 14px;
    }

    .slider-btn {
        display: flex;
        margin: 0 auto;
        position: absolute;
        top: 130%;
        width: 55%;
    }

    .slider-btn .btn-left {
        left: 57%;
        position: absolute;
    }

    .slider .btn-right {
        position: absolute;
        right: -20%;
    }

    .modal__content {
        display: flex;
        flex-direction: column !important;
    }

    footer {
        bottom: 0;
        height: 0;
        margin-top: 36%;
        padding: 1em;
        position: inherit;
        width: 90%;
    }

    footer .container {
        display: block;
    }

    footer .social-links ul {
        column-gap: 3em;
        display: inline-flex;
        font-size: 1.75em;
        flex-direction: row;
        margin: 1em;
    }
}

@media screen and (min-width: 667px) and (max-width: 844px) and (orientation: landscape) {

    /* To better clear the carousel buttons */
    footer {
        margin-top: 55% !important;
    }
}

@media screen and (min-width: 667px) and (max-width: 926px) and (orientation: landscape) {
    .hero {
        top: 100%;
    }

    #contentContainer {
        top: 40%;
    }

    .slider-btn {
        align-items: center;
        display: flex;
        position: absolute;
        top: 125%;
    }

    .slider-btn .btn-left {
        left: 15%;
        position: absolute;
    }

    .slider-btn .btn-right {
        position: absolute;
        right: 15%;
    }

    #carouselContainer {
        margin-top: 30em;
    }

    footer {
        margin-top: 45%;
    }
}


@media screen and (min-width: 800px) and (max-width: 926px) and (orientation: portrait) {
    #contentContainer {
        top: 30%;
    }

	.slider-btn {
		top: 130%;
	}

	.slider-btn .btn-left {
		left: 150px;
	}

	.slider-btn .btn-right {
		right: 150px;
	}

    footer {
        margin-top: -30%;
    }
}

/* Kept from Sway's original CSS */
@media screen and (max-width: 891px) {
    .modal {
        margin-top: 0;
		place-items: unset;
		z-index: 9999;
    }

    .modal .modal__inner {
        align-self: self-start;
        height: auto;
        margin: 0 auto;
        max-width: 440px;
        top: 50px;
    }

    .modal .modal__inner .btn-close {
        display: block;
        width: 67px;
    }

    .modal .modal__inner .modal__content {
        flex-direction: column !important;
        overflow-y: scroll !important;
    }

    .modal .modal__inner .modal__content .modal__head {
        background-size: cover;
        font-size: 0;
        margin-bottom: 12px;
        min-height: 260px;
        width: 100%;
    }

    .modal .modal__inner .modal__content .modal__body {
        height: 500px;
        padding-top: 50px;
        width: 100%;
    }
}


@media screen and (max-width: 1080px) {
    main {
        min-height: 90vh;
    }

    header {
        padding: 3em 1em 3em 1em;
    }

    .toggle-animation {
        display: none;
    }
}

@media screen and (width: 1080px) {
    .slider-btn {
        align-content: center;
        top: 140%;
    }

    .slider-btn .btn-left {
        left: 0;
    }

    .slider-btn .btn-right {
        right: 0;
    }
}
