@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Gorditas:wght@400;700&display=swap');

:root {
    --base-color: #a9defc; 
    --text-color: #000000; 
    --primary-color: #388de3; 
    --secondary-color: #c8519C;
    --tertiary-color: #7b417e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: Comfortaa, Verdana;
    color: var(--text-color);
}

body {
    padding-top: 1em;
    background-color: var(--base-color);
}

h1, h2{
    font-family: Gorditas;
    text-align: center;
}
p {
    font-size: 25px;
    font-weight: bold;
}

h2 + p {
    padding-top: 1em;
    padding-bottom: 1em;
}
p + p {
    padding-top: 1em;
    padding-bottom: 1em;
}

nav {
    margin: -3em auto 4em auto;
    min-width: 100%;
    background-color: var(--primary-color);
    padding: 1em 0 1em 0;
}

nav ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    gap: 2em;
}

nav li:first-child {
    margin-right: auto;
    font-family: Comfortaa;
    font-weight: bold;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
}

nav a:hover {
    text-decoration: underline;
    color: white; 
}

header, section {
    margin: 2em auto;
    width: min(75em, 100%);
    background-color: var(--base-color)
    padding: min(2em, 15%);
    border-radius: 1em;
}

.flex-container1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3em;
    padding: 2em;
}

.flex-container2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3em;
    padding-top: 1em;
}

.flex-container3 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3em;
    transform: rotate(180deg);
    padding-bottom: 2em;
}


.flex-container4 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3em;
    padding-top: 2em;
    padding-bottom: 2em;
}

.flex-container5 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3em;
    padding-top: 1em;
    padding-bottom: 5em;
}

.flex-container6{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3em;
    padding-bottom: 5em;
    padding-left: 2em;
    padding-right: 2em;
    flex-direction: row;
}

.flex-container7{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    max-width: 100%;
    border-radius: 1em;
    object-fit: cover;
    object-position: bottom;
    gap: 2em;
}
header img{
    max-width: 100%;
    border-radius: 1em;
    object-fit: cover;
    object-position: bottom;
}

.text-container1{
    flex: 0 1 34em;
    text-align: center;
    padding: 1em;
}

.text-container2{
    flex: 0 1 34em;
    margin: 0.75em 0 1em 0;
    font-size: 1.5rem;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 1em;
    gap: 0.25em;
}

.text-container3{
    flex: 0 1 34em;
    margin: 0.75em 0 1em 0;
    font-size: 1.5rem;
    text-align: center;
    padding-bottom: 1.5em;
}

.text-container4{
    flex: 0 1 34em;
    text-align: right;
}
.cta-button {
    display: inline-block;
    text-decoration: none;
    color: black;
    background-color: var(--primary-color);
    padding: 1.0em 1.50em;
    border-radius: .5em;
    font-weight: 600;
    font-size: 1.5rem;
}
.image-Reveal{
    animation: imageReveal both;
    animation-timeline: view(50% 20%);
}
.picture {
    will-change: transform;
    transition: transform 450ms;
}
.picture: hover{
    transition: transform 125ms;
    transform: translateY(-10px);
}
@keyframes imageReveal {
    from {
        filter: saturate(0) contrast(4) brightness(0.1) blur(5px);
        opacity: 0;
        scale: 0.95;
        translate: 0 4rem;
    }
    to{
        filter: none;
        opacity: 1;
        scale: 1;
        translate: 0 0;
    }
}

.secondary {
    background-color: var(--secondary-color);
}

.mid{
    align-items: center;
}



.bottom-panel{
    padding-top: 5em;
    max-width: 100%;
}

.flower-right{
    align-items: right;
    width: 25;
    height: auto;
}

.timeline {
    margin: 0 auto;
    max-width: 750px;
    padding: 25px;
    display: grid;
    grid-template-columns: 1fr 3px 1fr;
    color: var(--base-color);
}
.timeline_component {
    margin: 0 20px 20px 20px;
}

.timeline_date--right{
    text-align: right;
    color: white;
    font-weight: bold;
}

.timeline_date--left{
    text-align: left;
    color: white;
    font-weight: bold;
}

.timeline_middle{
    position: relative;
    background: #FFDCF2;
}

.timeline_point{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 15px;
    background: var(--secondary-color);
    border-radius: 50%;
}
.timeline_point--bottom {
    top: initial;
    bottom: 0;
}

.timeline_component--bg{
    padding: 1.5em;
    background: rgba(220, 111, 186, 1);
    box-shadow: 0 0 5px rgba(220, 111, 186, 1);
    border-radius: 10px;
}
.timeline_component--bottom{
   margin-bottom: 0;
}

.timeline_title{
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.timeline_paragraph{
    line-height: 1.5;
    color: white;
    font-size: 1.15em;
}
section {
    padding: 3em min(2em, 15%);
    background-color: var(--primary-color);
    text-align: center;
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 3.5rem;
}

section p {
    margin-top: 1em;
    font-size: 1.25rem;
}

