@import 'meyerreset.css';

* {
    box-sizing: border-box;
}

html {
    --black: #333;
    --white: #efefef;
    --color: rgb(60, 130, 246);
    --dark: rgb(31, 41, 55);
    --light: lightblue;
    --gradient: linear-gradient(to right, #ff7e5f, #feb47b);
    --button-gradient: linear-gradient(to right, #f857a6, #ff5858);
    --footer-gradient: linear-gradient(to right, #667eea, #764ba2);
}

picture {
    display: block;
    max-width: 600px;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}


body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background: var(--gradient);
    animation: backgroundAnimation 10s infinite alternate;
}


@keyframes backgroundAnimation {
    0% { background: var(--gradient); }
    50% { background: linear-gradient(to right, #ff6e7f, #bfe9ff); }
    100% { background: var(--gradient); }
}

main {
    flex-grow: 1;
}

.inner-column {
    display: block;
    padding: 10px;
    width: 98%;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 10vh;
    padding-bottom: 10vh;
}

header .inner-column {
    padding: 10px;
}

section {
    margin-bottom: 2rem;
}

header, footer {
    background: var(--footer-gradient);
    color: white;
    padding: 1rem;
    text-align: center;
}


.loud-voice {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
}

.middle-voice {
    font-size: 25px;
    font-weight: 600;
    line-height: 1.1;
}

@media (min-width: 700px) {
    .loud-voice {
        font-size: 40px;
    }
}

.calm-voice {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    line-height: 1.3;
}


.button {
    display: inline-block;
    background: var(--button-gradient);
    color: white;
    font-size: 1.2rem;
    padding: 0.6em 1em;
    border-radius: 6px;
    transition: transform 0.3s;
}

.button:hover {
    transform: scale(1.1);
}


.graphic-diptych {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 30px;
    padding-bottom: 20px;
    animation: fadeIn 2s;
}

.graphic-diptych .text-content {
    display: block;
}

.graphic-diptych .text-content p {
    margin-top: 10px;
}

.graphic-diptych .text-content .button {
    margin-top: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (min-width: 700px) {
    .graphic-diptych, .graphic-diptychh {
        flex-direction: row-reverse;
        gap: 20px;
    }
    .graphic-diptych :is(.text-content, picture) {
        flex-basis: 50%;
    }
}

.graphic-diptychh {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 200px;
    padding-top: 30px;
    padding-bottom: 20px;
    animation: slideIn 1.5s ease-in-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--light);
}

.welcome {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.our-products {
    background: var(--white);
    color: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 2s;
}

.products-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

.products-grid div {
    background: var(--light);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.products-grid div:hover {
    transform: scale(1.05);
}

@media (min-width: 700px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.quote {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.inner-quote {
    animation: fadeIn 2s;
}

.quote__figure {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
}

.quote__figure blockquote {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.4;
    margin: 0;
}

.quote__figure figcaption {
    font-size: 1.2rem;
    text-align: right;
}

.footer-color {
    background: var(--footer-gradient);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
