
@font-face {
    font-family: Bluu;
    src: url("../font/BluuNext-Bold.otf") format("opentype");
    font-weight: bold;
  }

body {
    font-family: 'Bluu', serif;
    font-weight: bold;
    font-style: normal;
    font-size: 18px;
    line-height: 24px;
    margin: 0;
    padding: 0;
    background-color: #333;
}

.main-nav, .main-footer {
    background-color: #000000;
    text-align: center;
    color: #afafaf;
    padding-top: 25px;
    padding-bottom: 25px;
}

.main-nav{
    padding-bottom: 50px;
}

h1{
    font-family: "Afacad", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 36px; 
}

h3{
    margin-block-start: 0;
    margin-block-end: 0;
}

a{
    color: #afafaf;
}

.tagline{
    text-transform: uppercase;
    font-size: 16px;
    margin-top: -30px;
    color: #979797;
    font-weight: 800;
}

.tagline a{
    color: #979797;
    text-decoration: none;
}

.introText{
    margin-top: 25px;
}

.social-icons{
    margin-top: 35px;
    font-size: 24px;
    
}

.icon{
    transition: .4s;
    margin-left: 5px;
    margin-right: 5px;
    color: #afafaf;
}

.icon:hover{
    color: #fff;
}

#back-to-top{
    position: fixed;
    background-color: #131313;
    height: 75px;
    width: 75px;
    border-radius: 100%;
    box-shadow: 0 2px 8px #131313;
    z-index: 9999;
    left: 95%;
    top: 90%;
    margin: 25px;
    color: #fff;
}

#back-to-top:hover{
    transition: .25s;
    background-color: #979797;
    box-shadow: 0 2px 8px #131313;
}

.fa-arrow-up{
    font-size: 26px;
    position: relative;
    left: 50%;
    top:33%;
    translate: -50%;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: top;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.gallery-item {
    position: relative;
    display: inline-block;
    margin-bottom: 5px;
    width: calc(20% - 15px); /* Ajuste selon le nombre d'éléments par ligne */
    max-width: 450px; /* Ajuste cette valeur selon ton design */
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    break-inside: avoid;
}

.gallery-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.palette-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
}

.color-swatch {
    flex: 1;
    cursor: url('cursor.cur'), auto;
}

.download-btn {
    font-family: Bluu;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #131313;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 50px;
}

.download-btn:hover {
    background-color: #979797;
}

.load-more-btn {
    font-family: "Afacad", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    background-color: #131313;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 24px;
    width: 25%;
    height: 100px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 200px;
}

.load-more-btn:hover {
    transition: .25s;
    background-color: #979797;
    box-shadow: 0 2px 8px #131313;
}

.toast-message {
    font-family: "Afacad", serif;
    visibility: hidden;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #42a76f;
    color: #0e2e1d;
    padding: 30px 50px;
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1000;
    box-shadow: 0 2px 8px #131313;
}

.toast-message.show {
    visibility: visible;
    opacity: 1;
}

.main-footer {
    margin-top: 50px;
    background-color: black;
}

#disclaimer{
    margin-top: 50px;
    font-size: 12px;
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {

    .gallery-item {

        width: calc(100% - 15px); /* Ajuste selon le nombre d'éléments par ligne */
        max-width: 450px; /* Ajuste cette valeur selon ton design */
    }

    .load-more-btn {
        width: 75%;
    }

}


@media only screen and (min-width: 600px) {

    .gallery-item {

        width: calc(50% - 15px); /* Ajuste selon le nombre d'éléments par ligne */
        max-width: 450px; /* Ajuste cette valeur selon ton design */
    }
    .load-more-btn {
        width: 75%;
    }

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

    .load-more-btn {
        width: 25%;
    }  

}
