@import "style.css";


#temporalNav{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.week {
    border-radius: 4px;
    background-color: var(--first-colour);
    border: none;
    text-align: center;
    font-size: 19px;
    padding: 10px;
    width: 250px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
}

.week a {
    color: #FFFFFF;
    
}

.week span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.week span:after {
    position: absolute;
    opacity: 0;
    top: 0;
    transition: 0.5s;
}

.next span:after {
    content: '\00bb';
    right: -20px;
}

.last span:after {
    content: '\00ab';
    left: -20px;
}

.next:hover span {
    padding-right: 25px;
}

.last:hover span {
    padding-left: 25px;
}

.week:hover span:after{
    opacity: 1;
}

.next:hover span:after {
    right: 0;
}

.last:hover span:after {
    left: 0;
}

/* Style the form - display items horizontally */
.form-inline {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

/* Add some margins for each label */
.form-inline label {
    margin: 5px 10px 5px 0;
}

/* Style the input fields */
.form-inline input {
    vertical-align: middle;
    margin: 5px 10px 5px 0;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
}

/* Style the submit button */
.form-inline button {
    padding: 10px 20px;
    background-color: var(--second-colour)/*dodgerblue*/;
    border: 1px solid #ddd;
    color: white;
}

.form-inline button:hover {
    background-color: var(--first-colour)/*royalblue*/;
    cursor: pointer;
}

/* Add responsiveness */

@media screen and (max-width: 1100px) {
    #temporalNav{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .week{
        width: 100%;
    }

    .form-inline input {
        margin: 10px 0;
    }

    .form-inline {
        flex-direction: column;
        align-items: stretch;
    }
}

