@font-face {
    font-family: Work_Sans;
    src: url(font/Work_Sans/static/WorkSans-Light.ttf);
}

@font-face {
    font-family: Work_Sans;
    src: url(font/Work_Sans/static/WorkSans-Bold.ttf);
    font-weight: bold;
}

body {
    margin: 0;
    font-family: Work_Sans, Arial;
    font-size: larger;
    line-height: 1.5;
}

#header {
    border-bottom: 1px solid #eae9e9;
    height: 62px;
    position: fixed;
    width: 100%;
    background-color: #ffffff;
    z-index: 2;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.input-search {
    border: none;
    border: 1px solid #eae9e9;
    font-size: medium;
    color: #0054ff;
    border-radius: 14px;
    padding: 7px;
    padding-left: 20px;
}

#login {
    border: 1px solid #eae9e9;
    font-size: medium;
    color: black;
    border-radius: 14px;
    padding: 7px;
    padding-right: 7px;
    padding-left: 7px;
    padding-right: 20px;
    padding-left: 20px;
}

#login:hover {
    background-color: #eae9e9;
}

#login a {
    color: #000000;
    text-decoration: none;
}

#signup {
    border: 2px solid #0040c0;
    font-size: medium;
    background: linear-gradient(135deg, #0054ff, #00d4ff);
    color: #ffffff;
    border-radius: 14px;
    padding: 7px;
    padding-right: 7px;
    padding-left: 7px;
    padding-right: 20px;
    padding-left: 20px;
    font-weight: bold;
    margin-right: 32px;
    transition: transform 0.3s ease-in-out;
}

#signup:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #0040cc, #00aaff);
}

#signup a {
    color: #ffffff;
    text-decoration: none;
}

.output-search {
    list-style: none;
    margin-top: 14px;
    width: 224px;
    margin-left: -36px;
}

.output-search li {
    border: #a0a0a0 1px, solid;
    padding: 22px;
    background-color: #eae9e9;
    margin-bottom: -1px;
}

.sommaire {
    background: #f1f1f1;
    margin: 10px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.sommaire ul {
    list-style-type: none;
    padding-left: 0;
}

.sommaire ul li::before {
    content: ">";
    padding-right: 10px;
}

#content {
    padding-top: 32px;
    display: flex;
}

#home-content {
    padding-top: 32px;
    display: flex;
}

.article {
    flex-basis: 57%;
}

.home-article {
    margin-top: 32px;
    width: 100%;
    max-width: 100%;
}

.site-show {
    flex-basis: 100%;
    gap: 12%;
    height: 640px;
    background-color: #333333;
    color: white;
    display: flex;
    align-items: center;
}

#site-title {
    height: 60px;
    line-height: 64px;
    padding-left: 40px;
    font-weight: bold;
    font-size: medium;
}

.left_sidebar {
    flex-grow: 0.5;
    width: 8%;
    padding-right: 12px;
    position: sticky;
    top: 64;
    height: fit-content;
}

.right_sidebar {
    flex-grow: 0.5;
    width: 8%;
    padding-left: 12px;
    position: sticky;
    top: 64;
    height: fit-content;
}

h1 {
    font-size: clamp(16px, 64px, 10vw);
    margin-top: 64px;
}

h2 {
    font-size: x-large;
    margin-top: 72px;
}

hr {
    color: #eae9e9;
    background-color: #eae9e9;
    border: none;
    height: 2px;
}

.symptomes li {
    font-size: x-large;
    margin-top: 32px;
    margin-bottom: 32px;
}

.related {
    margin: 10px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

/* Reddit */

.avis-commentaires-reddit {
    background: grey;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background: #f1f1f1;
    margin: 10px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    margin-top: 142px;
}

.reddit-outer {
    width: 1046px;
    height: 124px;
    background: #f1f1f1;
    border-radius: 10px;
    color: #3d3d3d;
    border: 2px solid #3d3d3d;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin-top: -2px;
    max-width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.reddit-outer h2 {
    margin-top: 20px;
    margin-bottom: 42px;
}

.reddit-outer:hover {
    transform: scale(1.1);
}
  
.reddit-inner {
    width: 946px;
    height: 64px;
    max-width: 90%;
}

.reddit-title {
    font-size: 20px;
    font-weight: 600;
}

.reddit-info {
    color: #2c2c2c;
}

.reddit-info span + span::before {
    content: " ·";
    margin-right: 5px;
}

#PrivacyBox {
    background-color: rgb(203, 255, 255);
    padding: 30px;
    position: fixed;
    bottom: 0;
    width: 100vw;
    max-width: 700px;
    box-sizing: border-box;
    border-top: #3d3d3d 1px solid;
    border-right: #3d3d3d 1px solid;
}

#PrivacyBox button {
    display: inline-block; /* Ensures proper button sizing */
    padding: 10px 20px; /* Adjust padding for size */
    background-color: rgb(192, 255, 163); /* White background */
    border: 2px solid black; /* Black border */
    border-radius: 5px; /* Rounded corners */
    font-size: 16px; /* Adjust font size */
    font-weight: bold; /* Make text bold */
    color: black; /* Text color */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* 3D shadow effect */
    cursor: pointer; /* Pointer cursor on hover */
    transition: transform 0.1s ease, box-shadow 0.1s ease; /* Smooth hover effects */
}

#PrivacyBox #No {
    color: #3d3d3d;
    border: 2px solid #3d3d3d;
    background-color: rgb(203, 255, 255);
}

#PrivacyBox button:active {
    transform: translateY(2px); /* Pressed effect */
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Slightly reduce shadow */
}

#PrivacyBox button:hover {
    background-color: #bdbdbd; /* Slightly darker on hover */
}

@media (max-width: 768px) { /* Mobile devices */
    #content {
        flex-direction: column;
        margin-right: 8px;
        margin-left: 8px;
    }
    .right_sidebar {
        width: 100%; /* Each column now takes full width on mobile */
        padding: 10px 0;
        position: relative;
    }

    .left_sidebar {
        display: none;
    }

    #login {
        display: none;
    }

    #signup {
        display: none;
    }

    .reddit-title {
        font-size: 3.5vw;
    }
}

footer {
  border-top: 1px solid #e0e0e0;
  margin-right: 8%;
  margin-left: 8%;
  margin-top: 400px;
  margin-bottom: 2%;
}
