html {
    scroll-behavior: smooth;
    height: 100vh;
    width: 100vw;
    display: block;
}

body {
    min-height: 100vh;
    display: block;
    margin: 0;
    font-family: sans-serif;
    overflow-x: hidden;
    margin-bottom: 60px;
}

.alert {
    display: flex;
    flex-direction: column-reverse;
    width: 50%;
    max-width: 500px;
    justify-content: center;
    align-items: center;
    margin: auto;
    height: 100vh;
}

form .alert {
    height: 20px;
    color: white;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.03rem;
    width: 100%;
    margin-top: -10px;
}

.alert img {
    opacity: 0.8
}

.success-box {
    position: absolute;
    z-index: 1;
    background-color: #00000061;
    padding: 40px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.alert p {
    font-size: 1.2rem;
    font-weight: bold;
    font-family: sans-serif;
    text-align: center;
}

.alert .redirect-name {
    color: white;
}

.alert .green {
    color: #4afb4a;
}

.img {
    height: 110px;
    width: 110px;
    display: inline;
}

.img-preview {
    max-width: 100px;
    max-height: 100px;
}

.modal-success {
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-radius: 20px;
    padding: 30px 30px 30px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 100vw;
}

.not-register {
    display: none;
}

.hidden {
    display: none;
}

.modal-success p {
    margin-bottom: 40px;
}

.hide-modal-btn {
    background-color: #84B8DB;
    border: none;
    border-radius: 5px;
    width: 200px;
    padding: 14px;
    font-size: 16px;
    color: white;
    box-shadow: 0px 6px 18px -5px #84B8DB;
    transition: 0.2s;
}

.hide-modal-btn:hover {
    cursor: pointer;
    background-color: rgb(28, 28, 28);
    color: #84B8DB;
}

.black-bg-opacity {
    background-color: #00000082;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

nav {
    display: flex;
    width: 100vw;
    box-sizing: border-box;
    background-color: rgb(255, 255, 255);
    justify-content: space-between;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    position: relative;
    z-index: 1;
}

nav a {
    max-height: 60px;
    transition: 0.2s;
}

nav a:hover img {
    filter: contrast(100%) grayscale(0%) invert(0%);
}

nav img {
    max-height: 60px;
    object-fit: cover;
    transition: 0.2s;
}

nav span {
    margin-left: 10px;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: 0.05em;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: auto;
    gap: 20px;
    box-sizing: border-box;
    padding-right: 30px;
}


#add_post_btn {
    text-decoration: none;
    position: absolute;
    left: 50%;
    transform: translateX(calc(-50%));
    width: 40px;
    height: 40px;
    border: 2px solid #84B8DB;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    background-color: #505050;
    transition: 0.2s;
}

#add_post_btn:hover {
    border: 2px solid #84B8DB;
    background-color: #84B8DB;
}

nav ul li {
    list-style: none;
    margin: 0px;
    padding: 0px;
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
}

nav ul li a,
nav ul li a:visited,
nav ul li a:focus {
    text-decoration: none;
    color: #505050;
    font-weight: bold;
    font-size: 25px;
    text-transform: uppercase;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    letter-spacing: 0.05rem;
    transition: 0.2s;
}

a.red {
    color: rgb(150, 31, 31) !important;
    transition: 0.2ms;
    position: relative;
}

a.red:after {
    content: "";
    width: 0%;
    height: 3px;
    background-color: rgb(150, 31, 31);
    display: block;
    position: absolute;
    transition: 0.3s;
}

a.red:hover:after {
    width: 70%;
}

nav ul li a:hover {
    color: #84B8DB;
}

nav ul li:after {
    content: " ";
    display: inline-block;
    position: relative;
    height: 100%;
    width: 3px;
    background-color: #000;
    left: 10px;
    transform: translateX(-3px);
}

nav ul li:last-of-type:after {
    display: none;
}

/* HomePage Tricks */

.accroche-container {
    height: calc(100vh - 60px);
    position: relative;
}

