/* General styling */
* {
    box-sizing: border-box;
}

body {
    font-family: "robotoregular", Helvetica, Arial, sans-serif;
    font-size: 14pt;
    margin: 0;
    color: #222;
    width: 100%;
    /* allows absolute positioning of children */
}


/* Adjusting font face options: https://www.pagecloud.com/blog/how-to-add-custom-fonts-to-any-website */

@font-face {
    font-family: "Flama";
    src: url("fonts/FlamaCondensed-Book.woff") format("woff"),
}

@font-face {
    font-family: "Flama-Bold";
    src: url("fonts/FlamaCondensed-Bold.woff") format("woff"),
}

@font-face {
    font-family: "robotoregular";
    src: url("fonts/roboto-regular-webfont.woff2") format('woff2');
    src: url("fonts/roboto-regular-webfont.woff") format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Prociono';
    src: url('fonts/prociono-regular-webfont.woff2') format('woff2');
    src: url('fonts/prociono-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Ysabeau';
    src: url('fonts/ysabeauoffice-variablefont_wght-webfont.woff2') format('woff2');
    src: url('fonts/ysabeauoffice-variablefont_wght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'Ysabeau-Italic';
    src: url('fonts/ysabeauoffice-italic-variablefont_wght-webfont.woff2') format('woff2');
    src: url('fonts/ysabeauoffice-italic-variablefont_wght-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

a {
    text-decoration: none;
}

.content {
    max-width: 1200px;
    margin: auto;
    padding: 50px;
    font-size: 18pt;
}

.card1 {
    margin: auto;
    padding-bottom: 20px;
    font-size: 18pt;
    background-color: #981b36;
    color: #fff;
}

.card2 {
    margin: auto;
    font-size: 18pt;
    padding-bottom: 20px;
    background-color: #d5be8d;
    color: #333;
}

.card3 {
    margin: auto;
    font-size: 18pt;
    padding-bottom: 20px;
    background-color: #635851;
    color: #fff;
}

/* Card link styling; this is separate from nav menu, footer, and normal page styling */
.card1 a {
    text-decoration: none;
}

.card1 a:link {
    color: #d5be8c;
}

.card1 a:visited {
    color: #d5be8c;
}

.card1 a:hover {
    color: #fff;
}

.card1 a:active {
    color: #fff;
}

.card3 a {
    text-decoration: none;
}

.card3 a:link {
    color: #77cdd7;
}

.card3 a:visited {
    color: #77cdd7;
}

.card3 a:hover {
    color: #fff;
}

.card3 a:active {
    color: #fff;
}


/* Font family and style definitions */
h1 {
    font-family: "Prociono", Helvetica, Arial, sans-serif;
    font-size: 2.125rem;
    color: #981b36;
    /* to 34px */
}

h2 {
    font-family: "Prociono", Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    color: #981b36;
    /* Equivalent to 28px */
}

h3 {
    font-family: "Prociono", Helvetica, Arial, sans-serif;
    font-size: 2rem;
    color: #981b36;
    text-align: center;
}

h4 {
    font-family: "Prociono", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    color: #981b36;
}

main {
    margin-top: 100px;
    margin-bottom: 100px;
    /* Adjust this value according to the actual height of your header */

    font-size: 1.3125rem;
    /* Equivalent to 21px for default text */
}

strong {
    background-color: #981b36;
    color: #333;
}

/* Header styling */
.header {
    width: 100%;
    overflow: visible;
    height: 60px;
    background-color: #981b36;
    padding: 10px 20px;
    border-bottom: #d5be8d solid 2px;
}

.header img {
    float: left;
    margin-left: 5%;
    height: 40px;
    vertical-align: middle;
}

.header2 {
    width: 100%;
    height: 87px;
    background-color: #635851;
    padding: 10px 20px;
    font-family: Prociono, Arial, sans-serif;
    color: #d5be8d;
    font-size: 2em;
    text-align: center;
}

.header2 span {
    position: relative;
    top: 10px
}

.header2 img {
    float: left;
    height: 65px;
    vertical-align: middle;
    margin-left: 10%;
    margin-top: 0px;
}

nav ul li {
    display: inline-block;
    position: relative;
    overflow: visible;

    /* parent with relative position */
}

/* Header navigation */
nav ul {
    display: inline-block;
    list-style-type: none;
    margin: 0;
    float: right;
    margin-right: -10px;
    top: 0;
    color: #f9f9f9;
}

nav li {
    display: inline-block;
    padding: 0.25em 0.25em;
}


nav li {
    text-align: center;
    font-size: 1em !important;
    font-variant: small-caps;
    font-family: Flama, Arial, sans-serif;
    font-weight: bold;
    text-decoration: none;
    overflow: hidden;
}


/* Header nav menu link styling; this is separate from the styling for normal pages and the footer */
nav li a {
    color: #fff;
    padding: 10px 8px;
}

nav li a:hover {
    color: #981b36;
    background-color: #fff;
}

nav li a.nav-active {
    color: #981b36;
    background-color: #fff;
}

.navigation {
    float: right;
}

#nav-bar2 {
    margin-top: 2px;
}

#nav-bar2 ul li {
    display: inline-block;
    position: relative;
    overflow: visible;
    /* parent with relative position */
}

.nav-arrow {
    position: relative;
    display: inline-block;
}

/* Style your link */
.nav-arrow a {
    text-decoration: none;
    padding: 10px 15px;
    transition: all 0.5s;
}

/* Create the arrow shape using a pseudo-element */
.nav-arrow a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: transparent;
    border-left-color: #981b36;
    border-width: 44px;
    margin-top: -38px;
    transition: border-left-color 0.5s;
    opacity: 0;
}

/* Change the background color and show the arrow when hovering over the link */
.nav-arrow a:hover {
    background-color: #981b36;
    color: #635851;
}

.nav-arrow a:hover::after {
    right: -67px;
    /* Adjust this value to move the arrow */
    opacity: 1;
}

.symposium {
    display: inline-block;
}

.symposium li a:hover {
    color: #fff !important;
    background-color: #981b36 !important;
}

.navigation #nav-bar2 .symposium li a {
    padding-right: 20px !important;
    padding-left: 10px !important;
    margin-right: -38px !important;
}


