*{
    font-family: Ubuntu-Regular;
}

#container_window {
    display: flex;
    flex-direction: column; /* Stack the divs vertically */
    align-items: center; /* Center the divs horizontally */
    justify-content: flex-start; /* Center the divs vertically */
    height: 100%; /* Full viewport height */
    margin: 0;
}
/* Style for the top container */
#container_top {
    text-align: center;
    margin-top: 5%;
    margin-bottom: 20px; /* Space between top and bottom containers */
    width: 40%;
}

/* Style for the bottom container */
#container_bottom {
    text-align: left;
    width: 40%;
    border-top: 1px solid black;
    display: none;
}

#container_bottom ul {
    list-style: none;
    padding: 0;
}

#container_bottom #post_list_item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 1vh;
    padding-bottom: 1vh;
}

#post_detail_container_window {
    display: flex;
    flex-direction: column; /* Stack the divs vertically */
    align-items: center; /* Center the divs horizontally */
    justify-content: flex-start; /* Center the divs vertically */
    word-wrap: break-word; /* Break long words to prevent overflow */
    overflow-wrap: break-word;
    height: 100%; /* Full viewport height */
    margin: 0;
}

#post_detail_container_top {
    width: 40%;
    margin-top: 5%;
    padding-bottom: 2vh;
    border-bottom: 1px dashed black;
}

.post_timestamp{
    color: grey;
}

#post_detail_container_bottom {
    width: 40%;
    border-bottom: 1px dashed black;
    margin-bottom: 2vh;
}
#post_detail_content_image {
    max-width: 100%; /* Scale down if the image is too wide */
    max-height: 100%; /* Scale down if the image is too tall */
    object-fit: contain; /* Preserve aspect ratio while fitting inside the container */
  }

#post_detail_container_back {
    width: 40%;
    margin-bottom: 5%;
}

#container_brand_logos {
    font-size: 40px;
    color: black;
}

#container_brand_logos .brand_logo {
    margin: 1vh 1vh 1vh 1vh;
}

#span_name{
    font-size: 150%;
}

a {
    color: #000; /* Change the color to black or any color you prefer */
    text-decoration: none; /* Remove the underline */
    transition: color 0.2s ease;
}

a:hover {
    color: lightblue; /* Change the color to blue */
}

@font-face {
    font-family: Ubuntu-Regular;
    src: url("./../fonts/Ubuntu-Regular.ttf");
}

.ubuntu-regular {
    font-family: "Ubuntu", serif;
    font-weight: 400;
    font-style: normal;
    font-size: larger;
}

@media (max-width: 550px) {
    #container_top,
    #container_bottom,
    #post_detail_container_top,
    #post_detail_container_bottom,
    #post_detail_container_back {
        width: 90%;
    }
    #container_top,
    #post_detail_container_top{
        margin-top: 20%;
    }
    #container_bottom{
        text-align: center;
    }
    #post_list_item{
        flex-direction: column;
    }
}

@media (min-width: 500px) and (max-width: 1000px) {
    #container_top,
    #container_bottom,
    #post_detail_container_top,
    #post_detail_container_bottom,
    #post_detail_container_back {
        width: 70%;
    }
}
