/*-------------------------
* GENERAL
*-------------------------*/

@font-face {
  font-family: "Quicksand";
  src:local("Quicksand Regular"),
    url("/wp-content/themes/antigone/assets/fonts/Quicksand-Regular.ttf") format("truetype")
    /*url("trickster-outline.otf") format("opentype"),
    url("trickster-outline.woff2") format("woff2")*/;
}

@font-face {
  font-family: "Quicksand";
  font-weight: bold;
  src:local("Quicksand Bold"),
    url("/wp-content/themes/antigone/assets/fonts/Quicksand-Bold.ttf") format("truetype")
    /*url("trickster-outline.otf") format("opentype"),
    url("trickster-outline.woff2") format("woff2")*/;
}


:root {
	--primary-color: #5E5490;
	--secondary-color: #DD1F81;
	--text-color: #382B56;
	--padding-btn: 0.6em 1.2em;
	--taille-container: 1350px;
	--font-family: 'Quicksand', sans-serif;
}

@media screen and (min-width: 576px) {
	:root {
		--h1-size: 3.6rem;
		--h2-size: 3.2rem;
		--h3-size: 2.4rem;
	}
}

@media screen and (max-width: 576px) {
	:root {
		--h1-size: 3rem;
		--h2-size: 2.6rem;
		--h3-size: 2.2rem;
	}
}
	
::selection {
	background-color: var(--secondary-color);
	color: #FFF;
}

.container {
    width: var(--taille-container);
    padding-left: 1.2em;
    padding-right: 1.2em;
}

/*-------------------------
* TITRES
*-------------------------*/

span.suptitle {
    color: var(--secondary-color);
    font-weight: bold;
    text-transform: uppercase;
    display: block;
}

h2 {
	margin-top: 0;
}

/*-------------------------
* LIENS ET BOUTONS
*-------------------------*/

a.btn-primary, input[type="submit"] {
    background-color: var(--primary-color);
    color: #FFF;
    border: 2px solid var(--primary-color);
}

a.btn-primary:hover, a.btn-primary:focus {
    background-color: var(--secondary-color);
     border-color: var(--secondary-color);
}

a.btn-white {
    background-color: #FFF;
    color: var(--text-color);
}

a.btn-contour {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

a.btn-contour:hover, a.btn-contour:focus {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

a.link-pink {
    font-weight: bold;
    font-size: 130%;
    color: var(--secondary-color);
    text-decoration: none;
    margin: 1em auto 0;
    display: inline-block;
    position: relative
}

a.link-pink:after {
    content: '';
    width: 100%;
    background-color: var(--secondary-color);
    height: 2px;
    position: absolute;
    left: 0;
    bottom: -2px;
    transition: ease all 0.25s;
}

a.link-pink:hover:after, a.link-pink:focus:after {
    bottom: -5px;
}

/*-------------------------
* HEADER ET NAVIGATION
*-------------------------*/

header#masthead {
    background-color: var(--primary-color);
    color: #FFF;
    text-align: center;
	margin-bottom: 4em;
    background-size: cover;
    background-position: center;
    box-shadow: inset 0 0 0 2000px #40376bd9;
}

a#site-logo img {
    width: clamp(220px, 80vw, 240px);
}

.main-navigation ul {
	text-transform: uppercase;
}

nav#site-navigation i {
    display: block;
    font-size: 3rem;
	margin-bottom: -4px;
}

nav#site-navigation a:hover, nav#site-navigation a:focus {
    color: #FFF;
}

nav#site-navigation a:after {
    content: '';
    opacity: 0;
    width: 100%;
    background-color: var(--secondary-color);
    height: 2px;
    position: absolute;
    left: 0;
    bottom: -2px;
    transition: ease all 0.25s;
}

nav#site-navigation a:hover:after, nav#site-navigation a:focus:after {
    bottom: -5px;
    opacity: 1;
}

.hero-slider p {
    font-size: 1.8rem;
}

.hero-slider p:first-of-type {
    font-size: 3.2rem;
    font-weight: bold;
	margin-bottom: 0.5em;
}

.hero-slider a.btn {
	margin-top: 1.5em;
    transition: ease all 0.25s;
}

a.btn i {
    vertical-align: middle;
    font-size: 2.5rem;
    margin-left: 0.3em;
    transition: ease all 0.25s;
}

.hero-slider a.btn:hover i {
	margin-left: 0.6em;
}

.hero-slider img {
    transform: scaleX(-1);
    margin-bottom: -6px;
}

/*-------------------------
* NOS PRESTATIONS
*-------------------------*/

section#prestations {
    text-align: center;
}

section#prestations p {
    margin: 0 auto;
}

ul.liste-prestations {
	display: grid;
	gap: 1em;
    list-style: none;
    margin: 3em auto 0;
    padding: 0;
    text-align: center;
}

ul.liste-prestations li {
    background-color: #F1EEF6;
    padding: 0.8em 1.5em 3em;
}

ul.liste-prestations h3 {
    margin-top: 0;
    margin-bottom: 0.5em;
}

ul.liste-prestations i {
    font-size: 6rem;
    display: block;
}

/*-------------------------
* POURQUOI COLLABORER
*-------------------------*/

section#collaboration {
    display: grid;
    gap: 2em;
    margin: 8em auto;
}

ul#liste-distingue li {
    background-color: var(--secondary-color);
    color: #FFF;
    font-weight: bold;
    padding: 0.5em 1.5em;
    border-radius: 20px;
    display: inline-block;
    margin: 0.25em;
}

