/*
CSS RESET
http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* END RESET */

/* --- GENERAL --- */
body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Cinzel Decorative', cursive;
}

p {
    font-family: 'Hind Siliguri', Verdana, sans-serif;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

a:not(.underline) {
    /* Si pas besoin de lien underline, venir enlever le not */
    text-decoration: none;
    display: inline-block;
    overflow: hidden;
}

i {
    color: #fff;
    font-size: 1.5em;
}

/* --- NAVBAR --- */
div#nav-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.fixed-nav {
    transition: background-color 0.5s
}

nav #nav-dropdown {
    display: none;
    padding: 15px 0;
    transition: padding 0.5s;
}

nav #icon-container a {
    margin-left: 30px;
}

nav #icon-container a[data-color=purple]:hover i {
    color: #8d13eb;
}

nav #icon-container a[data-color=pink]:hover i {
    color: #e310bc;
}

nav #icon-container a[data-color=red]:hover i {
    color: #d91136;
}


nav #icon-container a[data-color=orange]:hover i {
    color: #de9607;
}

nav #icon-container a[data-color=yellow]:hover i {
    color: #ffcf4d;
}

nav ul {
    padding: 15px 0;
    transition: padding 0.5s;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    position: relative;
    font-family: 'Amatic SC', cursive;
    font-size: 2em;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
}

nav ul li a:hover:after {
    transition: width 0.3s;
    width: 100%;
}

nav ul li a:after {
    display: block;
    content: "";
    height: 2px;
    width: 0px;
}

nav ul li a[data-color=purple]:after {
    background: #8d13eb;
}

nav ul li a[data-color=pink]:after {
    background: #e310bc;
}

nav ul li a[data-color=red]:after {
    background: #d91136;
}

nav ul li a[data-color=orange]:after {
    background: #de9607;
}

nav ul li a[data-color=yellow]:after {
    background: #ffcf4d;
}


div#nav-container #gradient-border {
    background: rgb(141, 19, 235);
    background: linear-gradient(118deg, rgba(141, 19, 235, 1) 0%, rgba(222, 105, 200, 1) 25%, rgba(217, 17, 54, 1) 50%, rgba(222, 150, 7, 1) 75%, rgba(252, 231, 24, 1) 100%);
    width: 100%;
    height: 2px;
    display: none;
}

/* --- HERO --- */
div.hero-banner {
    background-image: url("media/shania-hero.jpeg");
    background-color: #fff;
    height: 100vh;
    width: 100%;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

div.hero-banner div.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

div.hero-banner img {
    height: 25vh;
    position: absolute;
    left: 0;
    top: 65vh;
}

div.hero-banner .slogan span {
    position: absolute;
    color: #fff;
    font-size: 7vh;
}

div.hero-banner .slogan span:first-child {
    top: 65vh;
    right: 0;
}

div.hero-banner .slogan span:nth-child(2) {
    top: 73vh;
    right: 0;
}

div.hero-banner .slogan span:nth-child(3) {
    top: 81vh;
    right: 0;
    font-weight: bolder;
    padding: 0 5px;
    border: 10px solid rgb(141, 19, 235);
    border-image-slice: 1;
    border-image-source: linear-gradient(118deg, rgba(141, 19, 235, 1) 0%, rgba(222, 105, 200, 1) 25%, rgba(217, 17, 54, 1) 50%, rgba(222, 150, 7, 1) 75%, rgba(252, 231, 24, 1) 100%);
}

/* --- ABOUT ET CALENDRIER --- */
section {
    max-width: 1200px;
    margin: 150px auto;
}

section h1,
section p {
    text-align: center;
}

section h1 {
    font-family: 'Amatic SC', cursive;
    font-size: 5em;
}

section h1 span {
    color: #8d13eb;
}

section h2 {
    font-size: 2em;
}

section p {
    font-size: 1.2em;
}

section .section-container {
    margin-top: 45px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr 2fr;
}

section .section-container-no-show {
    margin-top: 45px;
    text-align: center;
    font-size: 1.3em;
}

section .section-container>* {
    padding: 30px;
}

section .section-container>* h2 {
    margin-bottom: 30px;
}

section .section-container .about {
    border-right: 1px solid #000;
}

.calendar .calendar-entry-container {
    position: relative;
    visibility: hidden;
}

.calendar .calendar-entry {
    width: 100%;
    padding: 10px;
    margin-bottom: 60px;
    border-radius: 75px 0 0 75px;
    background: rgb(141, 19, 235);
    background: linear-gradient(90deg, rgba(141, 19, 235, 1) 0%, rgba(222, 105, 200, 1) 50%, rgba(217, 17, 54, 1) 100%);
    position: relative;
}

.calendar-entry-container .gradient-box {
    position: absolute;
    top: 0;
    left: 100%;
    height: 100%;
    background: rgb(141, 19, 235);
    background: linear-gradient(90deg, rgba(217, 17, 54, 1) 0%, rgba(222, 150, 7, 1) 50%, rgba(252, 231, 24, 1) 100%);
    width: 800px;
    z-index: 1;
}

.calendar .calendar-entry .calendar-date {
    height: 125px;
    width: 125px;
    background-color: #fff;
    border-radius: 100%;
}

.calendar .calendar-entry>*>* {
    display: block;
    position: relative;
    font-family: 'Amatic SC', cursive;
    z-index: 2;
}

.calendar .calendar-entry .calendar-date {
    text-align: center;
}

.calendar .calendar-entry .calendar-place {
    text-align: right;
}

.calendar .calendar-entry>* span:first-child {
    font-size: 5em;
}

.calendar .calendar-entry>* span:first-child.empty {
    margin-top: 0.25em;
}

.calendar .calendar-entry>* span:nth-child(2) {
    font-size: 2.5em;
}

.calendar .calendar-entry>div {
    display: inline-block;
}

.calendar .calendar-entry .calendar-place {
    float: right;
}

/* VIDEO */

section #embed-container {
    margin-top: 45px;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 20px;
}

