/* VARIABLES */
:root {
	--white: #fff;
	--black: #000;
	--blue: #2778BC;
	--green: #387E25;
	--red: #EE0E0E;
	--yellow: #F9C647;
    --grey: #ADAEA9;
    --success: #89db73;
    --bottom: 76px;
    --margin_bottom: -72px;
    --container-full: 80%;
    --container: 1080px;
}
/* END OF VARIABLES */

/* ---------- */
/* TEXT */
/* ---------- */
html, body, h1, h2, h3, h4, h5, h6 {font-family: "Roboto", sans-serif; margin: 0}

a {
    text-decoration: none;
    color: unset;
    transition: all 0.3s ease-in-out;
    cursor: pointer; /* "hand" cursor */
}

a:hover {
    transition: all 0.3s ease-in-out;
    font-weight: 500;
}

a.link {
    color: var(--blue);
    text-decoration: underline;
}

.enfants a:hover {
    color: var(--green);
}

.adultes a:hover {
    color: var(--blue);
}

h2 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 23px;
}

/* H1 letter spacing 5% */
h1, .page-select h2, footer h2 {
    font-family: 'Playfair Display', serif;
    font-style: normal;
    font-weight: 500;
    font-size: 36px;
    line-height: 47px;
    letter-spacing: 0.05em;
}

/* TODO: download Roboto font-weight: 300 */
body p {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 22px;
}

#navbar a {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 21px;
    letter-spacing: 1px;
}

/* download font-weight: 700 */
.btn-menu span {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 1px;
    transition: all 0.3s ease-in;
}

.btn-menu span:not(.btn-deactivated) {
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2)) 
    drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.14)) 
    drop-shadow(0px 1px 10px rgba(254, 219, 219, 0.12));
}
.btn-menu span.btn-deactivated:hover {
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2)) 
    drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.14)) 
    drop-shadow(0px 1px 10px rgba(254, 219, 219, 0.12));
    transition: all 0.3s ease-in;
}

/* footer text */
footer p, footer a {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
}

/* download font-weight: 400 */
label, .candidature-form p {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    display: block;
}

label {
    font-weight: 500;
}

input[type="submit"] {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 22px;
    text-transform: capitalize;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2)) 
            drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.14)) 
            drop-shadow(0px 1px 10px rgba(254, 219, 219, 0.12));
    transition: all 0.3s ease-out;
}

input[type="submit"]:hover {
    filter: none;
}

/* FIXME paddings / margins left and right for every element  */
#navbar, #main p, #main h1, #main h2 {
    /* padding-left: 24px;
    padding-right: 24px; */
}

/* END OF TEXT */

/* ---------- */
/* MISC */
/* ---------- */
.main-container, #navbar {
    max-width: var(--container);
    margin-bottom: 100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.actualites .main-container,
.main-page .main-container,
.mannequins .main-container,
#navbar {
    max-width: var(--container-full);
}

.main-head {
    margin-bottom: 80px;
}

.dp-shadow {
    /* filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2)) 
            drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.14)) 
            drop-shadow(0px 1px 10px rgba(254, 219, 219, 0.12)); */
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14),
            0 1px 18px 0 rgba(0, 0, 0, 0.12),
            0 3px 5px -1px rgba(0, 0, 0, 0.20);
    transition: all 0.3s ease-in-out;
}

.center {
    text-align: center;
}

.bkg-grey {
    background-color: #f8f8f8;
}

.border-radius {
    border-radius: 6px;
}
.made-by a {
    font-weight: 300;
    color: var(--grey);
}
.made-by a:hover {
    text-decoration: underline;
    font-weight: 300;
}

/* END OF MISC */

/* ---------- */
/* LOGO */
/* ---------- */
.logo {
    margin-top: 50px;
    margin-bottom: 35px;
}

.logo img {
    max-height: 220px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
/* END OF LOGO */

/* ---------- */
/* NAVBAR */
/* ---------- */
#navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#navbar ul li {
    display: inline;
    margin-right: 16px;
}

#navbar .btn-menu {
    float: right;
    position: relative;
    top: -20px;
    margin-right: 16px;
}