section#collaboration a.btn {
    margin: 1em auto 0;
}

section#collaboration img {
    width: 45vw;
    height: 60vw;
    object-fit: cover;
    position: relative;
}

img.pink {
    box-shadow: 8px 8px 0px var(--secondary-color);
    top: -50px;
    left: 10px;
}

img.purple {
    box-shadow: 8px 8px 0px var(--primary-color);
    margin-top: 50px;
    position: relative;
    left: -20px;
    z-index: -1;
}

/*-------------------------
* AVIS CLIENTS
*-------------------------*/

body:not(.home) section#avis-clients {
    margin-top: 8em;
}

ul#liste-avis-client {
    margin-top: 2em;
}

ul#liste-avis-client li:not(.dot) {
    background-color: #F1EEF6;
    padding: 1.5em 2em;
    margin-right: 1.5em;
    max-width: 500px;
    min-width: 320px;
}

ul#liste-avis-client h3 {
    font-size: 130%;
    margin: 0;
}

/*-------------------------
* INSTAGRAM
*-------------------------*/

section#instagram {
    margin-top: 5em;
}

#sb_instagram #sbi_images {
    padding: 0;
}

/*-------------------------
* FOOTER
*-------------------------*/

footer#colophon {
    background-color: var(--text-color);
    color: #FFF;
    padding: 3em 0 0;
}

footer#colophon a {
    color: #FFF;
}

footer#colophon section {
    display: grid;
    align-items: center;
    gap: 3em;
}

footer#colophon .col-gauche strong {
    font-size: 3.2rem;
}

footer#colophon .col-gauche p {
    font-size: 2.2rem;
}

footer#colophon i {
    color: #FFF;
    font-size: 5rem;
}

footer nav {
    font-size: 1.8rem;
}

footer nav li {
    margin-bottom: 1em;
}

footer nav li:last-child {
    font-weight: bold;
} 

.copyright {
    padding-top: 2em;
    padding-bottom: 2.5em;
    border-top: 1.5px solid #ffffff3d;
    margin-top: 4em;
}

.copyright div {
    margin-left: 0;
    margin-right: auto;
}

.copyright div a:first-of-type {
    margin-right: 2em;
}

/*-------------------------
* AUTRES PAGES
*-------------------------*/

section > p {
    width: 750px;
    max-width: 100%;
}

ul#portfolio, ul#portfolio ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
}

ul#portfolio {
    gap: 2em;
    margin-top: 2em;
}

ul#portfolio ul {
    margin-top: 1em;
}

ul#portfolio h2 {
    margin: 0;
    font-size: 2.4rem;
}

span.date-event {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: bold;
    display: block;
}

li.single-event div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
}

li.single-event img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

/*-------------------------
* RESPONSIVE
*-------------------------*/

@media screen and (min-width: 1200px) {
    header#masthead {
        padding-top: 1em;
    }

    ul.liste-prestations {
        grid-template-columns: repeat(4, 1fr);
    }

    body.home ul.liste-prestations {
        align-items: end;
    }

    .main-navigation a {
        font-size: 1.8rem;
        font-weight: bold;
    }

    .hero-slider {
        display: grid;
        grid-template-columns: 60% 40%;
        gap: 2em;
        align-items: end;
    }

    .hero-slider .col-gauche {
        text-align: left;
    }

    .hero-slider .col-gauche p {
        max-width: 530px;
    }

    .hero-slider a.btn {
        margin-bottom: 4em;
    }

    .hero-slider p:last-of-type {
        margin-bottom: 0;
    }

    section#collaboration {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    section#collaboration div.col-droite {
        text-align: right;
    }

    section#collaboration img {
        width: 280px;
        height: 380px;
    }
}

@media screen and (max-width: 1200px) {
    .hero-slider img {
        display: none;
    }

    header#masthead {
        padding: 2em 0 4em;
    }

    body:not(.home) header#masthead {
        padding-bottom: 2em;
    }

    section#collaboration div.col-droite {
        text-align: center;
    }
}

@media screen and (min-width: 768px) and (max-width: 1200px) {
    section#prestations ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1012px) {
    header#masthead nav {
        display: flex;
        gap: 2em;
        align-items: center;
    }

    header#masthead nav i {
        display: none;
    }

    .main-navigation ul {
        gap: 3vw;
        justify-content: end;
        margin-right: 0;
    }

    .main-navigation a {
        color: #FFF;
    }
}

@media screen and (max-width: 1012px) {
    nav#site-navigation ul {
        background-color: var(--text-color);
        color: #FFF;
        text-align: center;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9;
		justify-content: center;
    }

    .main-navigation a {
		padding: 0.2em 1em 1.2em;
	}
}

@media screen and (min-width: 768px) {
	.mobile-only {
		display: none;
	}

    footer#colophon section {
        grid-template-columns: repeat(2, 1fr);
    }

    footer .col-droite {
        text-align: right;
    }

    .copyright {
        display: flex;
        justify-content: end;
    }

    ul#portfolio {
        grid-template-columns: repeat(2, 1fr);
    }

    ul#portfolio ul {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 767px) {
	.desktop-only {
		display: none;
	}

	.main-navigation ul {
		justify-content: center;
		font-size: 0.9rem;
	}

    .main-navigation a {
		padding: 0.2em 2em 1.2em;
	}

	section#collaboration {
		text-align: center;
	}

    footer {
        margin-bottom: 50px;
        text-align: center;
    }

    ul#portfolio ul {
        grid-template-columns: repeat(2, 1fr);
    }
}