.bg-site {
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.logo-site {
    filter: contrast(100%) grayscale(100%) invert(100%);
}

.claim {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #00000090;
    color: white;
    font-size: 3rem;
    font-family: sans-serif;
    letter-spacing: 0.02em;
    padding: 40px;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    text-align: center;
}


.bouncing-container {
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-down {
    animation: bounce 2s infinite;
    height: 50px;
    filter: contrast(100%) grayscale(100%);
    transition: 0.2s;
}

.icon-down.up {
    animation: bounce-rotate 2s infinite;
    height: 50px;
    filter: contrast(100%) grayscale(100%);
    transition: 0.2s;
}

.bouncing-container.up {
    position: absolute;
    top: 98%;
    left: 95%;
    z-index: 5;
}

#icon-bouncing-up {
    display: none;
}

#icon-bouncing-up.displayed {
    display: block !important;
    position: relative;
    z-index: 5;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce-rotate {

    0%,
    100% {
        transform: translateY(0) rotate(180deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.icon-down:hover {
    animation-play-state: paused;
    cursor: pointer;
    opacity: 0.85;
}


/* form */

.form-container {
    position: absolute;
    object-fit: cover;
    height: calc(100vh - 60px);
    width: 100%;
    background-color: #00000081;
}

.bg-site-form {
    position: absolute;
    object-fit: cover;
    height: calc(100vh - 60px);
    width: 100%;
    opacity: 0.8;
}

form {
    display: flex;
    height: auto;
    flex-direction: column;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: rgba(13, 13, 13, 0.704);
    transform: translate(-50%, -50%);
    justify-content: center;
    align-items: center;
    padding: 80px;
    gap: 10px;
    min-width: 300px;
    min-height: 300px;
}

form h1 {
    color: #84B8DB;
    transform: translateY(-20px);
}

form input,
form button {
    height: 30px;
    width: 150px;
    background-color: white;
    border: 1px solid black;
    border-radius: 3px;
    color: black;
    padding: 5px;
    width: 250px;
    font-weight: bold;

}

form button {
    text-align: center;
    margin-top: 20px;
    width: 125px;
    transition: 0.2s;
    cursor: pointer;
    height: 40px;
    background-color: #84B8DB;
    text-transform: uppercase;
    font-weight: 800;
    color: rgb(28, 28, 28);
}

form button:hover {
    background-color: rgb(28, 28, 28);
    color: #84B8DB;
}

form label {
    align-self: flex-start;
    padding-left: 20px;
    font-weight: bold;
    letter-spacing: 0.03rem;
}

form div {
    display: flex;
    flex-direction: column;
}

.form-agree {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    vertical-align: middle;
    height: 15px;
    margin-top: 20px;

}

.form-agree input {
    width: 15px;
    height: 15px;
}


/* HOMEPAGE POST LIST */

#tricks-container {
    position: relative;
}

.card {
    display: flex;
    box-sizing: border-box;
    flex-basis: calc(20% - 20px);
    flex-direction: column;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    height: calc(25vh - 20px);
    max-height: 400px;
}

.card:hover img {
    filter: grayscale(0)
}

.card-header {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    height: 30px;
    position: absolute;
    width: 100%;
    bottom: 0px;
    background-color: rgb(28, 28, 28);
    align-items: center;
    color: white;

}

.card-title {
    text-transform: capitalize;
    letter-spacing: 0.03em;
    font-weight: bold;
    width: 100%;
    display: block;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
    align-content: flex-start;
    margin-top: 20px;
    padding-bottom: 20px !important;
    height: 100%;
    padding-left: 20px;

}

.card-media iframe {
    display: none;
}

.card-media img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    height: 250px;
    filter: grayscale(1);
    transition: 0.2s;
    height: 100%;
}

.card-media {
    height: 100%;
}

#tricks-container {
    min-height: calc(100vh - 80px);
    height: auto;
}

#loadMore {
    color: white;
    font-weight: bold;
    letter-spacing: 0.03rem;
    text-transform: uppercase;
    transition: 0.2s;
    background-color: #212020;
    padding: 20px;
    width: 150px;
    position: relative;
    display: flex;
    justify-self: center;
    align-items: center;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 120px !important;
    margin-top: 40px;
    transition: 0.2s;
}

