/*----------------------------

* {outline: 2px dotted black;}
html {background-color:black;}
body {background-color:whitesmoke;}
/*----------------------------*

/*----*/
html {background-color:black;}
body {background-color:#f5f5f5;}
/*----------------------------*/
html, body {
    min-height: 100%;
    margin: 0;
}
    body {
        display: flex;
        flex-direction: column;
        min-height: 100dvh;
    }
        header, footer {
            display:flex;
            flex-direction: row;
            align-items: center;
            flex: 0 0 50px;
            outline:2px solid black;
        }
        .content {
            display: flex;
            flex: 1 1 auto;
            justify-content: center;
        }
            /*pages---*/
            .index-content,
            .page3-content,
            .login-content{
                display:flex;
                min-height:100%;
                width:100%;
                max-width:1200px;
            }
/*-----header/footer---------------*/
header {
    margin-bottom:10px;
}
    nav {
        margin-left:20px;
    }
    .logout {
        margin-right:20px;
        margin-left:auto;
    }
    .logout.hidden {
        display: none;
    }

    .logout.visible {
        display: block;
    }
/*index----------------------------*/
.index-content {
    flex-direction:column;
    align-items:center;
}
/*--topbar-----------*/
.topbar {
    display:flex;
    flex-direction:row;
    margin-top:0;
    height:10%;
    width:100%;
}
    .datenav {
        display:flex;
        flex-direction:row;
        width:18%;
        margin-left:7%;
    }
        /*date nav button space*/
        .datenav div {
            display:flex;
            flex-direction:row;
            justify-content:center;
            align-items:center;
            width:33.3%;
        }
            .datenav div button {
                height:75%;
                width:95%;
                border-radius:50%;
            }
    .dateview {
        display:flex;
        flex-direction:row;
        width:60%;
    }   
        /*current view display space*/
        .dateview > div:nth-child(1) {
            display:flex;
            flex-direction:column;
            justify-content:center;
            align-items:center;
            text-align:center;
            margin:auto;
            height:100%;
            width:80%;
            margin-left:15px;
        }
            .currentview {
                display: flex;
                justify-content: center;
                align-items: center;
                text-align: center;
                margin: auto;
                height:60%;
                width:80%;
            }
        .dateview > div:nth-child(2) {
            display:flex;
            flex-direction:row;
            width:20%;
        }
            /*current view button space*/
            .dateview > div:nth-child(2) > div {
                display:flex;
                flex-direction:row;
                justify-content:center;
                align-items:center;
                width:33.3%;
            }
                .dateview > div:nth-child(2) > div button {
                    height:100%;
                    width:100%;
                    border-radius:10px;
                }
    .eventactions {
        display:flex;
        flex-direction:row;
        width:15%;
    }
        /*event action button space*/
        .eventactions div {
            display:flex;
            flex-direction:row;
            justify-content:center;
            align-items:center;            
            width:50%;
        }
            .eventactions div button {
                height:80%;
                width:80%;
                border-radius:50%;
            }

/*------------------------*/
/*--calendar----------*/
.calendar-container {
    display:flex;
    justify-content:center;
    align-items:center;
    height:60%;
    width:75%;
    margin-top:40px;
}
    #calendar {
        margin:auto;
        height:100%;
        width:100%;
        outline:2px solid black;
    }
/*---------------------*/
/*Calendar stuff--------------------*/
.selected-day {
    background-color: rgb(245, 148, 57) !important;
    outline: 2px solid #312904;
}
/* Event Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-content {
  background-color: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  width: 90%;
  max-width: 400px;
}
#event-form {
  display: flex;
  flex-direction: column;
}
#event-form label {
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: bold;
}
#event-form input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.modal-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
/* Override FullCalendar's default event container */
.fc-event {
    background-color: #4CAF50 !important; 
    border: 1px solid #388E3C !important;
    border-radius: 4px !important;
    color: white !important;
    padding: 2px 4px !important;
    cursor: pointer;
}
/* style on hover */
.fc-event:hover {
    background-color: #45a049 !important;
}
/*text inside*/
.fc-event-main {
    color: white !important;
}
/* If you want to hide the time dot that appears on some views */
.fc-daygrid-event-dot {
    display: none !important;
}
/*-page3--connection-----------------------*/
.page3-content {
    flex-direction:column;
    align-items:center;
}
/*-login out page------------------------*/
.login-content {
    flex-direction:column;
    align-items:center;
}
    .login-container {
        display:flex;
        flex-direction:column;
    }
        .login-container form {
            display:flex;
            flex-direction:column;
            gap:20px;
        }

/*-responsiveness-------------------*/

/*-------------------------------*/
/*---SMALLER THAN-------------------*
@media screen and (max-width:600px){
header nav {
    flex-direction:column;
}
}
/*---IN BETWEEN----------------------*
@media screen and (min-width:601px) 
and (max-width:1024px){

}
/*---BIGGER THAN----------------------*
@media screen and (min-width:1025px){

}
------*/