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

:root {
    --dark-body: #4d4c5a;
    --dark-main: #141529;
    --dark-second: #79788c;
    --dark-hover: #323048;
    --dark-text: #f8fbff;

    --light-body: #f3f8fe;
    --light-main: #fdfdfd;
    --light-second: #c3c2c8;
    --light-hover: #edf0f5;
    --light-text: #151426;

    --blue: #0000ff;
    --white: #fff;

    --shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;

    --font-family: cursive;
}

.dark {
    --bg-body: var(--dark-body);
    --bg-main: var(--dark-main);
    --bg-second: var(--dark-second);
    --color-hover: var(--dark-hover);
    --color-txt: var(--dark-text);
}

.light {
    --bg-body: var(--light-body);
    --bg-main: var(--light-main);
    --bg-second: var(--light-second);
    --color-hover: var(--light-hover);
    --color-txt: var(--light-text);
}

.selector {
    font-family: 'Montserrat', sans-serif;
    margin: 10px auto;
    text-align: center;
    color: black;
    font-size: medium;
    font-weight: bold;
    letter-spacing: 7px;
}

html, body {
    width: 100%;
    height: 100%;
    display: grid;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-body);
    overflow-x: hidden;
}

/* html {
    height: 100vh;
    display: grid;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-body);
} */

.return{
    background-color: #90E0EF;
            border-style: hidden;
            margin: 8px 8px;
            border-radius: 7px;
            padding: 5px 10px;
            text-decoration: none;
            font-size: large;
            font-family: 'Lato', sans-serif;;
            cursor: pointer;
            display: inline-block;
            text-align: center;
            transition-delay: 0.2s;
            color: black;
            font-weight: bold;
}

.return:hover {
    background-color: #d8e1ff;
    color: burlywood;
}

.top{
    font-family: 'Montserrat', sans-serif;
    margin: 0px 40px;
    font-size: medium;
    float: left;
}

.duration {
        font-family: 'Montserrat', sans-serif;
        margin: 0px 5px;
        font-size: small;
        float: left;
}

.box {
    width: 280px;
    height: 80px;
    background: #D7E3FC;
    margin: 30px 30px;
    border-radius: 10px;
    border: whitesmoke;
}

.box h2 {
    font-family: 'Montserrat', sans-serif;
    margin-top: 30px;
    text-align: center;
    text-decoration: underline;
    font-size: small;
}

.box p {
    font-family: 'Montserrat', sans-serif;
    margin: 10px auto;
    text-align: center;
    font-size: small;
    justify-content: center;
}

.box2 {
    width: 320px;
    height: 280px;
    background: #D7E3FC;
    margin: 0px 7px;
    border-radius: 8px;
    border: whitesmoke;
    display: flexbox;
    align-items: center;
    justify-content: center;
    align-self: auto;
    text-align: center;
}
    
.box2 p {
    margin: 0px auto;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: small;
    justify-content: center;
    text-decoration: underline;
}

.timeOfDay {
    font-weight: 400;
}

.time {
    background-color: #90E0EF;
        border-style: hidden;
        margin: 5px 7px;
        border-radius: 3px;
        padding: 4px 3px;
        text-decoration: none;
        font-size: medium;
        font-family: 'Lato', sans-serif;;
        cursor: pointer;
        display: inline-block;
        text-align: center;
        transition-delay: 0.2s;
}

.time a {
    text-decoration: none;
}

.time:hover {
    background-color: #0f838d;
    color: white;
}

.container {
    margin: 30px auto;
    width: 100%;
    height: 100vh;
    background-color: #90E0EF;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.formcontainer {
    margin: 10px auto;
    width: 100%;
    height: 100%;
    border: #151426;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    justify-self: center;
    align-items: center;
    padding: 4px 5px;
}

.formbox {
    width: 80%;
    height: 100%;
    border: #151426;
    border-radius: 15px;
    justify-content: center;
    border-style: inherit;
    border-color: #151426;
}

.field {
    width: 80%;
    height: max-content;
    border-color: #151426;
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 25px;
    margin: 10px auto;
    background-color: #b3e3ff;
    box-shadow: 10px 10px 10px 10px #888888;
    border-style: inset;
    border: 1px solid white;
}

.contactfield {
    width: 50%;
    height: 90%;
    border-color: #151426;
    align-items: center;
    justify-content: center;
    display: flex;
    border-radius: 25px;
    margin: 10px auto;
    background-color: #b3e3ff;
    box-shadow: 10px 10px 10px 10px #888888;
    border-style: inset;
    border: 1px solid white;
}

.contactform {
    width: 50vw;
    height: 80vh;
    border: #151426;
    border-radius: 15px;
    justify-content: center;
    border-style: inherit;
    display: flex;
    border-color: #151426;
    align-items: center;
}

.name {
    padding: 2px 2px;
    margin: 4px auto;
}

.theTop{
    text-justify:newspaper;
    font-size: medium;
    font-weight: 400;
    margin: 5px auto;
}

