:root {
  --couleur-boutton: #B85F49;
  --couleur-fond-principal: #222222;
  --couleur-texte-principal: #F0F0E0;
  --couleur-blanc: #FFFFFF;
  --couleur-noir: #000000;

  --border-radius-bouton: 0.7em;
  --maw-width-container: 130em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--couleur-fond-principal);
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.photo_acc {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("/img/accueil/grande_photo_accueil.jpeg") center/cover no-repeat;
    color: var(--couleur-texte-principal);
    box-shadow: 0 6px 60px 15px black;
}

.photo_acc .overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.72);
}

.photo_acc article {
    z-index: 2;
    text-align: center;
    opacity: 0;
    transition: opacity 1.7s ease, transform 1.7s ease;
    transform: scale(0.5);
}

.photo_acc h1 {
    position: relative;
    z-index: 2;
    font-size: 9.5em;
    font-weight: bold;
    font-family: 'Anton', sans-serif;
}

.photo_acc a {
    position: relative;
    z-index: 2;
    text-decoration: none;
    font-size: 3em;
    font-family: 'Antonio', sans-serif;
    color: var(--couleur-texte-principal);
}

.photo_acc article div {
    display: inline-block;
    width: auto;
    padding: 0.1em 2em 0.3em 2em;
    margin-top: 0.5em;
    border-radius: var(--border-radius-bouton);
    border: 0.04em solid var(--couleur-noir);
    background-color: var(--couleur-boutton);
    box-shadow: 5px 5px 20px 2px var(--couleur-noir);
    transition: 0.3s;
    will-change: transform;
}

.photo_acc article div:hover,
.explos_recentes_photos article a div:hover {
    transform: scale(1.05);
}

.parent {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: var(--couleur-fond-principal);
}

.container {
    max-width: var(--maw-width-container);
    width: 100%;    
    box-sizing: border-box;
    background-color: var(--couleur-fond-principal);
    display: flex;
    flex-direction: column;
    padding-top: 4em;
}

.orange {
    color: var(--couleur-boutton);
}

.def_urbex,
.def_site,
.explos_recentes,
.reseaux {
    padding: 6em 3em;
}

.def_urbex h1,
.def_site h1,
.explos_recentes h1,
.reseaux h1 {
    font-size: 3em;
    font-family: 'Anton', sans-serif;
    color: var(--couleur-texte-principal);
    margin-bottom: 0.7em;
}

.def_urbex p,
.def_site p {
    font-size: 1.4em;
    color: var(--couleur-texte-principal);
    font-weight: 100;
    margin-top: 0.6em;
}

.anim_section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.anim_section.visible {
  opacity: 1;
  transform: translateY(0);
}


