@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Zalando+Sans+Expanded:ital,wght@0,200..900;1,200..900&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #f3f8fa;
    --white: #fff;
    --off-white: #f4f1e8;
    --cream-white: #fce9d3;
    --black: #282936;
    --primary-red: #660707;
    --secondary-red: #b4182b;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--cream-white);
    /*font-family: 'Montserrat', sans-serif;*/
    font-family: 'Zalando Sans Expanded', sans-serif;
}

img {
    width: 20rem;
}

.container {
    margin: 20px;
}


.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.description {
    text-align: center;
    width: 310px;
}

/* Button base */
button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

/* Learn More Button */
button.learn-more {
    /*margin: 0 auto;*/
    /*display: block;*/
    width: 15rem;
    height: auto;
}

/* Circle wrapper */
button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: var(--secondary-red);
    border-radius: 1.625rem;
}

/* Icon base */
button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: var(--white);
}

/* Arrow icon */
button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

/* Arrow::before */
button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.25rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}

/* Button Text */
button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: var(--black);
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}

/* Hover Effects */
button.learn-more:hover .circle {
    width: 100%;
}

button.learn-more:hover .circle .icon.arrow {
    background: var(--white);
    transform: translate(1rem, 0);
}

button.learn-more:hover .button-text {
    color: var(--white);
}

/* Form */

.email-card {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*background-color: blue;*/
    width: 100%;
}

.form-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    /*background-color: red;*/
    width: 100%;
}

form {
    /*max-width: 500px;*/
    /*margin: 20px auto;*/
    /*padding: 20px;*/
    /*background-color: green;*/
    width: 600px;
}

fieldset {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

legend {
    font-weight: bold;
    color: #333;
    padding: 0 10px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .email-card {
        justify-items: center;
    }

    form {
        width: 100%;
    }

    /*.form-entry {*/
    /*    width: 100%;*/
    /*    max-width: 400px;*/
    /*    margin: 0 auto;*/
    /*    !*width: 400px;*!*/
    /*}*/
}