.usernameinput {
    padding-right: 20px;
}

.customAd {
    border: hidden;
}

.finally {
    width: 30%;
    height: 40%;
    display: flex;
    margin: 50px auto;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 5px 5px 5px #888888;
    border: 1px solid white;
    border-radius: 10px;
    text-align: center;
    text-justify: newspaper;
    background-color: var(--white);
    flex-direction: column;
}

.sub-container {
    height: 100%;
    width: 100%;
    
}

.calendar {
    width: fit-content;
    height: fit-content;
    background-color: var(--bg-main);
    overflow: hidden;
    /* margin: 30px auto; */
    border-radius: 30px;
    padding: 15px;
    position:relative;
}

.light .calendar {
    box-shadow: var(--shadow);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: medium;
    font-weight: 600;
    color: var(--color-txt);
    padding: 10px;
}

.calendar-body {
    padding: 10px;
}

.calendar-week-day {
    display: grid;
    /* align-items: center; */
    grid-template-columns: repeat(7, 1fr);
    font-weight: 400;
    height: 20px;
}

.calendar-week-day div {
    /* font-size: small;
    font-weight: 400;
    letter-spacing: 0.9px;
    width: 80px;
    justify-content: center;
    align-items: center; */
    display: grid;
    color: var(--bg-second);
    place-items: center;
}

.calendar-days {
    /* width: 100%;
    flex-wrap: wrap;
    padding: 0 11px; */
    gap: 2px;
    color: var(--color-txt);
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-days div{
    /* font-size: small; */
    width: 35px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    padding: 5px;
    cursor: pointer;
    position: relative;
    animation: to-top 1s forwards;
}

.month-picker {
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
}

.month-picker:hover {
    background-color: var(--color-hover);
}

.year-picker {
    display: flex;
    align-items: center;
}

.year-change {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 10px;
    cursor: pointer;
}

.year-change:hover {
    background-color: var(--color-hover);
}

.calendar-footer {
    padding: 8px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: small;
}

.toggle {
    display: flex;
}

.toggle span {
    margin-right: 15px;
    color: var(--color-txt);
}

.dark-mode-switch {
    position: relative;
    width: 28px;
    height: 15px;
    border-radius: 7px;
    background-color: var(--bg-second);
    cursor: pointer;
}

.dark-mode-switch-ident {
    width: 11px;
    height: 11px;
    border-radius: 35%;
    background-color: var(--bg-main);
    position: absolute;
    top: 2px;
    left: 2px;
    transition: left 0.2s ease-in-out;
}

.dark .dark-mode-switch .dark-mode-switch-ident {
    top: 2px;
    left: calc(2px + 50%);
}

.calendar-days div span {
    position: absolute;
}

.calendar-days div:hover span {
    transition: width 0.2s ease-in-out, height 0.2s ease-in-out;
}

.calendar-days div span:nth-child(1),
.calendar-days div span:nth-child(3) {
    width: 2px;
    height: 0;
    background-color: var(--color-txt);
}

.calendar-days div:hover span:nth-child(1),
.calendar-days div:hover span:nth-child(3) {
    height: 100%;
}

.calendar-days div span:nth-child(1) {
    bottom: 0;
    left: 0;
}

.calendar-days div span:nth-child(3) {
    top: 0;
    right: 0;
}

.calendar-days div span:nth-child(2),
.calendar-days div span:nth-child(4) {
    width: 0;
    height: 2px;
    background-color: var(--color-txt);
}

.calendar-days div:hover span:nth-child(2),
.calendar-days div:hover span:nth-child(4) {
    width: 100%
}

.calendar-days div span:nth-child(2) {
    top: 0;
    left: 0;
}

.calendar-days div span:nth-child(4) {
    bottom: 0;
    right: 0;
}

.calendar-days div:hover span:nth-child(2) {
    transition-delay: 0.2s;
}

.calendar-days div:hover span:nth-child(3) {
    transition-delay: 0.4s;
}

.calendar-days div:hover span:nth-child(4) {
    transition-delay: 0.6s;
}

.calendar-days div.curr-date {
    background-color: var(--blue);
    color: var(--white);
    border-radius: 50%;
}

.calendar-days div.curr-date span {
    display: none;
}

.month-list {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--bg-main);
    padding: 20px;
    color: var(--color-txt);
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 5px;
    transform: scale(1.5);
    visibility: hidden;
    pointer-events: none;
    
}

.month-list.show {
    transform: scale(1);
    visibility: visible;
    pointer-events: visible;
    transition: all 0.2s ease-in-out;
}

.month-list > div {
    display: grid;
    place-items: center;
}

.month-list > div > div {
    width: 100%;
    padding: 5px 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    color: var(--color-txt);
}

.month-list > div > div:hover {
    background-color: var(--color-hover);
}

@keyframes to-top {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 675px) {
    .container {
        flex-direction: column;
    }
}