/****** FRONTEND STYLING ******/


/****** FIRST SEGMENT MAIN ******/

.m-4 {
    background-color: #E7E7DF;
    margin: 0!important;
    padding: 1.5rem;
}

.nav-button {
    color: white;
    text-decoration: none;
}

.navbar-nav .nav-item.active {
    border-bottom: 3px solid #751701;
    /* Change this to your desired underline color */
}

.nav-button:hover {
    color: white;
    text-decoration: none;
}

#curvy-header-line {
    position: fixed;
    top: 100px;
    height: 100%;
    width: 100%;
}

#logo {
    height: 130px;
}

#curvy-line {
    width: 100%;
}

#curvy-line-div {
    display: block;
    margin-right: 60px;
}

.box1 {
    width: 549px;
    height: 121px;
    background-color: #e81616;
    margin-top: 90px;
    margin-left: 100px;
    transform: rotate(-10deg);
    border-radius: 30px 30px 0px 0px;
}

.box2 {
    width: 549px;
    height: 121px;
    background-color: #4098f7;
    margin-left: 121px;
    transform: rotate(-10deg);
    border-radius: 0px 0px 30px 30px;
}

#h1-blauw,
#h1-oranje {
    font-family: 'Comic Neue', cursive;
    font-weight: bold;
    text-align: center;
}

#h1-blauw {
    color: #39eec3;
    padding-top: 50px;
}

#h1-oranje {
    color: #6af3b3;
    padding-top: 50px;
}

img.img-fluid {
    max-width: 100%;
    position: relative;
    height: auto;
    display: block;
    /* Remove any extra spacing below the image */
    margin: 0 auto;
    /* Center the image horizontally */
}

/****** FIRST SEGMENT INDEX ******/

#header-container_index {
    background-color: rgb(44, 126, 100);
    height: auto;
}

/****** FIRST SEGMENT Activiteiten ******/

#header-container_activiteiten {
    background-color: #39BBD1;
    height: auto;
}

/****** FIRST SEGMENT Over Ons ******/

#header-container_overons {
    background-color: #d1ab76;
    height: auto;
}

/****** FIRST SEGMENT Foto Album ******/

#header-container_fotoalbum {
    background-color: #f19327;
    height: auto;
}


/****** FIRST SEGMENT Sponsor ******/

#header-container_sponsor {
    background-color: #0cbd85;
    height: auto;
}


/* Responsive styles */

@media (max-width: 768px) {
    .box1 {
        width: 100%;
        height: auto;
        margin-top: 20px;
        margin-left: 0;
        /* transform: none; */
        transform: rotate(-3deg);
    }
    .box2 {
        width: 100%;
        height: auto;
        margin-left: 0;
        /* transform: none; */
        transform: rotate(-3deg);
    }
    #h1-blauw {
        color: #39BBD1;
        padding-top: 10px;
    }
    #h1-oranje {
        color: #F1DCBF;
        padding-top: 15px;
    }
}


/****** SECOND SEGMENT ******/

#second-segment-row {
    margin-top: 50px;
}

.vertical {
    border-left: 3px solid #F1DCBF;
    height: 200px;
    margin-top: 80px;
    display: none;
}

#second-segment-col-inner {
    width: 500px;
    height: 302px;
}

.second-segment-p {
    font-family: 'Comic Neue', cursive; 
    font-size: 25;
    margin: auto;
    margin-top: 100px;
}

.second-segment-href {
    text-decoration: none;
    color: black;
    border-bottom: 2px solid #751701;
}

.second-segment-h1 {
    font-family: 'Comic Neue', cursive;
    font-weight: bold;
    font-size: 700;
    margin: auto;
}


/* Media query for screens smaller than 768px (mobile) */

@media (max-width: 767px) {
    .vertical {
        border-left: none;
        border-top: 3px solid #F1DCBF;
        width: 100%;
        height: auto;
        position: relative;
        left: 0;
        margin-top: 20px;
        display: block;
        /* Show on smaller screens */
    }
    #second-segment-col-2 {
        margin-left: 0;
        /* Reset margin */
    }
    #second-segment-col-inner {
        width: 100%;
        /* Full width on smaller screens */
        max-width: 500px;
        /* Limit the width if needed */
        margin: auto;
    }
}


