@import url('https://fonts.bunny.net/css2?family=Varela+Round&display=swap');

@import url('https://fonts.bunny.net/css2?family=Zilla+Slab&display=swap');

@import url('https://rsms.me/inter/inter.css');
html { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
  html { font-family: 'Inter var', sans-serif; }
}

:root {
    --title: rgb(31,41,55);
}

.contenu-accueil{
    max-width: 1070px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto;
}

@media screen and (min-width: 781px)
{
    .img-pub {
        display: flex;
        border-radius: 4px 0px 0px 4px;
    }
    .img-pub img {
        border-radius: 4px 0px 0px 4px;
        max-height: 220px;
    }
    .onepublication {
        width: 700px;
        height: intrinsic;
    }
    .latest-posts {
        width: 330px;
    }
}

@media screen and (min-width: 651px) and (max-width: 780px)
{
    .onepublication {
        flex-direction: column;
        width: 600px;
    }
    .img-pub {
        width: 100%;
        border-radius: 4px 4px 0px 0px;
        display: flex;
    }
    .img-pub img {
        width: 100%;
        border-radius: 4px 4px 0px 0px;
        height: intrinsic;
    }
    .latest-posts {
        width: 330px;
    }
}

@media screen and (max-width: 650px)
{
    .onepublication {
        flex-direction: column;
        width: 350px;
    }
    .img-pub {
        width: 100%;
        border-radius: 4px 4px 0px 0px;
        display: flex;
    }
    .img-pub img {
        width: 100%;
        border-radius: 4px 4px 0px 0px;
        height: intrinsic;
    }
    .latest-posts {
        width: 100%;
    }
    
}

.contenu-onglets {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    margin-bottom: 1rem;
}

.contenu-onglets ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.small-h2 {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 400;
}

.one_onglet {
    display: flex;
    margin-top: 1.5rem;
    box-sizing: border-box;
}

.list-onglet {
    margin-bottom: -1px;
    margin-right: 0.25rem;
    box-sizing: border-box;
}

.button-onglet {
    text-decoration: none;
    color: var(--ecriture);
    display: inline-block;
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    font-weight: 600;
}
.button-onglet:hover {
    color: #34d399;
}
.button-onglet-active {
    background-color: var(--header);
    color: #059669;
    border-width: 1px;
    border-bottom-width: 0px;
    border-style: solid;
    border-color: #e2e8f0;

}
.contenu-onglet {
    background-color: var(--header);
    padding: 1rem;
    border-right-width: 1px;
	border-bottom-width: 1px;
    border-left-width: 1px;
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    border-width: 1px;
    border-style: solid;
    border-color: #e2e8f0;
}
.title {
    padding-left: 10px;
}

.title h2 {
    font-family: Inter;
    font-size: 24px;
    font-weight: 600;
}

#add-pub {
    display: flex;
    justify-content: flex-end;
    padding-right: 10px;
    margin-bottom: 20px;
}

#add-pub a {
    color: var(--ecriture);
}

#add-pub a:hover {
    color: #2ecc71;
    transition: 0.25s;
    text-decoration: underline;
}

.publications a {
    text-decoration: none;
}

.onepublication {
    margin: 10px;
    background-color: var(--header);
    border-radius: 6px;
    display: flex;
    transition: 0.25s;
    margin-bottom: 20px;
    transition: 0.2s;
    z-index: 15;
}

.onepublication:hover {
    transform: scale(1.02);
    --tw-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.img-pub {
    background-color: #C4C4C4;
}

.content-pub {
    padding: 6px;
    color: var(--ecriture);
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.title-pub {
    font-family: 'Varela Round', sans-serif;
    padding: 3px 3px;
    font-size: 22px;
    font-weight: 700;
    color: var(--title);
}

.start-pub {
    margin: 3px 3px;
    padding: 3px 3px;
    font-family: 'soleil', 'Zilla Slab', serif;
    font-size: 18px;
}

.start-pub p {
    margin: 0;
}

.date-publication {
    margin: 3px 3px;
    padding: 3px 3px;
    margin-right: 10px;
    text-align: end;
}

.latest-posts {
    margin-top: 12px;
    margin-left: 10px;
    margin-right: 10px;
    /*box-shadow: 5px 6px 6px 1px #00000050;*/
    height: fit-content;
    height: max-content;
    background-color: var(--header);
}

.chat {
    max-height: 1140px;
    overflow-y: scroll;
    background-color: var(--header);
    border-radius: 10px;
    --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);  
}

.latest-posts {
    border-radius: 10px;
}

.latest-posts h3 {
    margin: 0;
    text-align: center;
    padding: 10px;
    /*font-size: 18px;*/
    background-color: #009879;
	color: #fff;
	font-weight: 700;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.raccourcis {
    padding: 16px;
    text-align: center;
    font-size: 22px;
}

#greenhr {
    height: 2px;
    background-color: #2ecc71;
}

.onepost {
    margin-top: 10px; margin-bottom: 10px;
    margin-left: 20px; margin-right: 20px;
}

.infocom {
    font-family: 'Varela Round', sans-serif;
    font-size: 16px;
    color: darkgray;
}
.com {
    font-family: 'Zilla Slab', serif;
    font-size: 18px;
    text-align: justify;
}

.fixed {
    position: fixed;
    top: 0;
}


.content-otherlinks {
    padding-top: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.menu {
    display: flex;
    justify-content: space-around;
    width: 86%;

}

#voyage {
    font-size: 22px;
    font-weight: bold;
    text-decoration: underline;
    color: #00abff;
    text-align: center;
    /*background-color: linear-gradient(241deg, #FF6600, #0D45E4, #22E099, #FF5D36);
    animation: rainbow 6s ease infinite;*/
}

#voyage { animation: blinker 2s linear infinite; } 

@keyframes blinker { 50% { color: #00293d; } } 
@keyframes rainbow {
    0%{
        background-position: 0% 50%;
    }
    50%{
        background-position: 100% 50%;
    }
    100%{
        background-position: 0% 50%;
    }

}

.inscrits_text {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

.brm ul li {
    text-align: left;
    padding: 2px;
}
