/* THIS IS JUST FOR CODEPEN */
@import url("https://dismayyy.github.io/dismayyy/base-codes%20/reset.css");
.a-post {
    display: none !important;
}

/* CSS RESET */
body,
html {
    font-size: 62.5%;
}

a {
    color: var(--Dark);
    text-decoration: none;
}

/* BASE HTML */
.material-symbols-sharp {
    font-variation-settings: "FILL" 1, "wght" 700, "GRAD" -25;
}

:root {
    --dark: #1f191c;
    --accentOne: #afbbd3;
    --accentTwo: #e3cedf;
}

body {
    background: linear-gradient(45deg, #afbbd3, #e3cedf);
    background-attachment: fixed;
    font-family: libre franklin, sans-serif;
    color: #1f191c;
    line-height: 1.5em;
}

/*
  || FORUM CONTAINER
*/
.container {
    max-width: 1200px;
    margin: 40px auto;
    border: 1px solid #2d2d2e;
    border-radius: 2px;
    /*min-height: 1200px;*/
    background: rgba(245, 245, 245, 0.6);
    font-size: 1.6rem;
    box-sizing: border-box;
    padding: 40px;
    line-height: 1.25em;
}

/*
  || FORUM HEADER
*/
.a-header {
    border: 1px solid #2d2d2e;
    display: flex;
    text-align: center;
    position: relative;
    flex-wrap: wrap;
}

.a-header h1 {
    font-size: clamp(2.4rem, 10vw, 7.2rem);
    font-weight: 400;
    letter-spacing: -1.5px;
    border-top: 1px solid #2d2d2e;
    padding: 3.2rem;
    padding-top: 3.8rem;
    padding-bottom: 1.2rem;
    margin-bottom: 0.15em;
    line-height: 0.85em;
    position: relative;
}
/*
.a-header h1:before {
    content: "";
    position: absolute;
    top: 54px;
    left: 0;
    width: calc(100% - 10%);
    box-sizing: border-box;
    margin-left: 5%;
    border: 6px solid #afbbd3;
    box-shadow: 0px 0px 2px rgba(45, 45, 46, 0.8);
    padding: 8px;
    border-radius: 50%;
}

.a-header h1:after {
    content: "Gestion du Patrimoine Arboré";
    position: absolute;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    top: 32px;
    padding-top: 6px;
    left: 0;
    background: -webkit-linear-gradient(#1f191c 56%, transparent 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}*/

.a-header h2 {
    font-size: clamp(1.2rem, 2.5vw, 2.3rem);
    font-weight: 400;
    font-family: libre caslon text, serif;
    letter-spacing: 0.25px;
    padding: 3.2rem;
    padding-top: 0;
}

.a-header-left {
    flex: 1 1 75%;
    min-width: 300px;
}

.a-header-icons {
    padding: 1.6rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
}

#weather{
    align-content: center;
}
.pp{
    display: flex;
    flex-wrap: wrap;
    width: 60%;
    gap: 10px;
}
.a-header-icons span {
    width: 100px;
    height: 100px;
    display: inline-block;
    border: 1px solid #2d2d2e;
    padding: 4px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.a-header-icons img {
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition-duration: 0.2s;
}
.a-header-icons img:hover{
    scale: 1.05;
}

.a-header-icons span + span {
    margin-left: 0px;
}

.a-header-image {
    height: 250px;
    background: #2d2d2e;
    background-image: url(https://mrwallpaper.com/images/high/ultrawide-forest-13q5t71bljg4rpw9.jpg);
    background-size: cover;
}

.a-header-right {
    flex: 1 1 25%;
    min-width: 200px;
    border-left: 1px solid #2d2d2e;
    text-align: left;
    box-sizing: border-box;
}

.a-header-right i {
    font-family: libre caslon text, serif;
}

.a-header-right h3 {
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1em;
    text-transform: uppercase;
    letter-spacing: 0.15px;
    border-radius: 2px;
    margin-bottom: 0.5em;
}

.a-header-right article {
    padding: 3.2rem;
    word-wrap: break-word;
    box-sizing: border-box;
}

.a-header-right article + article {
    border-top: 1px solid #2d2d2e;
}

@media (max-width: 883px) {
    .a-header-right {
        border-left: none;
    }
}

.a-header-links {
    font-family: libre caslon text, serif;
    font-size: 1.8rem;
}

.a-header-links ul {
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    word-wrap: break-word;
}

.a-header-links a {
    text-decoration: none;
    word-wrap: break-word;
}

/*
  || UCP
*/
.mcp-0, .acp-0, .m-2, .alert0, .msg0 {
    display: none;
}

.g-2 {
    display: block !important;
}

.a-ucp-container {
    overflow: hidden;
    padding: 6px 8px;
    position: sticky;
    top: 42px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.25);
    background-image: radial-gradient(circle at left, rgba(208, 174, 202, 0.5), transparent), radial-gradient(circle at bottom right, rgba(126, 145, 184, 0.5), transparent);
    border: 1px solid #2d2d2e;
    font-size: 12px;
    backdrop-filter: blur(3px);
    text-transform: uppercase;
    font-weight: 600;
    margin: 12px 0;
}
.a-ucp-container a:hover {
    border-bottom: 1px dashed #2d2d2e;
}

.a-ucp {
    display: flex;
}
.a-ucp a + a {
    margin-left: 8px;
}

.a-ucp-switch {
    margin-right: 24px;
}

.a-ucp-name {
    font-weight: bold;
    margin-right: 12px;
    padding: 0 4px;
}

.a-ucp-links {
    flex: 1 1 auto;
    text-align: right;
    align-items: center;
    justify-content: center;
}

.ucp-logout {
    padding-left: 12px;
}

/*
  || FORUM NAV
*/
.a-nav {
    background: #2d2d2e;
    padding: 8px;
    padding-left: 14px;
    padding-top: 12px;
    font-size: 1.1rem;
    text-align: center;
    position: sticky;
    top: 0;
    font-family: tinos, serif;
    z-index: 999;
}
.a-nav a + a {
    margin-left: 1.2rem;
}

.a-nav a {
    color: #e7eaf1;
    text-decoration: none;
    margin-right: 3px;
    font-weight: 0;
    letter-spacing: 0.75px;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    display: inline-block;
}

.a-nav a:hover {
    border-bottom: 1px dashed #e3cedf;
}

/*
  || MAIN PROFILE
*/
.a-main-container {
    margin-top: 12px;
    border: 1px solid #2d2d2e;
    line-height: 1.5em;
    min-height: 400px;
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.a-main-name h1 {
    font-size: 5.2rem;
    line-height: 1em;
    display: flex;
    align-items: center;
}
.a-main-name h1:before {
    content: "";
    position: relative;
    border-top: 1px solid #2d2d2e;
    flex: 0 1 80px;
    margin-right: 12px;
}
.a-main-name span {
    margin-left: 5%;
    border: 1px solid #2d2d2e;
    padding: 4px;
    text-transform: uppercase;
    font-size: 1.1rem;
    display: block;
    text-align: center;
    font-weight: 600;
    font-family: tinos, serif;
    letter-spacing: 0.25px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.a-main-hover {
    height: 400px;
    width: 250px;
    border: 1px solid #2d2d2e;
    margin-left: 40px;
}
.a-main-hover img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.a-main-name .firstWord {
    all: unset;
    border: 0;
    font-weight: bold;
}

/*
  || POST ROW
*/
.a-post {
    border: 1px solid #2d2d2e;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    grid-template-columns: 250px auto;
    height: auto;
    padding: 8px;
    padding: clamp(8px, 2vw, 40px);
}

.a-mini {
    flex: 1 0 clamp(100px, 30%, 250px);
    align-self: flex-start;
    height: 400px;
    background: rgba(255, 255, 255, 0.8);
    top: 0;
    position: sticky;
    padding: 4px;
    border: 1px solid #2d2d2e;
    border-right: 0;
}

.a-post-container {
    flex: 1 1 auto;
    border: 1px solid #2d2d2e;
    background: rgba(255, 255, 255, 0.7);
}

.a-post-name {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1em;
    padding: 2rem;
    border-bottom: 1px solid #2d2d2e;
    /* display: grid;
     grid-template-columns: minmax(200px,60rem) auto;
     grid-template-rows: auto auto; */
    display: grid;
    grid-template-columns: auto minmax(200px, 1fr);
    grid-template-rows: auto;
}

.a-post-name a {
    display: inline-block;
    flex: 0 1 auto;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    text-align: right;
}

.a-name-deco {
    margin-left: 20px;
    text-align: left;
    font-size: 6.4rem;
    color: var(--accentOne);
    display: flex;
    align-items: flex-end;
}

.a-post-name .firstWord {
    font-weight: 700;
    display: block;
}

.a-post-wrapper {
    padding: 40px;
    border: 1px solid var(--accentOne);
    margin: 20px;
}

/*
  || MINI PROFILE
*/
.mini-hover {
    height: 400px;
    width: 250px;
}
.mini-hover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.a-mini-lyrics {
    font-size: 1.4rem;
    font-family: tinos, serif;
    text-transform: uppercase;
    letter-spacing: 0.15px;
    line-height: 1.4em;
    text-align: left;
    max-width: 42ch;
    max-height: 42px;
    overflow: hidden;
    margin-top: 1rem;
    grid-column: 1/span all;
}

.date-container{
    padding: 4px 8px;
    top: 42px;
    z-index: 9999;
    border-top: 1px solid #2d2d2e;
    border-bottom: 1px solid #2d2d2e;
    font-size: 12px;
    backdrop-filter: blur(3px);
    text-transform: uppercase;
    font-weight: 600;
    margin: 12px 0;
}
.date-sub-container {
    padding: 0px 8px;
    z-index: 9999;
    border-top: 1px solid rgba(45, 45, 46, 0.6);
    border-bottom: 1px solid rgba(45, 45, 46, 0.6);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}
.a-header-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.a-header-links ul li {
    margin: 0;
    position: relative;
}
#weather-loading, #news-loading {
    width: 50px;
    height: 50px;
    margin: auto;
}

.hidden {
    display: none;
}


.navanim {
    display: inline-block;
    padding: 6px 10px;
    text-decoration: none;
    color: #000;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    line-height: 1.1;
    margin-bottom: -5px;
    border: 1px solid transparent;
    box-sizing: border-box;
}

.navanim::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(191, 203, 223, 0.8), rgba(228, 211, 226, 0.8));
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in-out;
    box-sizing: border-box;
}