.btn-menu span {
    padding: 12px;
}

.btn-menu .btn-enfants {
    background-color: var(--green);
    border-radius: 6px 0 0 6px;
    border: 1px solid var(--green);
    color: var(--white);
}
.btn-menu .btn-adultes {
    border-radius: 0 6px 6px 0;
    border: 1px solid var(--blue);
    color: var(--white);
    background-color: var(--blue);
}
.btn-menu .btn-deactivated {
    color: var(--grey);
    border-color: var(--grey);
    background-color: #fff;
}

#navbar.adultes li a.active {
    color: var(--blue);
    font-weight: 700;
}
#navbar.enfants li a.active {
    color: var(--green);
    font-weight: 700;
}
/* END OF NAVBAR */

/* ---------- */
/* FOOTER */
/* ---------- */
footer {
    /* max-width: var(--container); */
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.socials svg {
    width: 20px;
    height: 20px;
    margin-right: 20px;
}
.socials div {
    display: inline;
}

.separator {
    /* width: 100%; */
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    height: 4px;
}
.separator div {
    height: 4px;
}
.separator .first {
    background-color: var(--blue);
}
.separator .second {
    background-color: var(--red);
}
.separator .third {
    background-color: var(--green);
}
.separator .fourth {
    background-color: var(--yellow);
}
footer a:hover {
    font-weight: 700;
    text-decoration: underline;
}
/* END OF FOOTER */

/* ---------- */
/* FLEX */
/* ---------- */
.flex {
    display: flex;
}

footer .flex {
    align-items: center;
}

.flex-2-cols > div {
    flex: 50%;
}

.flex-3-cols > div {
    flex: 33%;
}

.flex-4-cols > div {
    flex: 25%;
}

.flex-one-third {
    flex-basis: 33.33% !important;
}
/* END OF FLEX */

/* ---------- */
/* MAIN PAGE */
/* ---------- */
.page-select h2 {
    margin-top: 40px;
}

h2.tagline {
    margin-bottom: 60px;
}

.page-select {
    margin-top: 120px;
}

.page-select img {
    /* border: 1px solid #999; */
    /* height: 342px;
    width: 228px; */
    /* height: auto; */
    /* width: 70%; */
    height: 450px;
    width: 300px;
    border-radius: 6px;
    /* to have a border effect on the selection */
    /* border: 6px solid #ffffff00; */
}

.page-select img:hover,
.tab-photos img:hover {
    /* filter: none; */
    box-shadow: none;
    transition: all 0.3s ease-in-out;
    /* TODO: add a blue border for adults and green for kids */
    /* border: 6px solid var(--blue); */
}

.main-page footer h2 {
    display: none;
}

.slideshow-container {
    /* max-width: 1000px; */
    position: relative;
    margin: auto;
}
/* Hide the images by default */
.mySlides {
    display: none;
}
/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 0.5s;
}
  
@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}
/* END OF MAIN PAGE */

/* NOTRE AGENCE */
.notre-agence #main p {
    text-align: justify;
}

.notre-agence .main-container img {
    width: 100%;
    /* height: 390px; */
    /* border: 1px solid #999; */
    border-radius: 6px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.main-container #left,
.main-container #right {
    margin-left: 16px;
    margin-right: 16px;
}

/* END OF NOTRE AGENCE */

/* CONTACT PAGE */
div#feedback_msg {
    margin-bottom: 16px;
    border: 6px solid;
    border-radius: 6px; 
    border-color: #f8c547;
    padding: 0.25em;
}

.maps, .maps iframe {
    border-radius: 6px;
    width: 100%;
}

input:not([type=radio]), textarea, .btn-inputFile, select {
    padding: 12px;
    margin-bottom: 32px;
    margin-top: 8px;
    border-radius: 6px;
    border: 1px solid var(--grey);
    /* width: 410px; */
    width: calc(100% - 26px);
    /* width: calc(100% - 24px - 48px); */
}

.candidature-form .full-row {
    margin-right: 0 !important;
}

.shorter input:not([type=radio]),
.shorter select {
    width: calc(100% - 26px);
    margin-right: 34.5px;
}

