/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
}

.en:not(:lang(en)), .fr:not(:lang(fr)) {
    display: none !important;
}

header {
    background: #494949;
    color: white;
    padding: 10px 0;
    text-align: center;
}

header a {
    color: white;
    text-decoration: none;
}

header nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

header .logo {
    height: 50px;
}

#flag-fr, #flag-en {
    position: relative;
    padding-left: 28px;
}

#flag-fr::before, #flag-en::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    top: 0;
    left: 0;
    position: absolute;
    border-radius: 50%;
}

#flag-fr::before {
    background: linear-gradient(to right, #0055A4 0%, #0055A4 33%, #FFFFFF 33%, #FFFFFF 66%, #EF4135 66%, #EF4135 100%);
}

#flag-en::before {
    background-image: url("english.svg");
    background-size: cover;
    background-position: center;
    
}

h1 {
    margin: 0;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 50px;
}

.calendar-container {
    width: 40%;
    margin-bottom: 20px;
}

.form-container {
    width: 40%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
}

form input, form select {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form input[type="submit"] {
    background: #0033a0;
    color: white;
    border: none;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background: #002b80;
}

/* Custom styles for FullCalendar */
.fc-toolbar-title {
    font-size: 1.25rem;
}

.fc-daygrid-day-number {
    font-size: 0.875rem;
}

.fc-daygrid-event {
    font-size: 0.75rem;
    padding: 2px 4px;
}
