* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* orange: rgb(238,86,61)
blue: rgb(16,30,195)
beige: rgb(247, 228, 169) */

html {
    height: 100%;
}

body {
    background-color: rgb(255, 255, 255);
    background-image: url("img/bg_light.jpg");
    background-position: center;
    background-repeat: repeat;
    background-attachment: fixed;
    font-family: 'Cabin', sans-serif;
    display: flex;
    flex-direction: column;
    height: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

input[type=text], input[type=email], button, textarea {
    border: none;
    box-shadow: none;
    background-color: rgb(255, 255, 255);
}

.content {
    margin-top: 66px;
    flex: 1 0 auto;
}

.header {
    background-color: rgb(254, 70, 45);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px 8px 12px;
    width: 100vw;
    position: fixed;
    top: 0;
    z-index: 2;
}

.nav-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    font-family: 'Cabin Condensed', sans-serif;
    z-index: 1;
}

.nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 85px;
}

.nav__link {
    margin-top: 10px;
    color: rgb(254, 70, 45);
    font-size: 24px;
}

.language-options {
    margin-top: 20px;
}

.selected-language {
    color: rgb(11, 10, 198);
}

.social-icon-wrapper {
    margin-top: 30px;
    color: rgb(254, 70, 45);
    font-size: 28px;
}

.fa.social-icon {
    font-size: 28px;
    padding: 0px 8px;
}

.fa.menu-icon {
    font-size: 26px;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__image {
    width: 50px;
    height: 50px;
}

.logo-link-wrapper {
    display: flex;
}

.header__title-wrapper {
    margin-left: 5px;
}

.header__title {
    font-family: 'Cabin Condensed', sans-serif;
    font-size: 13px;
}

.hero {
    background-color: rgb(0, 0, 0);
}

.gallery {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery .gallery__item {
    overflow: hidden;
    text-align: center;
}

.gallery .gallery__image {
    display: block;
    margin: 0 auto;
    width: 100%;
}

.gallery .gallery__arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.gallery .arrow {
    background-color: rgb(254, 70, 45);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery .arrow:hover {
    cursor: pointer;
}

.gallery .gallery-arrow-icon {
    font-size: 24px;
    color: rgb(255, 255, 255);
}

.content section {
    font-family: 'Cabin', sans-serif;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content section p {
    margin-top: 16px;
}

.section-title {
    font-family: 'Cabin Condensed', sans-serif;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.1;
}

.section-subtitle {
    font-family: 'Cabin Condensed', sans-serif;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.section-text {
    max-width: 450px;
    margin: 15px 0;
}

.section-img-wrapper {
    margin-bottom: 10px;
}

.section-img {
    width: 96%;
    max-width: 500px;
    box-shadow: 10px 10px 0px 0px rgb(254, 70, 45);
}

.about-us {
    /* background-color: rgb(247, 228, 169); */
    color: rgb(0, 0, 0);
    /* border: solid 5px rgb(254, 70, 45); */
}

.about-us__title {
    color: rgb(254, 70, 45);
}

.events {
    /* background-color: rgba(246, 255, 115, 0.384); */
}

.events__title {
    color: rgb(254, 70, 45);
}

.events__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
}

.events__grid-square {
    display: flex;
    flex-direction: column;
    width: 250px;
    height: 190px;
    margin: 0 30px 30px 30px;
    background-color: rgb(255, 255, 255);
    box-shadow: 15px 15px 0px 0px rgb(11, 10, 198);
}

.event-img {
    max-height: 100%;
    max-width: 80%;
    padding: 10px;
    margin: 0 auto;
}

.event-info-wrapper {
    display: flex;
}

.event-date {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    padding: 6px 18px;
    font-size: 24px;
    height: 58px;
    font-family: 'Cabin', sans-serif;
    text-align: center;
}

.event-month {
    font-size: 15px;
    color: rgb(254, 70, 45);
}

.event-name {
    padding: 12px;
    font-family: 'Cabin Condensed', sans-serif;
}

.event-img-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
    justify-content: space-between;
    align-items: flex-end;
}

.event-details-wrapper {
    background-color: rgb(254, 70, 45);
    color: rgb(255, 255, 255);
    padding: 12px;
}

.event-time {
    font-family: 'Cabin', sans-serif;
    font-size: 24px;
}

.event-time-text {
    margin-left: 5px;
}

.arrow-right {
    float: right;
}

.event-place {
    font-family: 'Cabin Condensed', sans-serif;
    margin-bottom: 5px;
}

.arrow-icon {
    font-size: 24px;
    padding: 10px;
    color: rgb(0, 0, 0);
}

.upcoming-event-arrow {
    float: right;
}

.events__button-wrapper {
    text-align: center;
    margin-top: 10px;
}

.events__button {
    padding: 6px;
    background-color: rgb(254, 70, 45);
    color: white;
    font-size: 16px;
    font-family: 'Cabin Condensed', sans-serif;
}

.upcoming-events-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.upcoming-events__grid-square {
    display: flex;
    flex-direction: column;
    width: 250px;
    height: 190px;
    margin: 0 30px 30px 30px;
    background-color: rgb(255, 255, 255);
    box-shadow: 15px 15px 0px 0px rgb(11, 10, 198);
}

.upcoming-event-img {
    max-height: 100%;
    max-width: 80%;
    padding: 10px;
    margin: 0 auto;
}

.upcoming-event-info-wrapper {
    display: flex;
}

.upcoming-event-date {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    padding: 12px;
    font-size: 20px;
    height: 50px;
    font-family: 'Cabin', sans-serif;
}

.upcoming-event-name {
    padding: 12px;
    font-family: 'Cabin Condensed', sans-serif;
}

.upcoming-event-img-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
    justify-content: space-between;
    align-items: flex-end;
}

.fa.arrow-icon {
    font-size: 24px;
    padding: 10px;
    color: rgb(0, 0, 0);
}

.all-events {
    /* background-color: rgba(246, 255, 115, 0.384); */
}

.all-events__title {
    color: rgb(254, 70, 45);
}

.all-events__subtitle {
    color: rgb(11, 10, 198)
}

.past-events__grid-square {
    display: flex;
    flex-direction: column;
    width: 250px;
    height: 190px;
    margin: 0 30px 30px 30px;
    background-color: rgb(255, 255, 255);
    box-shadow: 15px 15px 0px 0px rgb(11, 10, 198);
}

.past-event-container {
    box-shadow: 15px 15px 0px 0px rgb(254, 70, 45);
}

.upcoming-event-container {
    width: 250px;
    height: 270px;
}

.team {
    background-color: rgb(254, 70, 45);
}

.team__title {
    color: white;
}

.team__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.team__grid-box {
    position: relative;
    width: 50%;
    max-width: 200px;
    min-width: 200px;
    margin: 10px;
}

.team__image {
    display: block;
    width: 100%;
    height: auto;
}

.team__description {
    background-color: rgb(11, 10, 198);
    color: rgb(255, 255, 255);
    padding: 6px 12px;
    width: 100%;
}

.team__name {
    font-size: 20px;
}

.team__position {
    color: rgb(254, 70, 45);
    font-family: 'Cabin Condensed', sans-serif;
}

.committee {
    background-color: none;
}

.committee__title {
    color: rgb(254, 70, 45);
}

.partners {
    background-color: rgb(255, 255, 255);
}

.partners__title {
    color: rgb(11, 10, 198);
}

.partners__grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo-wrapper {
    width: 200px;
    margin: 20px;
}

.partner-logo {
    width: 100%;
    padding: 10px;
}

.footer {
    font-family: 'Cabin Condensed', sans-serif;
    background-color: rgb(0, 0, 0);
    color: white;
    flex-shrink: 0;
}

.footer__content {
    align-items: center;
    padding: 30px 20px;
}

.footer__content-newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
}

.footer__content-newsletter form {
    margin-top: 5px;
}

.footer__input {
    padding: 7px;
    font-size: 14px;
    color: rgb(80, 80, 80);
}

.footer__button {
    padding: 6px;
    background-color: rgb(254, 70, 45);
    color: white;
    font-size: 16px;
    font-family: 'Cabin Condensed', sans-serif;
}

.footer__social-icons, .footer__content-image {
    display: none;
}

.footer__copyright {
    text-align: center;
    margin-top: 10px;
    padding-bottom: 10px;
    font-size: 14px;
}

.contact {
    /* background-color: rgb(247, 228, 169); */
    color: rgb(0, 0, 0);
    /* border: solid 5px rgb(254, 70, 45); */
}

.contact-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 450px;
}

