:root {
    --color_1: #3b82f6;
    --color_2: #6366f1;
    --color_3: #ec4899;
    /* --color_4: #9400FF; */
}

body {
    /* width: 100%; */

    font-family: Arial, sans-serif, Helvetica;
    font-size: 1.5rem;
    line-height: 2rem;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-item {
    /* height: 120px; */
    padding: 10px;
    margin: 0.1rem;
    border-radius: 0.375rem;
    color: rgba(255, 255, 255, 1);
}

.header {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.column-date {
    font-size: 0.9rem;
    opacity: 50%;
}

#btn-add-lessive {
    /* margin-top: 30px; */
    padding: 3px;
    margin: 0.1rem;
    border-radius: 0.375rem;
    color: rgba(255, 255, 255, 1);
}
#btn-confirm-newlessive {
   align-self: center;

   margin-top: 15px;
}

a {
    text-decoration: none;
}

section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* unvisited link */

/* a:link {
    color: red;
} */

/* visited link */

/* a:visited {
    color: green;
}

a:link, a:visited {
    background-color: #f44336;
    color: white;
    padding: 14px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
} */

.header>a:hover, .header>a:active {
    background-color: red;
}

.title {
    color: var(--color_1);
    font-weight: 700;
    font-size: 1.5em;
}

#planning {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 3.5rem;
    grid-auto-rows: minmax(150px, auto);
}

.planning-col-header {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    /* opacity: 0.80; */

    /* padding: 10px; */
    /* margin: 0.1rem; */
    border-radius: 0.375rem;
    color: rgba(255, 255, 255, 1);

    height: 200px;
}

.planning-cell {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.horaire {
    opacity: 0.50;
    align-self: flex-start;
}

.rdv-name {
    padding: 10px;
}

#rdv-1 {
    grid-column: 1 / span 1;
}

#rdv-2 {
    grid-column: 2 / span 1;
    grid-row: 3 / span 2;
}

#rdv-3 {
    grid-column: 3 / span 1;
    grid-row: 3 / span 2;
}

#rdv-4 {
    grid-column: 4 / span 1;
    grid-row: 5 / span 1;
}

#rdv-5 {
    grid-column: 5 / span 1;
    grid-row: 4 / span 1;
}

.btn {
    padding: 10px;
    margin: 0.1rem;
    border-radius: 0.375rem;
    color: rgba(255, 255, 255, 1);
}

.bg-blue {
    background-color: var(--color_1);
}

.bg-purple {
    background-color: var(--color_2);
}

.bg-pink {
    background-color: var(--color_3);
}

/* .panel {
    transform: perspective(1500px) rotateY(-5deg) rotateX(25deg) rotateZ(20deg);
} */

.panel--content:hover {
    /* transform: perspective(1500px) translateZ(100px) translateX(-10px)
      translateY(-10px); */
    /* -webkit-box-shadow: 25px 14px 29px 0px rgba(0, 0, 0, 0.35);
    box-shadow: 25px 14px 29px 0px rgba(0, 0, 0, 0.35); */
}

.panel--content {
    /* transform: perspective(1500px) translateZ(0); */
    /* -webkit-box-shadow: 11px 10px 30px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 11px 10px 30px 0px rgba(0, 0, 0, 0.2); */
}

.form-text {
    margin-right: 10px;
    margin-left: 10px;
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* justify-content: space-between; */
}

.hour-container {
    display: flex;
}

.date-nav {

    align-self: stretch;
    /* grid-column: 1 / -1; */

    display: flex;
    /* background-color: aqua; */
    justify-content: space-between;
    /* align-items: flex-start; */
    flex-wrap: wrap;
}
#today-date {
    align-self: flex-start;
    background-color: blueviolet;
    height: 2rem;
}

.buttons-bar {
    margin: 20px;
}

/* Hide short text by default */
.short-text, .medium-text { display: none; }
.column-date-short { display: none; }

@media (max-width: 900px) {
    .short-text { display: none; }
    .medium-text { display: inline-block; }
    .full-text { display: none; }

    .column-date-long { display: none; }
    .column-date-short { display: block; }
}
@media (max-width: 500px) {
    .short-text { display: inline-block; }
    .medium-text { display: none; }
    .full-text { display: none; }
    
    .column-date-long { display: none; }
    .column-date-short { display: block; }
}