/* Media query for screens between 769px and 991px (tablet) */

@media (min-width: 768px) and (max-width: 991px) {
    .vertical {
        display: none;
        /* Hide on tablet screens */
    }
    #second-segment-col-2 {
        margin-left: 0;
        /* Reset margin */
    }
    #second-segment-col-inner {
        width: 100%;
        /* Full width on tablet screens */
        max-width: none;
        /* Remove max-width on tablet screens */
        margin: auto;
        padding: 0 10px;
        /* Adjust padding for better spacing */
    }
}


/****** SECOND SEGMENT FOTOALBUM STYLING ******/

.fotoalbum-image {
    width: 100%;
    max-height: 300px;
    min-height: 300px;
}

#image-bottom {
    width: 100%;
    max-height: 300px;
    min-height: 300px;
}

#col4 {
    margin-top: 50px;
}

#totalpages {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#totalpages strong {
    margin-bottom: 10px;
}

#previous,
#next {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

#previous:hover,
#next:hover {
    background-color: #0056b3;
}


/****** THIRD SEGMENT ******/

/* Lazy Load Styles */

.card-image {
    display: block;
    min-height: 20rem;
    /* layout hack */
    background: #fff center center no-repeat;
    background-size: cover;
}

.card-image>img {
    display: block;
    width: 100%;
}


/* Layout Styles */

.card-list {
    display: block;
    margin: 1rem auto;
    padding: 0;
    font-size: 0;
    text-align: center;
    list-style: none;
    font-family: 'Comic Neue', cursive;
}

.card {
    display: inline-block;
    width: 90%;
    max-width: 20rem;
    margin: 1rem;
    font-size: 1rem;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 0 3rem -1rem rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}

#card-color-1 {
    background-color: #39BBD1;
}

#card-color-2 {
    background-color: #e8c28e;
}

#card-color-3 {
    background-color: #f19327;
}

#card-color-4 {
    background-color: #0cbd85;
}

.card:hover {
    transform: translateY(-0.5rem) scale(1.0125);
    box-shadow: 0 0.5em 3rem -1rem rgba(0, 0, 0, 0.5);
}

.card-description {
    display: block;
    padding: 1em 0.5em;
    color: #515151;
    text-decoration: none;
    border-top: 2px solid #515151;
}

.card-description>h2 {
    margin: 0 0 0.5em;
}

.card-description>p {
    margin: 0;
}

/****** Event frontend sytle ******/

.eventsfrontend {
    background-color: #f1dcbf;
    border: 2px solid #b3b3a8;
    border-radius: 20px;
    /* Adjusted for responsiveness */
    font-family: "Comic Neue", cursive;
    font-weight: 900;
    font-size: 24px;
}

.eventstable {
    width: 100%;
}

.eventrow {
    padding: 20px;
}


/* Responsive styles */

@media screen and (max-width: 768px) {
    .eventrow {
        margin-bottom: 10px;
    }
    .eventsfrontend {
        font-size: 18px;
    }
}


/* Events more info styles */

.buttonmodal {
    color: #1f2634;
    background-color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    width: auto;
    border-radius: 20px;
    padding-top: 6px;
    padding-bottom: 6px;
    font-weight: 700;
    cursor: pointer;
    font-family: "Sen", sans-serif;
    text-align: center;
}

.buttonmodal2 {
    font: inherit;
    font-weight: 600;
    padding: 0.6rem 2rem;
    background: transparent;
    color: currentColor;
    border: 1px solid;
    transition: background 100ms ease;
    position: static;
    border-radius: 14px;
    width: auto;
    margin-top: 32px;
}

.buttonmodal2:hover {
    font: inherit;
    font-weight: 600;
    padding: 0.6rem 2rem;
    background: white;
    color: #ff8902;
    border: 1px solid;
    transition: background 100ms ease;
    position: static;
    border-radius: 14px;
    width: auto;
    margin-top: 32px;
}

.buttonmodal i {
    float: right;
    margin-right: 10px;
}