.contact-form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.contact-form-checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}

.contact-label {
    font-family: 'Cabin Condensed', sans-serif;
    margin-bottom: 5px;
}

.contact-input {
    font-family: sans-serif;
    font-size: 14px;
    padding: 7px;
    color: rgb(80, 80, 80);
}

.contact-textarea {
    height: 100px;
}

.contact-checkbox {
    margin-right: 5px;
}

.checkbox-label {
    font-family: 'Cabin Condensed', sans-serif;
}

.contact-form-button {
    padding: 6px;
    background-color: rgb(254, 70, 45);
    color: white;
    font-size: 16px;
    font-family: 'Cabin Condensed', sans-serif;
}

.contact__title {
    color: rgb(254, 70, 45);
}

.g-recaptcha {
    transform: scale(0.8);
    transform-origin: 0 0;
}

.is-open {
    display: block;
}

.hidden {
    display: none;
}

@media only screen and (min-width: 768px) {
    .gallery .gallery__item {
        height: 500px;
    }

    .gallery .gallery__image {
        height: 100%;
        width: auto;
    }
}

@media only screen and (min-width: 1200px) {
    .footer__content {
        display: flex;
        padding: 30px 50px;
    }
    .footer__social-icons {
        display: flex;
        flex: 1;
        justify-content: flex-start;
        font-size: 30px;
    }
    .footer__social-icon {
        margin: 0 10px;
    }
    .footer__content-image {
        display: flex;
        flex: 1;
        justify-content: flex-end;
    }
    .footer__content-logo {
        width: 90px;
        height: 90px;
    }
    .social-icon-wrapper, .header__menu {
        display: none;
    }
    .nav-wrapper {
        display: block;
        position: fixed;
        height: auto;
        top: 21px;
        background-color: transparent;
        z-index: 3;
    }
    .nav {
        display: flex;
        justify-content: flex-end;
        flex-direction: row;
        margin-top: 0;
    }
    .nav__link {
        margin: 0 20px;
        font-size: 20px;
        color: white;
    }

    .gallery .gallery__item {
        height: 700px;
    }
}