.short input:not([type=radio]),
.short select {
    width: 130px;
}

input.btn-submit {
    background-color: var(--yellow);
    color: var(--black);
    border: none;
    width: auto;
    padding: 16px 20px;
    margin-bottom: 4px;
    text-transform: uppercase;
    cursor: pointer; /* "hand" cursor */
}

.contact .main-container.flex {
    align-items: baseline;
}

/* CANDIDATURE */
.category {
    font-weight: 700;
    margin-bottom: 30px;
    margin-top: 50px;
}

.candidature p {
    font-weight: 400;
}

.candidature-form {
    margin-top: 60px;
}

.candidature-form form > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.candidature-form form > div > div {
    flex: 50%;
}
.candidature-form form > .form-field {
    flex-direction: column;
    align-items: start;
}

input#woman {
    margin-bottom: 26px;
}

p.gender {
    margin-bottom: 6px;
    font-weight: 500;
}

.candidature-form .flex {
    justify-content: space-between;
}
.candidature-form .flex-4-cols > div {
    flex: none;
}
.input-files {
    margin-bottom: 52px;
    width: 100%;
}
.input-files p {
    margin-bottom: 24px;
    font-weight: 500;
}
.input-files .flex {
    justify-content: space-around;
}
.input-files > div:first-of-type > div:first-of-type {
    margin-bottom: 30px;
}
.gender-div label {
    display: inline;
}
/* TODO align the height of the images to the upload buttons */
.photo-check {
    padding-top: 18px;
}

.btn-inputFile {
    padding: 16px 20px;
    width: auto;
    text-align: center;
}

input.input-file {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
    padding: 0;
    margin: 0;
}

/* .input-file + label {
    font-size: 1.25em;
    font-weight: 700;
    color: white;
    background-color: black;
    display: inline-block;
} */

.input-file:focus + label,
.input-file + label:hover {
    
}

.input-file + label {
	cursor: pointer; /* "hand" cursor */
}

label.btn-inputFile {
    color: var(--grey);
}

label.btn-inputFile.file-selected {
    border-color: var(--success);
    border-width: 2px;
    color: var(--success);
}

.photo-check span {
    display: block;
}

.photo-check img {
    display: block;
    margin: 12px auto 24px auto;
    border: 1px solid var(--red);
    width: 80%;
}

.photo-correct img {
    border-color: #89db73;
}
.photo-incorrect img {
    border-color: #EE0E0E;
}

.input-files > div:first-of-type {
    flex-basis: 50%;
}

.input-files-p {
    margin-bottom: 48px;
}
.flex-align-top {
    align-items: baseline !important;
}
/* END OF CANDIDATURE */


/* NOS MANNEQUINS */
.flex-photos {
    flex-wrap: wrap;
    justify-content: space-between;
}

.photo {
    margin: 25px;
    border-radius: 6px;
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14),
            0 1px 18px 0 rgba(0, 0, 0, 0.12),
            0 3px 5px -1px rgba(0, 0, 0, 0.20);
    transition: all 0.3s;
}

.photo:hover {
    box-shadow: none;
}

.mannequins .photo {
    margin: 26px 18px;
}

.photo img {
    width: 184px;
    /* height: 276px; */
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    /* filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2)) 
            drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.14)) 
            drop-shadow(0px 1px 10px rgba(254, 219, 219, 0.12)); */
}

.model-name, .video-name {
    opacity: 0;
    position: relative;
    background-color: #202020;
    /* opacity: 0.7; */
    height: 46px;
    padding-top: 26px;
    color: var(--white);
    text-align: center;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    bottom: var(--bottom);
    margin-bottom: var(--margin_bottom);
    transition: all 0.3s ease-in;
    display: block;
}

.photo:hover .model-name,
.video-container:hover span {
    opacity: 0.7;
}

.filter-div {
    margin-left: 16px;
}

.filter, .switch-tab {
    /* color: var(--grey); */
    cursor: pointer;
    transition: all 0.3s;
}

.filter.is-active,
.switch-tab.is-active {
    color: var(--yellow);
    font-weight: 700;
}