.voir_plus {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.voir_plus a {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
    will-change: transform;
}

.voir_plus a:hover {
    transform: scale(1.05);
}

.voir_plus p {
    color: var(--couleur-texte-principal);
    font-size: 1.5em;
    margin-right: 0.5em;
}

.explos_recentes_photos {
    padding-top: 0;
    display: flex;
    flex-wrap: wrap;
    flex-basis: 70%;
    flex-grow: 1;
    gap: 5em;
    margin-bottom: 1em;
}

.explos_recentes_photos>article {
    flex-basis: 25%;
    flex-grow: 1;
    padding: 1em;
    position: relative;
    overflow: hidden;
    background-color: var(--couleur-blanc);
}

.explos_recentes_photos>article>img {
    width: 100%;
    height: auto;
    display: block;
}

.content {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80%;
    color: var(--couleur-texte-principal);
}

.trait-blanc {
    border: none;
    height: 0.13em;
    background-color: var(--couleur-texte-principal);
    width: 100%;
}

.explos_recentes_photos>article article {
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 70%;
    height: 50%;
    padding-top: 10%;
}

.explos_recentes_photos>article article h2 {
    font-family: 'Antonio', sans-serif;
    font-size: 1.7em;
    width: 100%;
    white-space: nowrap;
    padding: 0 0.7em;
}

.explos_recentes_photos>article article div {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.explos_recentes_photos>article article img {
    width: 2.4em;
    height: auto;
    margin-left: 0.2em;
}

.explos_recentes_photos>article article div p{
    margin-right: 0.4em;
    color: var(--couleur-texte-principal);
    font-family: 'Antonio', sans-serif;
    font-size: 1.2em;
}

.explos_recentes_photos>article a {
    display: inline-block;
    margin: 0 auto;
    text-decoration: none;
    color: var(--couleur-texte-principal);
    font-size: 1.4em;
    font-family: 'Antonio', sans-serif;
}

.explos_recentes_photos>article a div {
    padding: 0.2em 1em 0.4em 1em;
    margin-top: 1em;
    transition: 0.3s;
    border-radius: var(--border-radius-bouton);
    border: 0.04em solid var(--couleur-noir);
    background-color: var(--couleur-boutton);
    box-shadow: 5px 5px 20px 2px var(--couleur-noir);
    will-change: transform;
}

.explos_recentes_photos>article a div:hover {
    transform: scale(1.05);
}

.insta {
    display: flex;
    flex-direction: row;
    gap: 7em;
    margin-top: 5em;
}

.un_insta {
    background-color: var(--couleur-noir);
    box-shadow: 0px 0px 15px 15px black;
    padding: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 20%;
    flex-grow: 1;
    gap: 2em;
}

.un_insta div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1em;
}

.un_insta img {
    width: 18em;
    height: auto;
    border-radius: 100%;
}

.un_insta div img {
    width: 4em;
    height: auto;
    border-radius: 0;
}

.insta a {
    text-decoration: none;
    color: var(--couleur-texte-principal);
    font-family: 'Antonio', sans-serif;
    font-size: 2em;
    transition: 0.3s;
}

.insta a:hover {
    color: var(--couleur-boutton);
}

@media screen and (max-width: 2100px) {
    
    .photo_acc h1 {
        font-size: 7.5em;
    }

    .photo_acc a {
        font-size: 3em;
    }
}

@media screen and (max-width: 1800px) {
    
    .photo_acc h1 {
        font-size: 7em;
    }

    .photo_acc a {
        font-size: 2.5em;
    }

    .un_insta img {
        width: 15em;
    }

    .insta a {
        font-size: 1.6em;
    }

    .un_insta div img {
        width: 3.5em;
    }
}

@media screen and (max-width: 1600px) {
    
    .un_insta img {
        width: 13em;
    }

    .insta a {
        font-size: 1.6em;
    }

    .un_insta div img {
        width: 3.5em;
    }

    .insta {
        gap: 5em;
    }
}

@media screen and (max-width: 1440px) {

    .photo_acc h1 {
        margin-top: 1em;
        font-size: 6em;
    }

    .photo_acc a {
        font-size: 2em;
    }

    .def_urbex,
    .def_site,
    .explos_recentes,
    .reseaux {
        padding: 2em 4em;
    }

    .def_urbex h1,
    .def_site h1,
    .explos_recentes h1,
    .reseaux h1 {
        font-size: 1.7em;
        font-family: 'Anton', sans-serif;
        color: var(--couleur-texte-principal);
        margin-bottom: 1.7em;
    }

    .def_urbex p,
    .def_site p {
        font-size: 1em;
        color: var(--couleur-texte-principal);
        font-weight: 100;
        margin-top: 0.6em;
    }

    .voir_plus a {
        font-size: 0.8em;
        margin-bottom: 3.4em;
    }

    .voir_plus img {
        width: 2em;
    }

    .explos_recentes_photos>article article h2{
        font-size: 1.5em;
    }

    .explos_recentes_photos {
        gap: 3em;
    }

    .trait-blanc {
        height: 0.11em;
    }

    .explos_recentes_photos>article a {
        font-size: 1.1em;
    }

    .insta {
        flex-wrap: wrap;
        gap: 4em;
        margin-bottom: 3em;
    }

    .un_insta {
        gap: 0.6em;
        box-shadow: 0px 0px 10px 10px black;
        padding: 1em 0;
        flex-basis: 15%;
    }

    .un_insta img {
        width: 5em;
        height: auto;
        gap: 0;
    }

    .un_insta div {
        flex-direction: column;
        gap: 0.4em;
    }

    .un_insta div img {
        width: 1em;
        height: auto;
    }

    .insta a {
        font-size: 0.7em;
    }
}

@media screen and (max-width: 1300px) {

    .explos_recentes_photos>article {
        padding: 0.8em;
    }
}

@media screen and (max-width: 1200px) {

    .photo_acc h1 {
        margin-top: 1em;
        font-size: 4.5em;
    }

    .photo_acc a {
        font-size: 1.7em;
    }

    .explos_recentes_photos>article a {
        font-size: 1em;
    }
}

@media screen and (max-width: 1100px) {

    .explos_recentes_photos>article {
        padding: 0.7em;
    }

    .explos_recentes_photos>article article div p{
        font-size: 1em;
    }

    .explos_recentes_photos>article article h2{
        font-size: 1.2em;
    }
}

@media screen and (max-width: 1050px) {

    .explos_recentes_photos>article a {
        font-size: 0.9em;
    }
}

@media screen and (max-width: 1000px) {

    .photo_acc h1 {
        margin-top: 1em;
        font-size: 4em;
    }

    .photo_acc a {
        font-size: 1.4em;
    }
    
    .block {
        margin-top: 14em;
    }

    .explos_recentes_photos>article {
        flex-basis: 40%;
    }

    .explos_recentes_photos>article div h2 {
        font-size: 1.4em;
    }

    .explos_recentes_photos>article a {
        font-size: 1.1em;
    }

    .trait-blanc {
        height: 0.11em;
    }
}

@media screen and (max-width: 850px) {

    .photo_acc h1 {
        margin-top: 1em;
        font-size: 3.5em;
    }

    .photo_acc a {
        font-size: 1.2em;
    }

    .explos_recentes_photos>article div h2 {
        font-size: 1.2em;
    }

    .trait-blanc {
        height: 0.105em;
    }
}

@media screen and (max-width: 750px) {

    .photo_acc h1 {
        margin-top: 1em;
        padding: 0 2em;
        font-size: 3.5em;
    }

    .photo_acc a {
        font-size: 1.4em;
    }

    .explos_recentes_photos>article a {
        font-size: 0.8em;
    }
}

@media screen and (max-width: 640px) {
    
    .photo_acc h1 {
        padding: 0 1em;
        font-size: 3.7em;
    }

    .photo_acc a {
        font-size: 1.6em;
    }

    .def_urbex,
    .def_site,
    .explos_recentes,
    .reseaux {
        padding: 3em 2em;
    }

    .def_urbex h1,
    .def_site h1,
    .explos_recentes h1,
    .reseaux h1 {
        font-size: 1.4em;
        font-family: 'Anton', sans-serif;
        color: var(--couleur-texte-principal);
        margin-bottom: 1.7em;
    }

    .def_urbex p,
    .def_site p {
        font-size: 1em;
        color: var(--couleur-texte-principal);
        font-weight: 100;
        margin-top: 0.6em;
    }

    .voir_plus a {
        display: none;
    }

    .explos_recentes_photos {
        flex-direction: column;
        gap: 3em;
    }

    .explos_recentes_photos>article {
        padding: 0.7em;
    }

    .explos_recentes_photos>article article h2{
        font-size: 1.2em;
    }

    .explos_recentes_photos>article article div {
        margin-top: 1em;
    }

    .explos_recentes_photos>article article img {
        width: 1.7em;
    }

    .explos_recentes_photos>article article div p{
        font-size: 0.8em;
    }

    .explos_recentes_photos>article a {
        font-size: 1em;
        margin-top: 1em;
    }

    .insta {
        flex-wrap: wrap;
        gap: 3em;
    }

    .un_insta {
        gap: 0.6em;
        box-shadow: 0px 0px 10px 10px black;
        padding: 1em 0;
        flex-basis: 40%;
    }

    .un_insta img {
        width: 5em;
        height: auto;
        gap: 0;
    }

    .un_insta div {
        flex-direction: column;
        gap: 0.4em;
    }

    .un_insta div img {
        width: 1em;
        height: auto;
    }

    .insta a {
        font-size: 0.7em;
    }
}

@media screen and (max-width: 500px) {

    .explos_recentes_photos>article article {
        padding-top: 5%;
    }
}

@media screen and (max-width: 450px) {
    
    .photo_acc h1 {
        padding: 0;
    }
}

@media screen and (max-width: 370px) {

    .explos_recentes_photos {
        gap: 1em;
    }

    .explos_recentes_photos>article {
        padding: 0.4em;
    }

    .explos_recentes_photos>article div h2 {
        font-size: 0.7em;
    }

    .explos_recentes_photos>article article div p{
        font-size: 0.65em;
    }

    .explos_recentes_photos>article a {
        font-size: 0.7em;
    }

    .trait-blanc {
        height: 0.08em; 
    }

    .explos_recentes_photos>article article {
        padding-top: 0;
    }
}

@media screen and (max-width: 300px) {

    .explos_recentes_photos>article div h2 {
        font-size: 0.6em;
    }

    .explos_recentes_photos>article article div p{
        font-size: 0.6em;
    }

    .explos_recentes_photos>article a {
        font-size: 0.55em;
    }
} 