.buttonmodal-presentie {
    color: #1f2634;
    background-color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    width: 50%;
    border-radius: 20px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: "Sen", sans-serif;
}

.buttonmodal-presentie i {
    float: right;
    margin-right: 10px;
}

.details-modal {
    background: #f1dcbf;
    border-radius: 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: black;
    left: 50%;
    max-width: 95%;
    pointer-events: all;
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: left;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    overflow: hidden!important;
    position: fixed;
    overflow-y: scroll;
}

.details-modal .details-modal-close {
    align-items: center;
    color: white;
    display: flex;
    height: 4.5em;
    justify-content: center;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 4.5em;
}

.details-modal .details-modal-close svg {
    display: block;
}

.details-modal-title form {
    margin-bottom: 0px;
}

.details-modal .details-modal-title {
    padding: 0.5em 1.5em;
}

.details-modal .details-modal-title h1 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: normal;
    width: 50%;
}

.details-modal .details-modal-content {
    border-top: 1px solid #e0e0e0;
    padding: 1.5em;
    pointer-events: all;
    overflow: auto;
}

.details-modal-bewerkt-door {
    float: right;
    text-align: right;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: -68px;
}

.details-modal-bewerkt-door p {
    margin: 0px;
    color: rgba(255, 255, 255, 0.651);
}

.details-modal-overlay {
    transition: opacity 0.7s ease-out;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.63);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    position: absolute;
    z-index: 1;
    opacity: 0;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
}

details[open] .details-modal-overlay {
    position: fixed;
    pointer-events: all;
    opacity: 2;
}

details summary {
    list-style: none;
}

details summary:focus {
    outline: none;
}

details summary::-webkit-details-marker {
    display: none;
}

.eventinfo {
    font-size: 30px;
    margin: 30px;
}

.beschrijving {
    font-size: 20px;
    margin: 30px;
}

.details-container {
    display: flex;
}

.details-modal .details-modal-close {
    align-items: center;
    color: white;
    display: flex;
    height: 4.5em;
    justify-content: center;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
    width: 4.5em;
}

.export-button {
    border-radius: 8px;
    float: right;
    margin-right: 20%;
}


/****** FOURTH SEGMENT ******/

.scroll-right {
    height: 80px;
    overflow: hidden;
    position: relative;
    background: rgb(44, 126, 100);
    color: white;
}

.scroll-right p {
    position: absolute;
    width: 150%;
    height: 100%;
    margin: 0;
    line-height: 80px;
    text-align: center;
    /* Starting position */
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    /* Apply animation to this element */
    -moz-animation: scroll-right 30s linear infinite;
    -webkit-animation: scroll-right 30s linear infinite;
    animation: scroll-right 30s linear infinite;
}


/* Move it (define the animation) */

@-moz-keyframes scroll-right {
    0% {
        -moz-transform: translateX(-100%);
    }
    100% {
        -moz-transform: translateX(100%);
    }
}

@-webkit-keyframes scroll-right {
    0% {
        -webkit-transform: translateX(-100%);
    }
    100% {
        -webkit-transform: translateX(100%);
    }
}

@keyframes scroll-right {
    0% {
        -moz-transform: translateX(-100%);
        /* Browser bug fix */
        -webkit-transform: translateX(-100%);
        /* Browser bug fix */
        transform: translateX(-100%);
    }
    100% {
        -moz-transform: translateX(100%);
        /* Browser bug fix */
        -webkit-transform: translateX(100%);
        /* Browser bug fix */
        transform: translateX(100%);
    }
}


/****** FIFTH SEGMENT STYLING ******/

.carousel,
.slide {
    background-color: #F1DCBF;
    max-height: 632px;
    max-width: 698px;
    border-radius: 10px;
    margin-left: 80px;
}

.carousel-item {
    max-height: 632px;
    max-width: 698px;
}

.fifth-segment-icon {
    width: 100px;
    /* Adjust the width as needed */
    height: 100px;
    /* Adjust the height as needed */
    margin-right: 10px;
    /* Adjust the margin as needed */
    float: left;
    margin-top: 12px;
}

