body, html {
    height: 100%;
    margin: 0;
}

body {

    margin: 0;
    min-height: 100vh;  

    background: repeating-linear-gradient(
        45deg,
        #ffd4aa 0px,
        #ffd4aa 20px,
        #ffdcba 20px,
        #ffdcba 40px
    );

    background-size: 56.57px 56.57px;
    animation: move 6s linear infinite;
}

@keyframes move {
    from {
        background-position: 56.57px 0;
    }
    to {
        background-position: 0 56.57px;
    }
}


.nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 50%;
    gap: 20px;
    margin: 20px auto;
    padding: 15px;
    list-style: none;
    border-radius: 20px;
    background-color: #f6bb83;
    box-shadow:
        0px 10px #eeaa40,
        0px 20px #e97824,
        0px 30px #c05405;
}

.nav-bar li {
    display: flex;
    align-items: center;
    overflow-wrap: break-word; 
    white-space: normal; 
}
.nav-bar li a {
    display: block;
    color: rgb(224, 131, 64);
    text-align: center;
    font-family: Roboto;
    font-weight: 900;    
    padding: 14px 16px;
    text-decoration: none;
    font-size: 2rem;
    border-radius: 30px;
    margin: 20px;
    padding: 10px;
    
    
}
.nav-bar li a:hover {
  background-color: #ffd4aa;
  text-decoration: underline 10px;
}

.nav-bar li:not(:last-child)::after {
    content: "•◆•◆•";
    margin-left: 20px;
    color: rgb(224, 131, 64);
    font-size: 2.8rem;
    

}

.page-content {display: flex;
    flex-direction: column;
    align-items: center;}



.dashboard-search {
    width:15% !important; 
    color:rgb(224, 131, 64); 
    font-size:2.8rem !important; 
    display: inline-block; 
    margin-left: 15px;
}

.form-container-main {
    width: clamp(320px, 60vw, 800px);
    margin-top: 5%;
    top:10px;
    padding: 30px;
    margin-top: 80px;
    border-radius: 12px;
    box-sizing: border-box;
    border: none; 
    background-color: #f6bb83; 
    box-shadow: 10px 10px #eeaa40, 20px 20px #e97824, 30px 30px #c05405;
}

.form-container-sub {
    width: clamp(320px, 60vw, 800px);
    
    padding: 30px;
    border-radius: 12px;
    box-sizing: border-box;
    border: none; 
    background-color: #f6bb83; 

}



.form-control {
    display: block;
    width: 100%;
    font-size: 35px;
    border: 0;
    outline: none;
    box-sizing: border-box;
    padding: 10px 15px;
    margin: 30px 0;
    transition: all 0.1s ease-in-out;
    font-family: Roboto;
    font-weight: 800;

    background-color: #ffdcba;
    color: #ee9641;
    

    }


.form-control::placeholder {
    color: #feb26b !important;
    opacity: 1;
        }

.login-register-button {
    width:80%; 
    font-size: 16px; 
    border-radius: 20px; 
    background-color: #ffd4aa;
    border: none;
}
.custom-close {
            filter: invert(25%) sepia(89%) saturate(1420%) hue-rotate(349deg) brightness(95%) contrast(92%);
        }


.roboto-font {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.all-hidden-event {
    display: none;  
}
.user-hidden-event {
    display: none;  
}

.show-more-container {
    text-align: center;
    margin-top: 20px;
}

.show-more-btn {
    border: none;
    background-color: #ffd4aa;
    color: #e97824;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
}

.event-title-date {
    display: flex; 
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.event-modal-title {
    font-size: 2rem;
    margin: 0;
    font-weight: 800;
    color: rgb(224, 131, 64);
}


.event-modal-description {
    font-size: 2rem;
    margin: 0;
    color: #ee9641; 
}

.hidden-by-search {
    display: none;
}

.hidden-by-showmore {
    display: none;
}


.edit-input {
    background-color: #ffd2a5; 
    border: 8px solid #feb26b;
    color: #ee9641;
}
.edit-btn {
    background-color: #ffd2a5; 
    border: 8px solid #feb26b;
    color: #ee9641;
}
.edit-btn:hover {
    color: #ee9641;
    background-color: #ffca95;
    border: 8px solid #feb26b;
    text-decoration: underline 5px;
}
.card-container {
    flex-wrap: wrap;
    gap: 20px;
}
.event-card {
    overflow: hidden;
    text-align: center;
    background-color: #ffdcba;
    box-shadow: 10px 10px rgb(224, 131, 64); 
    border:8px solid #feb26b;  
}
.dashboard-subtitle {
    font-size:2.5rem;
    color:rgb(224, 131, 64); 
    text-decoration: underline 10px; 
    text-align: center;
}
.event-text {
    color:rgb(224, 131, 64); 
    text-align: center;
}
.event-card:hover {
    background-color: #ffd2a5;
}

@media (max-width: 768px) {
    .nav-bar {flex-direction: column;}
    .form-container-main {flex-direction: column;}
    .nav-bar li a {flex-direction: column; font-size:0.8rem;}
    .nav-bar li:not(:last-child)::after {font-size:0.8rem;}
    li a{font-size:0.9rem;}
    .date-input {flex-direction: column;}
    .event-title-date {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-modal-title,.event-modal-date, .event-modal-description {font-size: 1.5rem;}
}