section #embed-container iframe,
section #embed-container object,
section #embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

section #embed-container .ytp-button {
    background-color: #8d13eb;
}

/* GALERIE PHOTO */
section #photo-container {
    width: 1200px;
    margin: 45px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

section #photo-container img {
    height: 150px;
    /* TODO: checker la grosseur sur cell */
    width: auto;
    margin: 15px;
    transition: transform .5s;
}

section #photo-container img:hover {
    transform: scale(1.2);
    cursor: pointer;
}

.zoomed-photo {
    display: block;
    margin: 4% auto;
    height: 85vh;
    width: auto;
}

/* CONTACT */

form {
    max-width: 600px;
    padding: 50px;
    margin: 60px auto 0;
    box-shadow: 0px 0.2em 1em #c4c4c4;
    transition: transform 0.5s, box-shadow 0.5s;
}

form:focus-within {
    box-shadow: 0px 0.2em 2.5em #c4c4c4;
    transform: scale(1.025);
}

form label,
form input,
form textarea {
    display: block;
    width: 100%;
    margin: 0 auto;
}

form label {
    font-family: 'Hind Siliguri', Verdana, sans-serif;
    font-size: 1.5em;
    margin: 30px 0 10px;
}

form input,
form textarea {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #c4c4c4;
    font-family: 'Hind Siliguri', Verdana, sans-serif;
    font-size: 1.2em;
}

form input.error,
form textarea.error {
    border: 1px solid red;
}

form input:focus,
form textarea:focus {
    outline: 3px solid #8d13eb;
    border-radius: 5px;
    border: none;
}

form textarea {
    resize: none;
    height: 150px;
}

form button {
    display: block;
    width: 180px;
    margin: 30px auto 0;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background-color: #de9607;
    color: #fff;
    font-family: 'Hind Siliguri', Verdana, sans-serif;
    font-size: 1.3em;
    font-weight: bolder;
    transition: transform 0.2s;
}

form button:hover {
    cursor: pointer;
}

form button i {
    font-size: 1em;
}

.email-success-msg {
    color: #de9607;
    font-weight: bolder;
    font-size: 1.4em;
}

/* FOOTER */

footer {
    width: 100%;
    margin: 0;
    padding: 20px 0 10px;
    box-shadow: 0px 0.2em 1em #c4c4c4;
}

footer #footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

footer #copyright {
    width: 100%;
    text-align: center;
    font-size: 0.6em;
}

/* MISC */
.overlay {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    overflow: auto;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    background-color: rgb(0, 0, 0, 0.4);
}

.modal {
    position: absolute;
}

.modal-close {
    float: right;
    font-size: 28em;
    font-weight: bold;
}

.navigation-arrow {
    position: absolute;
    padding: 15px;
    font-family: 'Amatic SC', cursive;
    top: 45%;
    font-size: 8em;
}