#loadMore:hover {
    opacity: 0.85;
    cursor: pointer;
}

html {
    position: relative;
    height: auto;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0px;
    height: 60px;
    background-color: black;
    color: white;
    width: 100vw;
}

footer p {
    padding: 0px;
}

.icon-crud {
    height: 23px;
    padding: 5px;
}

.card-actions {
    display: flex;
    flex-wrap: nowrap;
}

.card-actions .delete-btn {
    height: 23px;
    width: 23px;
    margin-left: 10px;
}

.card-actions .delete-btn .icon-crud {
    height: 23px;
    padding: 0px !important;
}

.card-actions .delete-btn:hover {
    height: 23px !important;
    margin-left: 10px !important;


}

.card-actions a {
    margin-left: 10px;
    height: 30px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.card-actions a img {
    transition: 0.02s;
}

.card-actions a:hover img {
    transform: scale(1.1);
}

.card-actions .edit-link img {
    height: 23px;
}


/* SINGLE SHOW POST */

.post-container {
    display: flex;
    flex-direction: column;
    width: 70vw;
    margin: auto;
    margin-bottom: 40px;
}

.post-info {
    margin-bottom: 150px;
}

.post-container .img-banner {
    display: flex;
    height: calc(50vh - 80px);
    object-fit: cover;
    filter: grayscale(1);
    width: 100%;
    object-position: center;
}

.post-container {
    position: relative;
}

.post-actions {
    position: absolute;
    border: 1px solid rgb(27, 27, 27);
    background-color: rgb(27, 27, 27);
    display: flex;
    gap: 5px;
    height: 33px;
    right: 0;
}

.post-actions .edit-link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 33px
}

.post-actions .delete-btn {
    height: 33px;
    padding: 0px;
}

.post-actions .delete-btn:hover {
    transform: scale(1) !important;
    padding: 0px;
}

.post-actions .delete-btn .icon-crud:hover {
    transform: scale(1.1) !important;
}


.post-actions form {
    all: unset;
}

.form-edit {
    display: block;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 20px;
    width: 125px;
    transition: 0.2s;
    cursor: pointer;
    height: 40px;
    background-color: #84B8DB;
    text-transform: uppercase;
    font-weight: 800;
    color: rgb(28, 28, 28);
    border: 1px solid black;
    border-radius: 3px;
    font-size: 13px;
    transition: 0.2s;
}

#delete-btn-import {
    position: fixed;
    top: 50%;
}

.delete-btn,
.delete-btn:hover {
    all: unset;
    transition: 0.2s;
    background-color: rgb(28, 28, 28);
    height: 100%;
    padding: 3px;
    margin-right: 5px !important;
}

.icon-crud {
    transition: 0.2s;
}

.icon-crud:hover,
.delete-btn:hover {
    transform: scale(1.1) !important;
    cursor: pointer;
}

.delete-btn:hover {
    transform: none !important;
    cursor: pointer;
}

.header-single-post {
    position: relative;
    min-height: 25vh;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;

}

.header-single-post .post-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #00000090;
    color: white;
    font-size: 1.5rem;
    font-family: sans-serif;
    letter-spacing: 0.02em;
    padding: 0px;
    min-width: 20vw;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.post-gallery {
    position: relative;
    display: flex;
    flex-direction: row;
    max-height: 150px;
    background-color: rgb(55, 55, 55);
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;

}

.post-gallery.edit .iframe-box {
    max-width: 100% !important;
    width: 100% !important;
}

.post-gallery img,
.iframe-box {
    position: relative;
    height: auto;
    object-fit: cover;
    max-width: 16.6%;
    width: 16.6% !important;
    border: 0px solid transparent;
    min-width: 16.6%;
}

.post-gallery img:hover {
    cursor: pointer;
}