/* Header navigation */
#nav-bar2 ul {
    display: inline-block;
    list-style-type: none;
    position: relative;
    color: #d5be8d;
}

#nav-bar2 li {
    display: inline-block;
    padding: 0.5em 1em;
}

#nav-bar2 li {
    text-align: center;
    font-size: .5em !important;
    font-family: Prociono, Arial, sans-serif;
    font-weight: bold;
    text-decoration: none;
}


/* Header nav menu link styling; this is separate from the styling for normal pages and the footer */
#nav-bar2 li a {
    color: #d5be8d;
    padding: 31px 10px !important;
    transition: background 0.5s;
    transition: color .3s;
}

#nav-bar2 li a:hover {
    background-color: #981b36;
    color: #fff;
}

#nav-bar2 li a.nav-active {
    background-color: #981b36;
    color: #fff;
}


/* General dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.dropdown-content {
    font-size: .7em;
    left: 0px;
    visibility: visible;
    position: absolute;
    overflow: hidden;
    opacity: 0;
    width: 150px;
    max-height: 0px;
    padding: 0px;
    transition: opacity .3s linear, max-height .5s ease-in-out;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    color: #981b36 !important;
    top: 110%;
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    text-decoration: none !important;
}

.dropdown-content a {
    font-family: Arial !important;
    font-variant: normal !important;
    font-weight: 100 !important;
    text-decoration: none !important;
    display: block;
    color: #444 !important;
    padding: 8px 10px;
    text-align: center !important;
}

.dropdown-content a:hover {
    display: block !important;
    text-decoration: none !important;
    color: #fff !important;
    background-color: #981b36;
    text-decoration-style: solid !important;
    text-decoration-color: #981b36;
    width: 155px;
    margin-left: -5px;
}

#sidebar {
    width: 120px;
    height: 330px;
    position: fixed;
    left: 0;
    top: 200px;
    background: #981b36;
    color: #fff;
    transition: width 0.5s;
    overflow: hidden;
    padding-top: 20px;
    box-shadow: 2px 0px 6px 0px rgba(0, 0, 0, 0.2);
    border-radius: 0px 20px 20px 0px;
}

#sidebar:hover {
    width: 200px;
}

#sidebar ul {
    list-style-type: none;
    padding: 0;
}

#sidebar ul li {
    padding: 15px 10px;
    transition: padding-left 0.5s;
}

#sidebar ul li span {
    text-decoration: none;
    background-color: #d5be8d;
    color: #333;
    font-size: 14px;
    padding: 15px;
    margin-left: -17px;
    display: block;
    white-space: nowrap;
    /* Added this line */
    overflow: hidden;
    /* Added this line */
    text-overflow: ellipsis;
    /* Added this line */
    transition: font-size .5s ease;

}

