@import './constants.css';

/*header img {
    height: 500px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}*/

header {
    height: 500px;
    width: 100%;
    position: relative;
}

.title-picture {
    position: absolute;
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

#first {
    opacity: 1;
}

body {
    background-color: var(--main-bg-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1.page-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
    color: var(--color-red);
}

#content {
    margin-top: 45px;
    font-size: 18px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    flex: 1;
}

.block-paragraph_block {
    max-width: 900px;
    min-width: 100px;
    margin: auto;
}

a {
    color: black;
}

a:hover {
    color: var(--color-red);
}

img.right, img.left {
  width: auto;
  height: auto;
  max-width: 300px;
  max-height: 300px;
}

img.right {
    float: right;
    margin: 10px 0 20px 20px;
}

img.left {
    float: left;
    margin: 10px 20px 20px 0;
}

img.full-width {
    width: 90%;
    height: auto;
    margin: auto;
    position: relative;
    display: block;
}

.columns {
    display: flex;
    justify-content: start;
}

@media (max-width: 600px) {
    img.right, img.left {
        display: block;
        float: none;
        margin: 20px auto;
        max-width: 95%;
    }

    .columns {
        flex-wrap: wrap;
    }

    .columns .column {
        width: 95%;
    }

    .columns .column img {
        max-width: 300px;
    }
}

.block-text {
    clear: both;
}

.gallery-headline {
    text-align: center;
    margin-bottom: 35px;
    padding-top: 10px;
    border-top: grey solid 1px;
}

.quote-container {
    background: #fff;
    border-left: 5px solid var(--color-red);
    padding: 10px;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 10px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
}
.quote-text {
    font-size: 1em;
    color: var(--color-red);
    font-style: italic;
}
.quote-author {
    margin-top: 10px;
    font-size: .8em;
    font-weight: bold;
    color: var(--color-red);
}

.quote-container img {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 8%;
}

.flower-links {
    max-width: 800px;
    aspect-ratio: 1/1;
    margin: auto;
    position: relative;
}

a.flower-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    background-color: var(--color-red);
    width: 30%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    hyphens: auto;
    padding: 15px;
    border: rgb(44, 44, 44) solid 4px;
    transition: width 200ms;
    background-position: center;
    background-size: 100%;
}

a.flower-link:hover {
    width: 32%;
}

.flower-links div.middle {
    width: 20%;
    border-radius: 50%;
    aspect-ratio: 1/1;
    background-color: rgb(44, 44, 44);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.flower-link span.link-title-background {
    background-color: #2f2f2fdb;
    padding: 5px;
    border-radius: 10%;
}

.press-items {
    column-width: 300px;
    column-gap: 20px;
    margin: 10px auto;
}

.press-items .press-item {
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    font-size: .9rem;
    max-width: 400px;
    margin: 0 auto 20px auto;
    break-inside: avoid;
}

.press-item .press-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.press-info a {
    color: black;
}

.press-item .press-article {
    hyphens: auto;
    font-size: 1.1rem;
}

.press-item .press-article .press-location {
    font-style: italic;
}

.press-item .press-author {
    margin-top: 10px;
    font-weight: bold;
}

.before-after {
    display: flex;
}

.before-after .before, .before-after .after {
    text-align: center;
    width: 50%;
}

.before-after .before img, .before-after .after img {
    display: block;
    margin: auto;
    padding-bottom: 10px;
    max-width: 95%;
    height: auto;
}

.before-after-title {
    font-size: 1.3rem;
    color: var(--color-red);
}

@media (max-width: 600px) {
    .before-after {
        flex-wrap: wrap;
    }

    .before-after .before, .before-after .after {
        width: 90%;
    }
}