/* Pour les navigateurs basés sur WebKit (comme Chrome/Safari) */
::-webkit-scrollbar {
    width: 12px;
    /* Largeur de la barre de défilement */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Couleur de fond de la piste de défilement */
}

::-webkit-scrollbar-thumb {
    background-color: #84B8DB;
    /* Couleur de la barre de défilement elle-même */
    border-radius: 0px;
    /* Coins arrondis */
}

.post-content {
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
}

.detail-card img {
    height: 30px;
    width: 30px;
    margin-right: 20px;
}

.post-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px
}

.detail-card {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1f1f1f;
    height: 40px;
    min-width: 25%;
    color: white;
    font-weight: bold;
    letter-spacing: 0.02rem;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;

}


/* EDIT FORM */

.post-container.edit textarea {
    color: rgb(28, 28, 28);
    height: 450px;
    max-height: 250px;
    overflow-y: scroll;
    font-weight: bold;
    font-size: 1.25em;
    letter-spacing: 0.02rem;
    margin-top: 20px;
    border: 2px solid #84B8DB;
    padding: 10px;

}

.edit-form-container {
    margin-bottom: 80px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: center;
}

.input-edit-container {
    margin-right: 40px
}


.textarea-edit-container {
    width: 50%
}

.edit-form {
    all: unset;
}

.post-gallery.edit {
    overflow-x: scroll;
    width: 100%;
}

.post-container.edit .post-gallery .image-container img {
    max-width: 100% !important;
    width: 100% !important;
}

.post-container.edit .post-gallery .image-container>img {
    height: 100%;
}

.post-container.edit .post-gallery .image-container .delete-image img:last-of-type {
    margin-left: 5px
}

.imgs-box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.imgs-box div {
    flex-basis: 25%
}

.delete-form {
    all: unset;
}

.post-gallery.edit {
    position: relative;
}

.post-gallery.edit .image-container {
    display: flex;
    height: auto;
    max-width: 16.6% !important;
    width: 16.6% !important;
    border: 0px solid red;
    position: relative;
    min-width: 16.6%;
}


.post-gallery.edit .image-actions {
    position: absolute;
    background: black;
    bottom: 0px;
    left: 0px;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.delete-image {
    display: flex;
    justify-content: center;
}

.delete-image.banner {
    position: absolute;
    right: 0px;
    background-color: #000;
}

.edit-link.banner {
    position: absolute;
    right: 35px;
    background-color: #000;
    max-height: 33px
}

.edit-link.banner img {
    height: 23px;
    padding: 5px;
}

.post-gallery.edit .image-actions img {
    width: 25px;
    height: 23px;
}

.delete-post {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

#groupe-select {
    width: 125px;
    border: 1px solid #84B8DB;
    height: 42px;
    color: Black;
    font-weight: 800 !important;
    text-transform: uppercase;
    background-color: #84B8DB;
    border: 1px solid #000;
    border-radius: 5px;
    margin-top: 20px;
    transition: 0.2s;
}

#groupe-select:hover {
    opacity: 0.8;
    cursor: pointer;
}

#post_groupe {
    width: 113px;
    border: 1px solid #84B8DB;
    height: 30px;
    color: Black;
    font-weight: 800 !important;
    text-transform: uppercase;
    background-color: #84B8DB;
    border: 1px solid #000;
    border-radius: 5px;
    margin-top: 5px
}


.delete-post button {
    margin: 0
}

.image-container.selected:before,
.video-container.selected:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.409);
}


.video-actions,
.image-actions {
    position: absolute;
    background: black;
    bottom: 0px;
    left: 0px;
    width: 100%;
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    height: 25px;
}

.video-actions a,
.image-actions a {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;

}

.delete-video {
    position: absolute;
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 10px
}

.post-gallery.edit .video-container {
    display: flex;
    height: auto;
    max-width: 16.6% !important;
    min-width: 16.6% !important;
    width: 16.6% !important;
    border: 0px solid red;
    position: relative;
}

.post-gallery.edit .video-container iframe {
    all: unset;
    display: block;
    flex-basis: 100%;
}