/* ACTUALITES */
.actualites .flex-2-cols {
    flex-wrap: wrap;
}

/* P1: REMOVE TO SEE FULL ROW VIDEOS and set the .video-container img {height} bigger*/
.actualites .flex-2-cols > div {
    flex-basis: 44%;
}

.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: rgba(0,0,0,0.5); */
    background-color: #eeeeeead;
    z-index: 2;
    cursor: pointer;
}
  
.overlay video {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    max-width: 60%;
    max-height: 80%;
}
  
video {
    border-radius: 12px;
    /* width: 625px;
    height: 382px; */
}

.video-container img {
    width: 100%;
    height: 360px;
    cursor: pointer;
    border-radius: 6px;
    object-fit: cover;
}

.video-img {
    border-radius: 6px;
    height: 360px;
}

.dp-shadow.video-img:hover {
    /* filter: none; */
    box-shadow: none;
}

.video-container {
    margin: 16px;
}

.play-icon {
    /* display: none; */
    opacity: 0;
    display: block;
    cursor: pointer;
    position: relative;
    bottom: 240px;
    text-align: center;
    margin-bottom: -200px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s;
}

.play-icon svg {
    width: 96px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    /* filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(63deg) brightness(102%) contrast(104%); */
    /* blue */
    /* filter: invert(41%) sepia(51%) saturate(1151%) hue-rotate(175deg) brightness(85%) contrast(88%); */
    /* green */
    /* filter: invert(39%) sepia(90%) saturate(448%) hue-rotate(62deg) brightness(83%) contrast(81%); */
    /* yellow */
    filter: invert(91%) sepia(26%) saturate(1407%) hue-rotate(325deg) brightness(104%) contrast(95%);
    /* red */
    /* filter: invert(20%) sepia(98%) saturate(5564%) hue-rotate(357deg) brightness(95%) contrast(96%);     */
    /* grey */
    /* filter: invert(81%) sepia(6%) saturate(151%) hue-rotate(32deg) brightness(86%) contrast(85%); */
}

.video-container:hover span.play-icon {
    opacity: 1;
}

.video-name {
    cursor: pointer;
    bottom: calc(var(--bottom) + 100px);
    margin-top: 200px;
    margin-bottom: calc(var(--margin_bottom) - 200px);
}

/* actualités enfants */
.switch-div h2 {
    /* text-align: center; */
    font-size: 26px;
    margin-bottom: 30px;
    margin-left: 16px;
}

#switch-content > div {
    display: none;
}

#switch-content > .show-tab {
    display: flex;
}

/* fix to properly display the inner div as flex */
/* need to set the parents divs as flex as well */
#switch-content {
    display: flex;
}