.navanim:hover {
    border-color: #2d2d2e;
}

.navanim:hover::before {
    transform: scaleX(1);
}

#weather-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-right: 2rem;
    margin-left: 2rem;
    min-width: 40%;
}

#weather-icon {
    flex: 0 0 100px;
    font-size: 3em;
    margin-right: 10px;
}

#weather-info {
    flex: 1;
}

@media (max-width: 600px) {
    #weather-container {
        flex-direction: column;
        align-items: flex-start;
        align-content: center;
    }

    #weather-icon {
        margin-bottom: 10px;
        margin-right: 0;
        width: 100%;
        text-align: center;
        align-content: center;
    }
}


.fa-weather-icon {
    font-size: 1.2em; /* Adjusted size */
    color: #7a7a7a; /* Default color: gray */
    transition: color 0.1s ease-in-out; /* Shorter transition */
}

.fa-weather-icon:hover {
    color: inherit; /* Will be overridden by inline styles */
}
.icon-container {
    display: flex;
    width: 200%;
    overflow: hidden;
    animation: scrollIcons 60s linear infinite;
}

.marquee {
    display: flex;
    width: 50%;
}

.marquee ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.marquee li {
    font-size: 2rem;
    margin: 0 10px;
    color: rgba(45, 45, 46, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes scrollIcons {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


.news-section {
    padding: 20px;
    /*border: 1px solid #2d2d2e;*/
    background: rgba(245, 245, 245, 0);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.news-article {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0);
    padding: 20px;
    border: 1px solid #2d2d2e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-article:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.news-article img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
}

.news-article-category {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.2rem;
    color: rgba(175, 187, 211, 0);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.news-article-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.2rem;
    font-weight: bold;
    color: #2d2d2e;
    text-decoration: none;
    margin-bottom: 10px;
}

.news-article p {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.6rem;
    color: #2d2d2e;
    margin-bottom: auto;
}

.news-article-date {
    display: block;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.2rem;
    color: rgba(175, 187, 211, 0);
    margin-top: 15px;
}

@media (max-width: 800px) {
    .news-section {
        grid-template-columns: 1fr; /* One column for smaller screens */
    }
}
.logo_isen {
    height: 25px;
    margin: 0 auto;
    display: block;
    filter: brightness(0) saturate(100%) invert(9%) sepia(9%) saturate(1115%) hue-rotate(180deg) brightness(96%) contrast(92%);
}
.txt_footer{
    align-content: center;
    font-size: 1.2rem;
    color: #2d2d2e;
}
.txt_footer:hover{
    border-bottom: none !important;
}
.page-title {
    text-align: center;
    padding: 20px 0;
    font-family: 'Libre Franklin', sans-serif;
    color: #1f191c;
}

.page-title h1 {
    font-size: 6rem;
    font-weight: 400;
    margin: 0;
    padding: 0;
    color: #1f191c;
}