.post-gallery.edit .video-actions img {
    width: 23px !important;
    height: 23px !important;
    min-width: 23px !important;
}

.post-gallery.edit .video-actions img:last-of-type {
    margin-left: 5px;
}

.modal img,
.modal iframe {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50vw;
    height: 50vh;
    z-index: 5;
}

.iframe-box {
    display: flex;
    height: auto;
    position: relative;
}

.iframe-box iframe {
    all: unset
}

.iframe-box:before {
    content: "";
    width: 100%;
    height: 100%;
    background-color: transparent;
    position: absolute;
}

.iframe-box:before:hover {
    cursor: pointer;
}

.iframe-box iframe {
    width: auto;
    height: auto;
    object-fit: cover;
    width: 100% !important;
}

.modal .img {
    object-fit: cover;
    object-position: center;
}

.modal .iframe-box {
    all: unset
}

.modal .iframe-box iframe {
    all: unset;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50vw !important;
    height: 50vh !important;
    z-index: 5;

}

.modal .iframe-box:before {
    display: none;
}

.modal:after {
    content: "";
    background-color: #000000c2;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0%;
    left: 0%;
}


/* EDIT POST */

.post-container.edit label {
    display: none;
}

.post-container.edit .post-title input {
    background-color: transparent;
    color: white;
    font-size: 2em;
    font-family: sans-serif;
    letter-spacing: 0.02em;
    padding-block-start: 0.67em;
    padding-block-end: 0.67em;
    text-align: center;
    border: 1px solid transparent;
    width: 20vw;
    transition: 0.25s !important;
    border-radius: 0px;
}

.post-container.edit .post-title input:hover {
    cursor: pointer;
    border: 1px solid white;
    transition: 0.25s !important;
}

.post-container.edit .post-title input:active,
.post-container.edit .post-title input:focus-visible {
    border: 1px solid white;
    outline-width: 0;
}

.validate-btn {
    text-align: center;
    margin-top: 20px;
    width: 125px;
    transition: 0.2s;
    cursor: pointer;
    height: 40px;
    background-color: #84B8DB;
    text-transform: uppercase;
    font-weight: 800;
    color: rgb(28, 28, 28);
}

#post_videos,
#post_images {
    background-color: #00000082;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    display: none;
}

.videos li,
.images li {
    background-color: #00000082;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

#post_videos>div,
#post_images>div {
    width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-radius: 20px;
    padding: 30px 30px 30px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.videos li>div,
.images li>div {
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-radius: 20px;
    padding: 30px 30px 30px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.view_black_bg {
    display: flex !important;
}

.btn-visible {
    display: none !important;
}

#post_videos div>div,
#post_images div>div {
    display: flex;
    justify-content: center;
    align-items: center;
}

.videos li {
    display: block;
}

.preview-image {
    max-width: 100px;
    max-height: 100px;
    min-width: 100px;
    min-height: 100px;
    object-fit: cover;
    object-position: center;
}

#post_images input,
.images input {
    display: none !important;
}

#post_images h4 {
    margin: 10px;
}

.browse-image {
    text-align: center;
    margin-top: 0px;
    width: 125px;
    transition: 0.2s;
    cursor: pointer;
    height: 40px;
    background-color: #84B8DB;
    text-transform: uppercase;
    font-weight: 800;
    color: rgb(28, 28, 28);
    border: 1px solid black;
    border-radius: 3px;
    padding: 5px;
    font-size: 12px;
    margin-bottom: 10px;
    justify-content: center;
    align-items: center;
}

.browse-image:hover {
    background-color: rgb(28, 28, 28);
    color: #84B8DB;
}

.edit-link.banner>div {
    display: none;
}


.images,
.videos {
    position: absolute;
    left: -100vw;
}

#add_new_profile_img {
    display: none;
}

#profile-img {
    transition: 0.2s;
}

#profile-img:hover {
    cursor: pointer;
    opacity: 0.8;
}

.logged-user-container {
    display: flex;
    font-size: 18px !important;
    justify-content: center;
    align-items: center;
    transform: translateY(20px);
    position: relative;
    flex-direction: row;

}