.navigation-arrow:hover {
    cursor: pointer;
    color: #8d13eb
}

.navigation-arrow#left-arrow {
    left: 13%;
}

.navigation-arrow#right-arrow {
    right: 13%;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 1200px) {
    nav {
        padding: 0 30px;
    }

    div.hero-banner img {
        margin-left: 30px;
    }

    div.slogan span {
        margin-right: 30px;
    }

    section .section-container {
        margin-top: 45px;
        display: grid;
        grid-auto-flow: row;
        grid-auto-columns: 1fr 2fr;
    }

    section .section-container>* h2 {
        text-align: center;
    }

    section .section-container .about {
        border-right: none;
    }

    section .section-container .about::after {
        content: '';
        position: absolute;
        bottom: 5;
        right: 0;
        left: 0;
        width: 50%;
        margin: 50px auto 0;
        border-bottom: 1px solid #000;
    }

    section .section-container .calendar {
        margin-top: 60px;
        padding: 30px 0 30px 30px;
    }

    .calendar-entry-container .calendar-place {
        padding-right: 30px;
    }

    .calendar-entry-container .gradient-box {
        display: none;
    }

    .calendar .calendar-entry {
        padding: 10px 0;
        background: linear-gradient(90deg, rgba(141, 19, 235, 1) 0%, rgba(222, 105, 200, 1) 25%, rgba(217, 17, 54, 1) 50%, rgba(222, 150, 7, 1) 75%, rgba(252, 231, 24, 1) 100%);
    }

    .calendar .calendar-entry .calendar-date {
        margin-left: 10px;
    }

    section #photo-container {
        max-width: 80vw;
    }

    section #photo-container img {
        width: 80%;
        height: auto;
    }

    .zoomed-photo {
        display: block;
        margin: 4% auto;
        width: 85vw;
        height: auto;
    }
}

@media only screen and (max-width: 992px) {
    nav ul {
        display: none;
    }

    nav #nav-dropdown {
        display: inline-block;
    }

    #mobile-nav {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        background: #000;
        transition: display 1s;
    }

    #mobile-nav li {
        width: 100%;
    }

    #mobile-nav li a {
        display: block;
        padding: 3vh 0;
        color: #fff;
        width: 100%;
        align-self: center;
        font-family: 'Amatic SC', cursive;
        font-size: 3em;
        font-weight: bold;
        border-bottom: 1px solid #777;
        cursor: pointer;
    }

    #mobile-nav li a[data-color=purple] {
        color: #8d13eb;
    }

    #mobile-nav li a[data-color=pink] {
        color: #e310bc;
    }

    #mobile-nav li a[data-color=red] {
        color: #d91136;
    }

    #mobile-nav li a[data-color=orange] {
        color: #de9607;
    }

    #mobile-nav li a[data-color=yellow] {
        color: #ffcf4d;
    }

    div.hero-banner img {
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    div.slogan {
        display: none;
    }

    .calendar .calendar-entry .calendar-date {
        height: 100px;
        width: 100px;
    }

    .calendar .calendar-entry>* span:first-child {
        font-size: 4em;
    }

    .calendar .calendar-entry>* span:nth-child(2) {
        font-size: 2em;
    }
}

@media only screen and (max-width: 768px) {
    form {
        max-width: 70vw;
    }

    .calendar-entry-container .calendar-place {
        padding-right: 10px;
    }
}

@media only screen and (max-width: 600px) {
    div.hero-banner img {
        height: 20vh;
        min-height: 180px;
    }

    .calendar .calendar-entry .calendar-date {
        height: 75px;
        width: 75px;
    }

    .calendar .calendar-entry>* span:first-child {
        font-size: 3em;
    }

    .calendar .calendar-entry>* span:nth-child(2) {
        font-size: 1.5em;
    }

}

@media only screen and (max-width: 400px) {
    section h2 {
        font-size: 1.6em;
    }

    .calendar .calendar-entry .calendar-date {
        height: 60px;
        width: 60px;
    }

    .calendar .calendar-entry>* span:first-child {
        font-size: 2.1em;
    }

    .calendar .calendar-entry>* span:nth-child(2) {
        font-size: 1.2em;
    }
}

@media screen and (prefers-reduced-motion: reduce) {
    form:focus-within {
        box-shadow: none;
        transform: none;
    }

    .calendar .calendar-entry-container {
        visibility: visible;
    }
}