#sidebar ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    display: block;
    white-space: nowrap;
    /* Added this line */
    overflow: hidden;
    /* Added this line */
    text-overflow: ellipsis;
    /* Added this line */
    transition: font-size .5s ease;
}

#sidebar:hover ul li a {
    padding-left: 20px;
    font-size: 20px;
}

#sidebar:hover ul li span {
    padding-left: 20px;
    font-size: 20px;
}


#normal li:hover {
    background: #70172a;
}

.card-img img {
    position: absolute;
    width: 100%;
}

.card-img-float {
    position: sticky;
    top: 0px;
    align-self: flex-end;
    z-index: -1;
    padding: 0;
    margin-bottom: -10px;
}

.card-img-float img {
    width: 100% !important;
}

.break {
    height: 17vh;
}

.accordion-item .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.accordion-item .accordion-content.show {
    max-height: 100vh;
    /* you can change this value to fit your content */
}

.accordion-button {
    display: flex;
    border-radius: 15px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem;
    font-size: 1.7rem;
    background-color: #981b36;
    color: #fff;
    font-family: "CooperHewitt-Bold", Helvetica, Arial, sans-serif;
    border: none;
    cursor: pointer;
    position: relative;
    /* Needed for positioning the pseudo-element */
}

.accordion-button::after {
    content: '\002B';
    position: absolute;
    right: 1rem;
    /* adjust as needed */
    font-size: 2rem;
    color: #fff;
    font-family: "CooperHewitt-Bold", Helvetica, Arial, sans-serif;
}

.accordion-button.active::after {
    content: '\2212';
}


/* Footer styling */
footer {
    margin: auto;
    background-color: #635851;
    color: #f3dfb3;
    padding-top: 0.5em;
    border-bottom: .01em solid #635851;
    font-size: 0.9em !important;
    text-align: center;
    clear: both;
}

.footer-column {
    font-size: 18px;
    float: left;
    width: 25%;
    padding: 15px 0 0 15px;
}

.footer-row:after {
    content: "";
    display: table;
    clear: both;
}

/* Footer link styling; this is separate from both the navigation menu and normal pages */
.footer-column a {
    text-decoration: none;
}

.footer-column a:link {
    color: #d5be8d;
}

.footer-column a:visited {
    color: #d5be8d;
}

.footer-column a:hover {
    color: #fff;
}

.footer-column a:active {
    color: #fff;
}

/* Social media icons in the footer */
.fa {
    padding: 20px;
    font-size: 30px;
    width: 30px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
    color: #d5be8d;
}

.fa-twitter {
    color: #d5be8d;
}

.fa-instagram {
    color: #d5be8d;
}

.fa-youtube {
    color: #d5be8d;
}


/* Viewport rules */
@media (min-width: 900px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 660px) {
    .header a {
        float: none;
        display: block;
        text-align: left;
    }

    .header-right {
        float: none;
    }
}