/* Google font stuff*/
.grand-hotel-regular {
    font-family: "Grand Hotel", cursive;
    font-weight: 400;
    font-style: normal;
}

.glass-antiqua-regular {
    font-family: "Glass Antiqua", cursive;
    font-weight: 400;
    font-style: normal;
}

body {
    background-color: #d7f2ff;
    font-family: "Glass Antiqua", cursive;
    color: #1f1f1f;
    margin: 0;
}

#container {
    width: 90%;
    max-width: 1100px;
    min-width: 320px;
    margin: 0px auto;
    background-color: #EDF9FF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    padding: 0px 30px 40px;
}

/* banner */

#banner {
    position: relative;
    overflow: visible;
    text-align: center;
    padding: 30px 20px 20px;
}

#banner h1 {
    font-family: "Grand Hotel", cursive;
    font-size: 85px;
    font-weight: 400;
    margin: 0;
    line-height: 1;
    margin-top: 50px;
}

#banner h2 {
    font-family: "Grand Hotel", cursive;
    font-size: 40px;
    font-weight: 400;
    margin: 0;
    line-height: 2.2em;
}

.leaf {
    position: absolute;
    height: auto;
}

.leaf-left {
    transform-origin: top center;
    animation: swayLeft 3s ease-in-out infinite alternate;
}

.leaf-right {
    transform-origin: top center;
    animation: swayRight 3.5s ease-in-out infinite alternate;
}

.leaf:hover {
    animation: rustle 0.5s ease-in-out;
}

@keyframes rustle {
    0%   { transform: rotate(0deg) scale(1); }
    25%  { transform: rotate(-3deg) scale(1.02); }
    50%  { transform: rotate(2deg) scale(1.01); }
    75%  { transform: rotate(-2deg) scale(1.02); }
    100% { transform: rotate(0deg) scale(1); }
}

@keyframes swayLeft {
    from { transform: rotate(-3deg); }
    to   { transform: rotate(3deg); }
}

@keyframes swayRight {
    from { transform: rotate(2deg); }
    to   { transform: rotate(-2deg); }
}

.leaf1 {
    top: -40px;
    left: -70px;
    width: 180px;
}

.vine1 {
    top: -30px;
    left: 150px;
    width: 140px;
}

.leaf2 {
    top: -40px;
    right: -80px;
    width: 160px;
}

.vine2 {
    top: -40px;
    right: 100px;
    width: 140px;
}

/*main layout stuff */

main {
    justify-content: center;
    margin-top: 5px;
}

article {
    max-width: 720px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 18px;
    padding: 32px 38px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.12);

    margin-bottom: 15px;
}

figure {
    text-align: center;
    margin: 30px auto;
}

figure img {
    display: block;
    margin: 0 auto;
    height: auto;
    border-radius: 10px;
}

figcaption {
    margin-top: 10px;
    font-size: 16px;
    font-style: italic;
    color: #555;
}

main h3 {
    font-size: 33px;
    font-weight: 400;
    margin: 0 0 22px 0;
    text-align: center;
    line-height: 1.3;
}

main p {
    font-size: 24px;
    line-height: 1.9;
    margin: 0 0 1.3em 0;
    max-width: 70ch;
    text-align: justify;
}

/*link stuff */

main a {
    color: #3e6b45;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

main a:hover {
    color: #64906A;
}

/* footer */

footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

footer p {
    margin: 0 0 8px 0;
}

footer a {
    color: black;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

footer a:hover {
    text-decoration: underline;
    color: #64906A;
}