.fifth-segment-h1 {
    font-family: 'Comic Neue', cursive;
    font-weight: bold;
    font-size: 700;
}

#row-fifth-segment {
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-xs-12.col-md-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/****** RANK STYLING ******/

#gold-rank {
    background-color: #D4AF37;
    border-radius: 10px;
    height: 123px;
    margin-bottom: 50px;
}

#silver-rank {
    background-color: #AAA9AD;
    border-radius: 10px;
    height: 123px;
    margin-bottom: 50px;
}

#bronze-rank {
    background-color: #A97142;
    border-radius: 10px;
    height: 123px;
    margin-bottom: 50px;
    width: 500px;
}

.fifth-segment-h3 {
    font-family: 'Comic Neue', cursive;
    font-weight: bold;
    font-size: 700;
    margin: auto;
    margin-top: 45px;
}

#rank-dropdown {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Responsive styles */

@media screen {
    #gold-rank {
        background-color: #D4AF37;
        border-radius: 10px;
    }

    #silver-rank {
        background-color: #AAA9AD;
        border-radius: 10px;
    }
    
    #bronze-rank {
        background-color: #A97142;
        border-radius: 10px;
    }
}

#gold-rank,
#silver-rank,
#bronze-rank {
    margin-top: 20px; 
    max-width: 100%; 
    text-align: left;
}



/****** SIXTH SEGMENT STYLING ******/

#sixth-segment-col {
    text-align: center;
}

.sixth-segment-p {
    text-align: center;
}

.sixth-segment-h1 {
    font-family: 'Comic Neue', cursive;
    font-weight: bold;
    font-size: 700;
    margin: auto;
    text-align: center;
}

.sixth-segment-button {
    padding: 10px 18px;
    border-radius: 15px;
    background-color: #39BBD1;
    border: none;
}


/* Custom CSS to hide left image on tablets and mobiles */

@media (max-width: 991px) {
    .hide-on-tablet-mobile {
        display: none !important;
    }
}


/****** FOOTER STYLING ******/

.footer {
    background-color: #0cbd85;
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 50px;
    color: #ffffff ;
}

.links-footer, 
.contact-footer,
.footer-joehoe {
    text-align: center;
}

#footer-logo {
    width: 225px;
}

.footer-title {
    text-decoration: underline;
    text-decoration-color: #751701 ;
    text-decoration-thickness: from-font;
    text-underline-position: under;
    color: #ffffff;
}

.contact-button {
    padding: 10px 18px;
    border-radius: 15px;
    background-color: #39BBD1;
    border: none;
}

.button-text {
    font-weight: 500;
    color: #F5F6F1;
    margin-bottom: 0;
}

.footer-pages {
    color: #ffffff;
}

.footer-pages:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Specifieke kleur voor Home */
.pagina-home .footer {
    background-color: #2c7e64 ;
}

/* Specifieke kleur voor Activiteiten */
.pagina-activiteiten .footer {
    background-color: #39BBD1;
}

/* Specifieke kleur voor Over ons */
.pagina-overons .footer {
    background-color: #d1ab76;
}

/* Specifieke kleur voor Foto's */
.pagina-gallery .footer {
    background-color: #f19327;
}

.pagina-sponsor .footer {
    background-color: #0cbd85;
}

/****** BACK-END STYLING ******/

.backend-body {
    background-color: #E7E7DF;
}

.backend-title {
    font-size: 35px;
    text-align: center;
    margin-top: 20px;
}

.backend-table {
    width: 60%;
    background-color: #F1DCBF;
    margin: auto;
    margin-top: 10px;
    border: 2px solid #B3B3A8;
    border-radius: 30px;
    padding-top: 10px;
    float: none;
}

.with-bottom-margin {
    margin-bottom: 20px;
}

.back-button {
    padding: 10px;
    border-radius: 8px;
    margin-left: 20%;
}

.back-button2 {
    padding: 10px;
    border-radius: 8px;
}

.add-button {
    padding: 10px;
    border-radius: 8px;
    float: right;
    margin-right: 20%;
}

.red {
    color: red;
}

