:root {
    --black: #141414;
    --white: #F5F5F5;
    --accent: #15737A;
    --accent-active: #1c98a1;
}

html {
    scroll-behavior: smooth;
    max-width: 100vw;
    scroll-snap-type: y;
}

body {
    padding: 0;
    margin: 0;
    font-family: "Source Sans 3", sans-serif;
    color: var(--white);
    background-color: var(--black);
    overflow-x: hidden;
    max-width: 100vw;
    scroll-snap-type: y;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.accent-txt {
    color: var(--accent);
}

.company {
    margin-left: 6rem;
    margin-top: 3rem;

    display: flex;
    align-items: center;
    gap: 1rem;

    font-size: 1.5rem;
}

.company > img {
    height: 60px;
}

.hero {
    padding: 0;
    margin-top: 2rem;
    margin-bottom: 12rem;
    max-width: 100vw;

    display: flex;
    justify-content: space-around;
}

.hero-left {
    width: 35%;
    padding-left: 10rem;
    padding-top: 7rem;
}

h1 {
    font-size: 3.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-top: 0rem;
}

#link-order {
    text-decoration: none;
    color: var(--white);
}

.button-order {
    padding: 1.3rem;
    margin-top: 3rem;
    margin-left: 25%;
    width: 15rem;

    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;

    background-color: var(--accent);
    border-radius: 0.5rem;
    border: none;
}

.button-order:hover {
	background-color:var(--accent-active);
    scale: 1.03;
    transition: 200ms;
}

.hero-right {
    width: 35%;
    padding-top: 5rem;
    padding-right: 5rem;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-header {
    text-align: center;
    font-size: 1.8rem;
}

.hero-video {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 16/9;
}

#word-of-the-day {
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
    text-align: center;
}

.daily-word {
    font-size: 1.8rem;
    font-weight: 600;
}

#words {
    text-align: center;
}

.daily-word-result {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0rem;
}

.button-word {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0rem;
    padding: 0.8rem;
    width: 12rem;

    font-size: 1rem;
    font-weight: 600;
    text-align: center;

    background-color: transparent;
    border: var(--accent) solid 0.2rem;
}

.button-word:hover {
    scale: 1;
    border-color: var(--accent-active);
}

.about {
    background-color: var(--white);
    margin-top: 10rem;
    padding-top: 2rem;
    color: var(--black);
    scroll-snap-align: end;
}

h3 {
    font-size: 2.7rem;
    text-align: center;
    margin-bottom: 2rem;
}

.about-wrapper {
    margin-top: 3rem;
    padding-left: 5rem;
    padding-right: 5rem;
    padding-bottom: 2rem;

    display: flex;
    align-items: start;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-wrapper > * {
    flex: 1;
    min-width: 300px;
}

.about-item {
    font-size: 1.3rem;
}

h4 {
    font-weight: 700;
    font-size: 1.8rem;
}

#order {
    margin-top: 2rem;
    padding-top: 10rem;
    max-width: 100vw;
}

.pricing {
    width: 55%;
    margin-left: auto;
    margin-right: auto;
}

.p-pricing {
    font-size: 2.1rem;
    font-weight: 600;
    text-align: center;
}

.additional-text {
    font-size: 1.2rem;
    font-weight: 400;
}

.section-form {
    width: 50%;
    margin-top: 15rem;
    margin-left: auto;
    margin-right: auto;
}

input {
    background-color: var(--white);
    border-radius: 0.8rem;
    border-color: var(--black);

    width: 90%;
    margin-left: 3.5%;
    margin-bottom: 1rem;
    padding: 1rem;

    font-size: 1rem;
}

textarea {
    background-color: var(--white);
    border-radius: 0.8rem;
    border-color: var(--black);

    font-family: "Source Sans 3";

    width: 90%;
    margin-left: 3.5%;
    margin-bottom: 1rem;
    padding: 1rem;

    font-size: 1rem;
}

input:focus-within {
    outline: none;
    border-color: var(--accent-active);
    border-width: 0.1rem;
}

textarea:focus-within {
    outline: none;
    border-color: var(--accent-active);
    border-width: 0.1rem;
}

/* input[type="file"] {
    display: none;
}

label {
    display: flex;
    width: 7.5rem;
    padding: 0.8rem;
    margin-left: auto;
    margin-right: auto;

    color: var(--white);
    font-size: 1.1rem;
    font-weight: 400;
    text-align: center;
    background: var(--accent);
    border-radius: 3%;

    user-select: none;
    cursor: pointer;
} */

.button-submit {
    padding: 1.3rem;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;

    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    cursor: pointer;

    background-color: var(--accent);
    border-radius: 0.5rem;
    border: none;

    display: flex;
}

