/* General Styles */
a {
    color: var(--pink);
    text-decoration: none !important;
}

.card-body {
    padding: 0.5rem;
}

.dropdown-menu {
    border-radius: 1em;
}

.carousel-item img {
    height: 600px;
    object-fit: cover;
    position: relative;
}

.carousel-caption {
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.carousel-item img::before {
    content: "@alicele1512";
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 55px;
    font-weight: 700;
    color: black;
    pointer-events: none;
}

h2 {
    text-transform: capitalize;
}

/* Badge */
.badge {
    display: block;
    padding: 1em;
    font-size: 1.25em;
    color: white;
}

.bg-info {
    background-color: var(--purple) !important;
}

.search {
    display: none;
}

/* Media Queries */
@media (max-width: 576px) {
    .flickr-embed .flickr-embed-photo .branding svg {
        fill: none !important;
    }
    .carousel-caption h5 {
        color: var(--theme-bg);
    }
}

@media screen and (max-width: 1024px) {
    body {
        padding: 50px;
    }
    header .lower-header .subtitle {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    body article .summary {
        flex-direction: column;
    }
    body article .summary .summary-item:not(:last-child) {
        padding-bottom: 30px;
    }
    body article .main-article .gallery {
        grid-template-areas: "img1 img1" "img1 img1" "img2 img3" "img4 img5";
    }
}

@media screen and (max-width: 425px) {
    body {
        padding: 25px;
    }
    header .upper-header .date-since {
        display: none;
    }
}

/* Text and Layout */
span {
    color: var(--header);
    border-bottom: none;
}

.title, .date-value {
    color: white;
}

.main-article blockquote::after,
.main-article blockquote::before {
    content: url("https://icons.craftwork.design/static/media/QuotesFill.f65b03951f44e212816420b00909f4df.svg");
    position: absolute;
    opacity: .1;
}

.main-article .gallery .image-item,
infobar {
    text-shadow: 1px 2px 5px #45474a;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    width: 100%;
    height: calc(max(100vh, 400px));
    padding: 100px;
    color: #222;
    font-family: "Plus Jakarta Sans", sans-serif;
}

body article {
    width: 100%;
    max-width: 1000px;
}

/* Infobar */
infobar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
    border-radius: 16px;
    color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
    filter: drop-shadow(1px 1px 10px rgba(0, 0, 0, .125));
}

infobar .upper-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}

infobar .upper-header .mini-title {
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: .4rem;
    text-transform: uppercase;
    opacity: .9;
}

infobar .upper-header .date-since {
    display: flex;
}

infobar .upper-header .date-since svg {
    fill: grey;
    width: 20px;
    margin-left: 10px;
}

header .lower-header {
    padding-top: 50px;
}

header .lower-header .tags-container {
    display: flex;
    align-items: center;
    opacity: .75;
    margin-bottom: 12px;
}

infobar .lower-header .tags-container > span:not(:nth-child(2))::before {
    content: ", ";
}

infobar .lower-header .tags-container svg {
    width: 20px;
    margin-right: 10px;
}

infobar .lower-header .tags-container span {
    font-size: .875rem;
}

infobar .lower-header .title {
    margin: 20px 0;
    font-size: 3rem;
    font-weight: 700;
    opacity: .9;
    text-shadow: 2px 2px 5px #000;
}

header .lower-header .subtitle {
    width: 50%;
    margin-top: 10px;
    opacity: .75;
    line-height: 1.75;
    text-shadow: 1px 1px black;
}

/* Summary */
.summary {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding: 30px 50px;
    border-radius: 16px;
    box-shadow: 0 0 0 1px #f2f2f2;
}

.summary .summary-item {
    width: 100%;
    padding-right: 20px;
}

.item-title {
    color: var(--header);
}

.item-text {
    color: var(--header);
    font-size: large !important;
    margin-top: 12px;
}

/* Main Article */
.main-article {
    width: 100%;
    margin-top: 50px;
    padding-bottom: 50px;
    line-height: 1.75;
}

.main-article h4, h1, h2, h3 {
    color: var(--header);
    margin-bottom: 20px;
    font-size: 1.25em;
}

.main-article p {
    margin-bottom: 20px;
    color: var(--header);
}

.main-article li, ul {
    color: var(--header);
}

/* Blockquote */
.main-article blockquote {
    position: relative;
    margin: 40px 0;
    padding: 40px;
    background-color: var(--video-bg);
    border-radius: 16px;
}

.main-article blockquote::before {
    top: -10px;
    left: -7px;
    transform: scale(2);
}

.main-article blockquote::after {
    bottom: -10px;
    right: 0px;
    transform: scale(2) rotate(180deg);
}

/* Gallery */
.main-article .gallery {
    display: grid;
    gap: 20px;
    grid-template-areas: "img1 img1 img2 img3" "img1 img1 img4 img5";
    min-height: 400px;
    margin-top: 40px;
}

.main-article .gallery .image-item {
    min-height: 200px;
    background-color: var(--video-bg);
    border-radius: 8px;
    transition: 250ms;
}

.main-article .gallery .image-item:hover {
    opacity: .9;
    cursor: pointer;
}

.main-article .gallery .image-1 {
    grid-area: img1;
}

.main-article .gallery .image-2 {
    grid-area: img2;
}

.main-article .gallery .image-3 {
    grid-area: img3;
}

.main-article .gallery .image-4 {
    grid-area: img4;
}

.main-article .gallery .image-5 {
    grid-area: img5;
}

.main-article .gallery .gallery-mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    padding: 40px;
    background-color: #22222288;
    transition: .5s;
}

.main-article .gallery .gallery-mask img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: .5s;
}

.main-article .gallery .mask-off {
    visibility: hidden;
    background-color: #22222200;
}

.main-article .gallery .mask-off img {
    visibility: hidden;
    opacity: 0;
}

/* Video */
.video {
    height: 275px;
}

iframe {
    width: 100%;
    min-height: 295px;
    border-radius: 16px;
}

img {
    height: 100%;
}

/* Chat */
.chat-vid__wrapper {
    padding: 1rem 0;
}

/* Additional Styles */
.tags-container svg,
.date-since svg {
    filter: drop-shadow(2px 1px 2px #b7b7b7);
}

.date-since svg path {
    fill: white;
}

.container {
    color: transparent !important;
}

.mb-3 a {
    text-decoration: none;
}