/* Deletes Arrows From Number Fields */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.table-image {
    width: auto;
    height: 100px;
}

/****** DASHBOARD STYLING ******/

#logout-icon {
    color: #000;
    float: right;
    margin-right: 50px;
    margin-top: 50px;
}

.dashboard-items {
    width: 60%;
    background-color: #F1DCBF;
    margin: auto;
    border-radius: 40px;
    padding: 50px 0px 50px 0px;
}

.dashboard-item {
    text-align: center;
    cursor: pointer;
}

.dashboard-item:hover {
    background-color: #d8c6ac;
}

/****** USERS STYLING ******/

#user-add-button {
    margin-left: 10px;
}

/* width */

details-modal::-webkit-scrollbar {
    width: 20px;
}


/* Track */

details-modal::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */

details-modal:-webkit-scrollbar-thumb {
    background: red;
    border-radius: 10px;
}

/* ******** CALENDAR STYLES ******** */
.calendar-wrapper {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin: 2rem auto;
    max-width: 1200px;
}

#calendar {
    font-family: 'Comic Neue', cursive;
    min-height: 600px;
}

.fc {
    --fc-border-color: #e0e0e0;
    --fc-button-text-color: #fff;
    --fc-button-bg-color: #4CAF50;
    --fc-button-border-color: #4CAF50;
    --fc-button-hover-bg-color: #45a049;
    --fc-button-hover-border-color: #45a049;
    --fc-button-active-bg-color: #3d8b40;
    --fc-button-active-border-color: #3d8b40;
}

.fc .fc-toolbar-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    text-transform: capitalize;
}

.fc .fc-button {
    border-radius: 20px;
    padding: 8px 16px;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.fc .fc-button:hover {
    transform: translateY(-1px);
}

.fc .fc-daygrid-day {
    transition: background-color 0.3s ease;
}

.fc .fc-daygrid-day:hover {
    background-color: #f5f5f5;
}

.event-item {
    border-radius: 20px !important;
    padding: 4px 8px !important;
    margin: 2px !important;
    font-weight: bold !important;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.event-item:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.modal-header {
    background-color: #4CAF50;
    color: white;
    border-bottom: none;
    padding: 1.5rem;
}

.modal-header .btn-close {
    color: white;
    opacity: 1;
}

.event-header {
    margin-bottom: 1.5rem;
}

.event-header h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.event-date {
    color: #666;
    font-size: 0.9em;
    display: block;
}

.event-info {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #4CAF50;
    width: 20px;
    margin-top: 4px;
}

.info-item.description {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.registration-form-wrapper {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
}

.registration-form-wrapper h4 {
    color: #333;
    margin-bottom: 1rem;
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.btn-primary {
    background-color: #4CAF50;
    border-color: #4CAF50;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #45a049;
    border-color: #45a049;
    transform: translateY(-1px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .calendar-wrapper {
        padding: 10px;
        margin: 1rem;
    }

    .fc .fc-toolbar {
        flex-direction: column;
        gap: 1rem;
    }

    .fc .fc-toolbar-title {
        font-size: 1.2em;
    }

    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .event-info,
    .registration-form-wrapper {
        padding: 1rem;
    }
}

/* Animation for events */
@keyframes eventPop {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.fc-event {
    animation: eventPop 0.3s ease-out forwards;
}

/* First Segment Styles */
.first-segment {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    background-color: #2D7A5C;
}

.wave-bg {
    width: 100%;
    height: 100%;
    position: relative;
    background-image: url('../img/wave.png');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100%;
}

.red-banner {
    background-color: #E31E24;
    transform: rotate(-5deg);
    padding: 20px 40px;
    position: absolute;
    top: 100px;
    left: -20px;
    width: 600px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.red-banner h1 {
    color: white;
    font-family: 'Comic Neue', cursive;
    font-size: 2.5em;
    margin: 0;
    text-transform: uppercase;
}

.red-banner h2 {
    color: #8B1D1D;
    font-family: 'Comic Neue', cursive;
    font-size: 2em;
    margin: 5px 0 0 0;
    text-transform: uppercase;
}

hr {
    border: none;
    border-top: 2px solid black;
}