.button-submit:hover {
    scale: 1.03;
    transition: 200ms;
    cursor: pointer;
    background-color: var(--accent-active);
}

.footer {
    margin-top: 10rem;

    background-color: var(--white);
    color: var(--black);
    font-size: 1.1rem;
}

.footer-wrapper {
    display: flex;
    justify-content: space-around;
}

.documents-links {
    text-align: center;
}

.link {
    text-decoration: none;
    color: var(--accent);
    font-size: 1.3rem;
}

.link:hover {
    text-decoration: underline;
    color: var(--accent-active);
    cursor: pointer;
}

.link:visited {
    text-decoration: none;
    color: var(--accent);
}

.contact {
    text-align: right;
    text-decoration: none;
    color: var(--black);
}

.author {
    font-size: 0.9rem;
    color: #5a5a5a;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

.fade-in {
    animation: fadeIn 0.5s forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hero-left, .hero-right {
    opacity: 0;
}

.hero-left.animated {
    animation: slideInLeft 1s forwards;
}

.hero-right.animated {
    animation: slideInRight 1s forwards;
}

.about, #order {
    opacity: 0;
}

.about.animated, #order.animated {
    animation: fadeIn 1s forwards;
}

.about-item, .order-item {
    opacity: 0;
    transition: opacity 1s, transform 1s;
}

.about-item.animated, .order-item.animated {
    opacity: 1;
}

.about-item.animated {
    transform: translateX(0);
}

.about-item:not(.animated) {
    transform: translateX(-50px);
}

.order-item.animated {
    transform: translateX(0);
}

.order-item:not(.animated) {
    transform: translateX(50px);
}

.about, #order {
    opacity: 0;
}

.about.animated, #order.animated {
    animation: fadeIn 1s forwards;
}

@media all and (max-width: 1460px) {
    .hero {
        flex-direction: column;
        align-content: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        margin-top: 5rem;
    }

    .hero-left {
        width: 80%;
        padding-left: 10%;
        padding-top: 2rem;
    }

    .button-order {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-right {
        width: 80%;
        margin: 0 auto;
        padding: 0;
        margin-top: 5rem;
    }

    .hero-video {
        width: 100%;
        height: auto;
    }

    .about-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media all and (max-width: 1124px) {
    .about-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .about-item {
        flex: 1 1 calc(50% - 2rem);
        min-width: 300px;
        margin: 1rem;
    }
}

@media all and (max-width: 900px) {
    .hero-left, .hero-right {
        width: 100%;
        padding-left: 5%;
        padding-right: 5%;
    }

    .about-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .about-item {
        flex: 1 1 calc(50% - 2rem);
        min-width: 300px;
        margin: 1rem;
    }

    input, textarea {
        width: calc(100% - 7%);
        margin-left: 3.5%;
        margin-bottom: 1rem;
        padding: 1rem;
        font-size: 1rem;
    }
    
    textarea {
        resize: none;
    }    
}

@media all and (max-width: 700px) {
    .hero-video {
        width: 100%;
        height: auto;
    }

    .p-pricing {
        font-size: 1.8rem;
    }

    .footer-wrapper {
        flex-direction: column;
        align-content: center;
    }

    .footer p {
        text-align: center;
    }

    .about-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .about-item {
        flex: 1 1 calc(100% - 2rem);
        min-width: 300px;
        margin: 1rem;
    }
}

@media all and (max-width: 600px) {
    html {
        overflow-x: hidden;
        scroll-snap-type: none;
    }

    .company {
        font-size: 1.2rem;
        margin-left: 1rem;
    }

    .hero {
        margin-top: 0rem;
    }

    .button-order, .button-submit {
        width: auto;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .button-order {
        margin-left: 25%;
    }

    .button-word {
        margin-left: auto;
    }

    #word-of-the-day {
        margin-top: 3rem;
    }
    
    .button-word {
        padding: 0.8rem 1rem;
        margin-top: 0rem;
        font-size: 1.1rem;
    }

    .about {
        scroll-snap-align: unset;
    }

    .about-wrapper {
        flex-direction: column;
        align-items: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .about-item {
        flex: 1 1 100%;
        min-width: 300px;
        margin: 1rem 0;
    }

    #order {
        margin-top: 11rem;
        padding-top: 1rem;
    }

    .pricing {
        width: 90%;
    }

    .p-pricing {
        font-size: 1.5rem;
    }

    .section-form {
        width: 90%;
        margin-top: 8rem;
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media all and (max-width: 450px) {
    .hero-video {
        width: 100%;
        height: auto;
    }

    .p-pricing {
        font-size: 1.3rem;
    }
}