#tab-photos .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ALBUM */
.album .photo img {
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.valid-error label,
.valid-error input {
    border-color: #d3312c;
}


/* MEDIA QUERIES */
@media screen and (max-width: 1400px) {
    #navbar .btn-menu {
        float: none;
        margin: 0;
        margin-top: 60px;
    }

    .actualites .main-container,
    .main-page .main-container,
    .mannequins .main-container,
    #navbar {
        max-width: 100%;
    }
    footer .separator {
        width: 94%;
    }
}
@media screen and (max-width: 1200px) {
    .page-select img {
        height: 375px;
        width: 250px;
    }
    .video-container img,
    .video-img {
        height: 300px;
    }
    .play-icon {
        bottom: 218px;
    }
}
@media screen and (max-width: 990px) {
    .logo img {
        max-height: 190px;
    }
    .page-select img {
        height: 315px;
        width: 210px;
    }
    .video-container img,
    .video-img {
        height: 260px;
    }
    .play-icon svg {
        width: 76px;
    }
    .video-name {
        margin-top: 220px;
    }
    .play-icon {
        bottom: 186px;
    }
    .switch-tab {
        font-size: 18px;
    }
    .form > div:not(.input-files) .flex {
        flex-direction: column;
    }
}
@media screen and (max-width: 768px) {
    .main-container, #navbar {
        margin-bottom: 40px;
    }
    .page-select.flex {
        flex-direction: column;
        margin-top: 60px;
    }
    .page-select img {
        width: 60%;
        height: auto;
    }
    .page-select > div {
        margin-bottom: 60px;
    }
    .page-select > div h2 {
        margin-top: 20px;
    }
    .logo img {
        max-height: 160px;
    }
    #navbar a {
        font-size: 18px;
    }
    .video-container img,
    .video-img {
        height: 200px;
    }
    .overlay video {
        max-width: 70%;
    }
    .play-icon svg {
        width: 56px;
    }
    .video-name {
        margin-top: 260px;
        height: 36px;
        padding-top: 16px;
    }
    .play-icon {
        bottom: 140px;
    }
    .contact .flex-2-cols {
        flex-direction: column;
    }
    .contact .flex-2-cols > div {
        width: calc(100% - 32px);
    }
    .maps {
        margin-bottom: 60px;
    }
    input.btn-submit {
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .form .flex {
        flex-direction: column;
    }
}
@media screen and (max-width: 640px) {
    footer p, footer a {
        font-size: 12px;
    }
    footer .separator {
        width: 98%;
    }
    .main-head.flex-2-cols {
        flex-direction: column;
        margin-bottom: 40px;
    }
    .overlay video {
        max-width: 76%;
    }
    .video-container img,
    .video-img {
        height: 300px;
    }
    .actualites .flex-2-cols {
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .play-icon {
        bottom: 200px;
    }
    .play-icon svg {
        width: 96px;
    }
    .video-name {
        margin-top: 220px;
        margin-bottom: calc(var(--margin_bottom) - 100px);
    }
}
@media screen and (max-width: 490px) {
    .logo img {
        max-height: 120px;
    }
    .flex .col-3 {
        text-align: right;
        /* margin-right: 16px; */
    }
    .flex .col-3 > * {
        margin-right: 16px;
    }
    .flex .col-1 {
        text-align: left;
        /* margin-right: 16px; */
    }
    .flex .col-1 > * {
        margin-left: 16px;
    }
    .mannequins .photo {
        margin: 18px 12px;
        width: 44%;
    }
    .mannequins .photo img {
        width: 100%;
        height: 100%;
    }
    .overlay video {
        max-width: 88%;
    }
    .form > div {
        flex-direction: column;
    }
    input:not([type=radio]), textarea, select {
        width: calc(100% - 24px);
    }
    .shorter select {
        width: calc(60% - 34px);
    }
    .candidature-form form > div {
        align-items: normal;
    }
    .candidature-form form > div > div:first-of-type {
        margin-right: 0;
    }
    h2.tagline {
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 450px) {
    .mannequins .photo {
        width: 42%;
    }
}
@media screen and (max-width: 360px) {
    .page-select img {
        width: 90%;
    }
    .mannequins .photo {
        margin: 12px 8px;
    }
    input.btn-submit {
        font-size: 16px;
    }
}

:root {
    --cute-blue: #2778bc;
    --cute-green: #387e25;
    --cute-red: #ee0e0e;
    --cute-yellow: #f9c647;
    --cute-grey: #adada9;
    --content-width: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
body { color: #171717; background: #fff; }
a { text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.header { padding: 50px 20px 35px; }
.header .logo { margin: 0 auto; }
#navbar { width: 80%; max-width: none; min-height: 58px; margin-bottom: 48px; display: flex; align-items: center; justify-content: space-around; gap: 3rem; flex-direction: column; }
#navbar ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
#navbar ul li { margin: 0; }
#navbar a { font-size: 20px; line-height: 21px; letter-spacing: 1px; }
.header .logo img { width: auto; max-width: min(90vw, 600px); max-height: 220px; object-fit: contain; }
#navbar .btn-menu { top: -20px; float: none; margin: 0; white-space: nowrap; display: flex; }
.btn-menu .btn-enfants { background: var(--cute-green); border-color: var(--cute-green); }
.btn-menu .btn-adultes { background: var(--cute-blue); border-color: var(--cute-blue); }
.btn-menu .btn-deactivated { background-color: transparent; border-color: var(--cute-grey)}
.btn-menu .btn-adultes.btn-deactivated:hover { background-color: var(--cute-blue); border-color: var(--cute-blue); }
.btn-menu .btn-enfants.btn-deactivated:hover { background-color: var(--cute-green); border-color: var(--cute-green); }
.btn-menu span { display: inline-block; padding: 12px; font-size: 16px; line-height: 21px; letter-spacing: 1px; }
.photo-check { padding-top: 18px; justify-content: space-around; gap: 12px; }
.photo-check figure { flex: 1 1 0; min-width: 0; margin: 0; text-align: center; }
.photo-check span { display: block; }
.photo-check img { display: block; width: 80%; margin: 12px auto 24px; border: 1px solid var(--cute-red); }
.photo-correct img { border-color: var(--success); }
.photo-incorrect img { border-color: var(--cute-red); }
#navbar.enfants li a:hover, #navbar.enfants li a.active { color: var(--cute-green); }
#navbar.adultes li a:hover, #navbar.adultes li a.active { color: var(--cute-blue); }
.main-container { width: min(calc(100% - 48px), var(--content-width)); padding: 0; margin: 0 auto 96px; }
h1 { margin: 0 0 24px; font-size: 36px; line-height: 1.25; letter-spacing: 0; }
.main-page h1 { margin: 0; }
.main-head { align-items: center; gap: 32px; }
.main-head > div { min-width: 0; }
.main-head p { margin: 0; }
.home-content { width: 80%; max-width: 1280px; margin-top: 20px; }
.tagline { margin-top: 4px; margin-bottom: 60px; font-weight: 300; }
.page-select { justify-content: space-around; gap: 32px; margin-top: 120px; }
.home-category { display: block; flex: 0 1 300px; min-width: 0; }
.home-category h2 { margin-top: 22px; font-size: 36px; }
.home-track { width: 100%; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 6px; background: #f1f1ef; }
.home-track .mySlides, .agency-slideshow .mySlides { display: none; height: 100%; }
.mySlides[hidden] { display: none !important; }
.home-track .mySlides:not([hidden]), .agency-slideshow .mySlides:not([hidden]) { display: block; }
.home-track img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.track-empty { display: grid; width: 100%; height: 100%; place-items: center; border: 1px solid #e3e3e0; border-radius: 6px; color: #666; font-size: 18px; }
.agency-layout { display: flex; gap: 48px; align-items: start; flex-direction: column; }
.agency-copy p { margin: 0 0 16px; text-align: justify; }
.agency-slideshow { width: 100%; border-radius: 6px; overflow: hidden; }
.agency-slideshow .mySlides { height: auto; }
.agency-slideshow img { width: 100%; height: auto; object-fit: contain; border-radius: 6px; }
.slideshow-controls { position: absolute; inset: auto 12px 12px; display: flex; justify-content: space-between; }
.slideshow-controls button { width: 42px; height: 42px; border: 0; border-radius: 50%; color: #111; background: #fff; cursor: pointer; font-size: 28px; line-height: 1; }
#id_gender { display: flex; gap: 12px; }
.filter-div { margin: 24px 0; display: flex; gap: 12px; align-items: center; }
.filter.is-active, .switch-tab.is-active { color: var(--cute-yellow); font-weight: 700; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 40px; }
.pagination a { color: var(--cute-blue); text-decoration: underline; }
.talent-grid { display: flex; flex-wrap: wrap; justify-content: space-between; }
.photo, .book-photo-grid figure { min-width: 0; margin: 26px 18px; }
.photo { overflow: hidden; border-radius: 6px; box-shadow: 0 6px 10px rgba(0,0,0,.14), 0 1px 18px rgba(0,0,0,.12), 0 3px 5px -1px rgba(0,0,0,.2); transition: box-shadow .3s; }
.photo:hover { box-shadow: none; }
.talent-grid img { display: block; width: 184px; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; }
.model-name { opacity: 0; position: relative; display: block; height: 46px; padding-top: 26px; margin-bottom: -72px; bottom: 76px; color: var(--white); background: #202020; text-align: center; border-radius: 0 0 6px 6px; transition: opacity .3s ease-in; }
.photo:hover .model-name, .photo:focus-within .model-name { opacity: .7; }
.book-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.book-photo-grid figure { margin: 16px; }
.book-photo-grid img { display: block; width: 100%; height: auto; border-radius: 6px; }
.book-grid { display: flex; flex-wrap: wrap; justify-content: space-between; }
.book-grid .book-card { width: 184px; margin: 26px 18px; border: 0; background: transparent; }
.book-grid .book-card img { display: block; width: 184px; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; }
.photo figcaption { padding: 10px 2px; font-size: 15px; }
.campaign-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
.campaign-card, .book-card { min-width: 0; }
.campaign-card h2 { margin-top: 12px; font-weight: 500; }
.video-trigger, .book-card { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 6px; background: #f1f1ef; text-align: left; cursor: pointer; }
.campaign-poster { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.poster-empty { display: grid; place-items: center; color: #555; font-size: 32px; }
.play-icon { position: absolute; top: 50%; left: 50%; display: grid; width: 96px; height: 96px; place-items: center; color: var(--cute-yellow); font-size: 72px; opacity: 0; transform: translate(-50%, -50%); transition: opacity .3s; }
.play-icon svg { width: 96px; height: auto; fill: var(--cute-yellow); }
.video-trigger:hover .play-icon, .video-trigger:focus-visible .play-icon { opacity: 1; }
.video-trigger .video-name { position: absolute; right: 0; bottom: 0; left: 0; display: block; height: 72px; padding: 26px 12px 0; overflow: hidden; color: #fff; background: rgba(32,32,32,.8); text-align: center; opacity: 0; transition: opacity .3s ease-in; }
.video-trigger:hover .video-name, .video-trigger:focus-visible .video-name { opacity: .85; }
.book-title { display: block; padding: 12px 14px; font-size: 17px; }
.switch-div { margin: 14px 0 24px; font-size: 20px; }
.switch-tab { padding: 4px 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.news-panel[hidden] { display: none; }
.empty-state { margin: 38px 0; color: #555; }
.site-alert { width: min(calc(100% - 48px), var(--content-width)); margin: 0 auto 24px; padding: 12px 16px; border-left: 4px solid var(--cute-yellow); background: #fff9e8; }
.video-dialog { width: min(960px, calc(100vw - 32px)); max-width: none; padding: 48px 16px 16px; border: 0; border-radius: 6px; background: #111; }
.video-dialog::backdrop { background: rgba(0,0,0,.78); }
.dialog-close { position: absolute; top: 8px; right: 12px; border: 0; color: #fff; background: transparent; cursor: pointer; font-size: 32px; }
.video-stage { width: 100%; aspect-ratio: 16 / 9; }
.video-stage iframe, .video-stage video { width: 100%; height: 100%; border: 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 48px; align-items: start; }
.contact-details h1 { margin-bottom: 32px; }
.maps, .maps iframe { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; border: 0; border-radius: 6px; }
.form-field { min-width: 0; margin-bottom: 26px; }
.form-field > label { display: block; font-size: 20px; line-height: 28px; }
.form-field input:not([type=radio]):not([type=file]), .form-field textarea { width: 100%; max-width: none; margin: 6px 0 0; border: 1px solid #b8b8b4; border-radius: 6px; background: #fff; }
.form-field select { width: calc(100% - 26px); max-width: none; margin: 6px 0 0; border: 1px solid #b8b8b4; border-radius: 6px; background: #fff; }
.form-field.short select { width: 150px; }
.form-field.shorter select { width: calc(100% - 26px); }
.valid-error input, .valid-error select, .valid-error .file-label { border-color: #d3312c; }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--cute-blue); outline-offset: 2px; }
.btn-submit { display: inline-block; padding: 14px 20px; border: 0; border-radius: 6px; color: #171717; background: var(--cute-yellow); cursor: pointer; text-transform: uppercase; }
.btn-submit:hover { filter: brightness(.96); }
.field-error { margin-top: 6px; color: #a10f0f; font-size: 14px; }
.form-errors, .success-message { margin: 0 0 16px; padding: .25em; border: 6px solid var(--cute-yellow); border-radius: 6px; }
.form-errors { color: #d3312c; }
.form-errors ul, .field-error ul { margin: 0; padding-left: 20px; }
.success-message { color: #397e32; }
.category { margin: 28px 0 12px; font-weight: 700; }
.application-switch { margin: 10px 0 32px; }
.candidature-form form > .application-fields { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.candidature-form form > .application-fields > .form-field { flex: none; }
.gender-field ul { display: flex; gap: 18px; margin: 8px 0; padding: 0; list-style: none; }
.gender-field li { display: flex; align-items: center; gap: 6px; }
.gender-field label { display: inline; }
.file-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.file-field { position: relative; min-width: 0; }
.file-field > label { display: block; margin-bottom: 6px; font-size: 16px; }
.file-field input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-label { display: inline-block; padding: 10px 14px; border: 1px solid var(--cute-grey); border-radius: 6px; color: #555; cursor: pointer; }
.file-field input:focus + .file-label, .file-label:hover { outline: 2px solid var(--cute-blue); outline-offset: 2px; }
.file-name { display: block; overflow-wrap: anywhere; margin-top: 6px; font-size: 13px; }
.input-files-p { margin-top: 22px; }
footer { width: min(calc(100% - 48px), 1280px); margin: 0 auto 30px; }
footer .title h2 { font-size: 36px; }
.footer-contact, .footer-bottom { align-items: center; gap: 12px; }
.footer-contact p, .footer-bottom p { margin: 12px 0; }
.footer-socials { display: flex; gap: 16px; justify-content: center; }
.footer-socials a { font-size: 13px; }
.separator { width: 100%; margin: 14px auto; }

@media (max-width: 820px) {
    .header .logo img { max-height: 160px; }
    #navbar { flex-direction: column; gap: 14px; margin-bottom: 36px; }
    #navbar ul { gap: 12px 18px; }
    #navbar .btn-menu { top: auto; }
    .page-select { gap: 18px; margin-top: 54px; }
    .agency-layout { grid-template-columns: minmax(0, 1fr) minmax(220px, .8fr); gap: 28px; }
    .talent-grid { justify-content: space-around; }
    .book-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-layout { gap: 28px; }
}
@media (max-width: 600px) {
    .header { padding: 24px 16px 12px; }
    .main-container, footer, .site-alert { width: calc(100% - 32px); }
    .main-container { margin-bottom: 64px; }
    h1 { font-size: 30px; }
    #navbar { width: calc(100% - 24px); padding: 0; }
    #navbar ul { gap: 12px; }
    #navbar a { font-size: 14px; }
    #navbar .btn-menu span { font-size: 13px; }
    .page-select { display: grid; grid-template-columns: 1fr; gap: 34px; margin-top: 38px; }
    .home-track { width: min(78vw, 300px); }
    .agency-layout, .contact-layout { grid-template-columns: 1fr; gap: 18px; }
    .agency-slideshow { margin-top: 8px; }
    .main-head { display: block; }
    .main-head p { margin-top: 12px; }
    .talent-grid { justify-content: space-around; }
    .mannequins .photo { width: 44%; margin: 18px 2%; }
    .talent-grid img { width: 100%; }
    .book-photo-grid { grid-template-columns: 1fr; gap: 14px; }
    .book-grid { justify-content: space-around; }
    .book-grid .book-card { width: 44%; margin: 18px 2%; }
    .book-grid .book-card img { width: 100%; }
    .campaign-grid { gap: 20px 12px; }
    .campaign-card h2 { font-size: 16px; line-height: 1.3; }
    .play-icon { width: 56px; height: 56px; font-size: 48px; opacity: 1; }
    .play-icon svg { width: 56px; }
    .switch-div { font-size: 16px; }
    .candidature-form form > .application-fields { grid-template-columns: 1fr; }
    .file-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .photo-check { flex-direction: column; }
    .photo-check img { max-width: 260px; }
    .footer-contact, .footer-bottom { display: grid; grid-template-columns: 1fr; gap: 2px; }
    .footer-contact > div, .footer-bottom > div { text-align: center; }
    .footer-socials { margin-top: 10px; }
    .separator { width: 100%; }
}
@media (max-width: 490px) {
    .header .logo img { max-height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}