.logged-user-container>span {
    display: flex;
    font-size: 18px !important;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: row;
}

.logged-user-container img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

#role-admin {
    color: #84B8DB !important;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    margin-left: 10px;
    background-color: black;
    font-weight: bold;
    padding: 5px;
}

#post-content-span {
    display: none !important;
}

#post-content-markdown {
    display: block;
    overflow: hidden;
    position: relative;
    max-height: 140px;
    transition: 0.6s;
    margin-bottom: 20px;
    background-color: #ececec;
    padding-left: 20px;
    padding-right: 20px;

}

.show-all {
    max-height: 2000px !important;
}

@keyframes bounce-read-more {

    0%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    50% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@keyframes bounce-read-rotate {

    0%,
    100% {
        transform: translateY(0) rotate(180deg) translateX(50%);
    }

    50% {
        transform: translateY(-10px) rotate(180deg) translateX(50%);
    }
}

#read-more {
    position: relative;
    display: block;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid black;
    bottom: 0%;
    left: 50%;
    animation: bounce-read-more 4s infinite;
    margin-top: 10px;
    transition: 0.2s;
}

#read-more:hover {
    cursor: pointer;
    opacity: 0.8;
    animation-play-state: paused !important;
}

#read-more.rotate-input {
    animation: bounce-read-rotate 4s infinite !important;
}

#read-more.rotate-input:hover {
    animation-play-state: paused !important;
}

.new-comment-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #212020;
    padding-top: 30px;
    padding-bottom: 30px;
    width: 70vw;
    margin: auto;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    margin-bottom: 10px !important;
}


#comment-container {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    background-color: #212020;
    padding-top: 30px;
    padding-bottom: 30px;
    width: 70vw;
    margin: auto;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    color: white;
    position: relative;
    padding-bottom: 60px;
}

#show-more-comments {
    all: unset;
    text-align: center;
    width: 80px;
    transition: 0.2s;
    cursor: pointer;
    height: 30px;
    background-color: #84B8DB;
    text-transform: uppercase;
    font-weight: 800;
    color: rgb(28, 28, 28);
    outline: none;
    font-size: 12px;
    margin-left: 20px;
    border-radius: 3rem;
    background-color: #84B8DB;
    position: absolute;
    bottom: 20px;
    border: 1px solid #84B8DB
}

#show-more-comments:hover {
    background-color: rgb(28, 28, 28);
    ;
    color: #84B8DB;
    border: 1px solid #84B8DB
}

.comment-card {
    width: 50%;
    margin: auto;
}

.comment-author-img {
    width: 30px;
    height: 30px;
}

.new-comment-box textarea {
    width: 20%;
    height: 20px;
    border: 2px solid #84B8DB;
    padding: 8px;
    font-weight: bold;
    letter-spacing: 0.02rem;
    border-radius: 3rem;
    padding-top: 10px;
    padding-left: 20px;
    background-color: rgb(30, 30, 30);
    color: white
}

.new-comment-box textarea::placeholder {
    color: rgb(199, 199, 199)
}

.new-comment-box textarea:focus,
.new-comment-box textarea:active,
.new-comment-box textarea:focus-visible {
    border: 2px solid #84B8DB;
    outline: none;
}

.new-comment-box button {
    all: unset;
    text-align: center;
    width: 125px;
    transition: 0.2s;
    cursor: pointer;
    height: 42px;
    background-color: #84B8DB;
    text-transform: uppercase;
    font-weight: 800;
    color: rgb(28, 28, 28);
    outline: none;
    font-size: 12px;
    margin-left: 20px;
    border-radius: 3rem;
    border: 1px solid #84B8DB;

}

.new-comment-box button:hover {
    background-color: rgb(27, 27, 27);
    color: #84B8DB;
    border: 1px solid #84B8DB;
}

#title-post-link {
    color: white;
    text-decoration: none;
    display: flex;
    flex-basis: 65%;
}

.comment-card {
    border: 1px solid #84B8DB;
    margin-bottom: 10px;
    padding: 10px;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    border-radius: 5px;
}

.comment-card>p {
    margin-left: 40px;
    margin-right: 10px;
    margin-bottom: 30px;
    word-wrap: break-word;
    display: block;
    overflow-Y: auto;
    overflow-x: hidden;
    min-height: 20px;
    max-height: 80px;


}

.delete-comment-btn {
    all: unset;
    text-align: center;
    width: 70px;
    transition: 0.2s;
    cursor: pointer;
    height: 23px;
    background-color: #84B8DB;
    text-transform: uppercase;
    font-weight: 800;
    color: rgb(28, 28, 28);
    outline: none;
    font-size: 11px;
    border-radius: 3rem;
    position: absolute;
    bottom: 5px;
    right: 5px;
    border: 1px solid transparent;

}

.delete-comment-btn:hover {
    background-color: rgb(28, 28, 28);
    color: #84B8DB;
    border: 1px solid #84B8DB
}

.comment-author {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
}

.comment-date {
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 12px;
    color: #84B8DB;
    font-weight: bold;
}

.comment-name {
    color: #84B8DB;
    font-weight: bold;
}

.btnViewGallery {
    display: none;
}


.forgot-form button {
    margin-top: 5px;
}

.forgot-form a {
    margin-top: 10px;
    color: white;
}
.forgot-form div label {
    padding-left: 0px !important ;
}

.forgot-form h2 {
    color: #84B8DB;
}

.forgot-form div {
    position: relative;
    margin-top: 20px;
}

.forgot-form ul {
    position: absolute;
    top: -40px;
    padding: 0;
    margin: 0;
}
.forgot-form li {
    font-weight: bold;
    list-style: none;
}

/* Responsive */
@media screen and (max-width: 1500px) {
    .card-title {
        padding-left: 10px;
        font-size: 12px
    }
}

@media screen and (max-width: 1250px) {
    body {
        min-width: 100vw;
    }

    #post-content-markdown {
        font-size: 80%
    }

    .card-container .card {
        flex-basis: calc(25% - 20px);
    }

    .post-container {
        width: 100vw;
    }

    .post-gallery.edit .image-container,
    .post-gallery.edit .video-container {
        max-width: 25% !important;
        width: 25% !important;
        min-width: 25% !important;
    }

    .post-gallery.edit .image-container>img,
    .post-gallery img,
    .iframe-box {
        height: auto;
        width: 25% !important;
        min-width: 25% !important;
        object-fit: cover;
        max-width: 25% !important;

    }

    .new-comment-box {
        margin: 0px;
        width: 100vw;
        flex-direction: column;
        gap: 10px
    }

    #comment-container {
        margin: 0px;
        width: 100vw;
        flex-direction: column-reverse;
        gap: 10px;
        margin-bottom: 20px !important;
    }

}

@media screen and (max-width: 1149px) {
    .card-container .card {
        flex-basis: calc(33% - 20px);
    }

    nav ul li a,
    nav ul li a:visited,
    nav ul li a:focus {
        font-size: 14px;
    }

    #post-content-markdown {
        font-size: 60%
    }

}


@media screen and (max-width: 768px) {

    .not-register {
        display: block;
        text-decoration: none;
        color: white;
        transition: 0.2s;
        border-bottom: 1px solid white;
    }
    .post-gallery.edit {
        max-height: 150px;
    }
    .post-gallery.edit .image-container, .post-gallery.edit .video-container {
        max-width: 33.3% !important;
        width: 33.3% !important;
        min-width: 33.3% !important;
    }

    .post-content {
        padding-top: 0px;
    }

    .btnViewGallery {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 125px;
        transition: 0.2s;
        cursor: pointer;
        height: 42px;
        background-color: #84B8DB;
        text-transform: uppercase;
        font-weight: 800;
        color: rgb(28, 28, 28);
        outline: none;
        font-size: 12px;
        border-radius: 3rem;
        border: 1px solid #84B8DB;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 10px;
        margin-bottom: 10px
    }

    .post-details {
        flex-wrap: wrap;
    }

    .card-container .card {
        flex-basis: calc(50% - 20px);
    }

    #mobile_nav {
        display: flex !important;
        width: 100%;
        position: absolute;
        background-color: #84B8DB;
        position: fixed;
        bottom: 0;
        height: 60px;
        justify-content: space-around;
        gap: 10px;
        align-items: center;
    }

    #mobile_nav img {
        max-height: 33px;
    }

    #mobile_nav div:last-of-type a img {
        padding-top: 2.5px;
    }

    nav {
        display: none;
    }

    nav ul {
        display: none !important;
    }

    .claim {
        font-size: 30px;
    }

    .bouncing-container.up {
        left: 85%;
        top: 99.5%
    }

    footer {
        position: relative;
        background-color: black;
    }

    #loadMore {
        margin-bottom: 40px !important
    }

    .mobile_nav_item_box {
        max-height: 33px;
        height: 33px;
        width: 33px;
        display: block;
        box-sizing: border-box;
        position: relative;
    }

    #add_post_btn {
        height: 33px
    }

    .form-container {
        position: relative;
    }

    form {
        padding: 20px;
        min-width: 250px;
        font-size: 14px;
    }

    form h1 {
        font-size: 18px;
    }

    form label {
        padding-left: 0px;
    }

    form button {
        margin-top: 0px;
    }

    .post-container.edit {
        width: 100vw;
    }

    .edit-form-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .input-edit-container {
        flex-direction: row;
        flex-wrap: wrap;
        display: flex;
        justify-content: space-evenly !important;
        margin: 0px;
        margin-top: 20px;
        width: 100%;
        gap: 0px;
    }
    .input-edit-container button {
        flex-basis: calc(50% - 5px) !important;
    }
    .input-edit-container button {
        margin-bottom: 5px !important;
    }
    .input-edit-container .form-select-box, .input-edit-container .form-groupe-box  {
        display: flex;
        flex-basis: calc(50% - 5px) !important;
        width: 100% !important;
        max-width: calc(50% - 5px) !important;
    }

    #groupe-select {
        margin-top: 0px;
        width: auto;
    }

    #post_groupe {
        margin-top: 0px;
        width: auto;
    }

    .textarea-edit-container {
        width: 90%;
    }

    .post-container.edit .post-title input,
    .header-single-post .post-title {
        width: 80vw;
        font-size: 18px;
    }

    .header-single-post .post-title h1 {
        font-size: 18px;
    }

    .post-container .img-banner {
        height: 30vh
    }

    .post-gallery {
        display: none;
    }
    
    .post-gallery.edit {
        display: flex;
    }
    .post-gallery .image-container,
    .post-gallery .video-container {
        max-width: 33.3% !important;
        width: 33.3% !important;
        min-width: 33.3% !important;
    }

    .post-gallery .image-container>img {
        height: 100%;
        width: 33.3%;
        min-width: 33.3% !important;
        object-fit: cover;
    }

    .post-gallery  img,
    .iframe-box {
        max-width: 33.3% !important;
        width: 33.3% !important;
        min-width: 33.3% !important;
    }
    .post-gallery .image-container > img,
    .iframe-box {
        min-height: 100px;
    }

    .post-gallery {
        overflow-x: scroll;
        width: 100vw;
    }

    .modal img,
    .modal .iframe-box iframe {
        width: 90vw !important;
    }

    #delete-btn-import {
        position: absolute;
        height: 40px;
        top: 80%;
        left: 50%;
        transform: translateX(-50%);
    }

    #post-content-markdown {
        font-size: 60%
    }

    .detail-card {
        font-size: 12px;
        padding: 10px;
        text-align: center;
    }

    #post-content-markdown {
        max-height: 100px;
    }

    .new-comment-box textarea {
        width: 80%;
    }

    .comment-card {
        width: 90%;
    }
}


@media screen and (max-width: 539px) {
    .card-container .card {
        flex-basis: calc(100% - 20px);
    }
}