@import url('https://fonts.googleapis.com/css2?family=Holtwood+One+SC&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --primary: #ea5f20;
    --black: #423D3D;
    --light-gray: #D9DBE9;
    --dark-gray: #282828;

    --holtwood-font: "Holtwood One SC", serif;
    --poppins-font: "Poppins", sans-serif;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

html{
    scroll-behavior: smooth;
}

body{
    overflow-x: hidden;
}

body, .header{
    display: flex;
    flex-direction: column;
    gap: 48px;
}

h1, h2{
    font-family: var(--holtwood-font);
    color: var(--primary);
}

h3, a, p, label, textarea, button{
    font-family: var(--poppins-font);
    color: var(--black);
}

.notyf{
    font-family: var(--poppins-font);
}

/* Navbar */
.nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 96px;
    border-bottom: 1px solid var(--light-gray);
}

.nav__logo{
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav__logo img{
    width: 60px;
    height: 60px;
}

.nav__name{
    font-size: 28px;
    font-weight: 700;
}

.nav__name span{
    color: var(--primary);
}

.nav__list{
    display: flex;
    justify-content: center;
    gap: 32px;
}

.nav__item{
    font-size: 18px;
}

.nav__cta{
    background-color: var(--primary);
    padding: 14px 20px;
    color: #fff;
    font-weight: 600;
    border-radius: 76px;
}

/* Hero */
.hero{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.grid{
    width: 120%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.grid img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.hero__content{
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.hero__title{
    font-size: 95px;
    line-height: 120%;
}

.hero__paragraph{
    width: 770px;
    font-size: 24px;
    line-height: 120%;
}

/* Form */
.main, .result{
    margin: 0 auto;
    max-width: 710px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.main__form{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form__group{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form__label{
    font-size: 18px;
    font-weight: 600;
}

.form__textarea{
    min-height: 300px;
    max-height: 500px;
    field-sizing: content;
    resize: none;
    padding: 16px;
    font-size: 14px;
    font-weight: 300;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    outline: none;
}

.form__btn{
    height: 48px;
    padding: 0 32px;
    background-color: var(--primary);
    color: #fff;
    border: none;
    outline: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

.result{
    background-color: #fff;
    padding: 24px;
    gap: 8px;
    border-radius: 12px;
    box-shadow: 0 0 1px rgba(40, 41, 61, 0.04), 0 2px 33px 5px rgba(96, 97, 112, 0.16);
}

.result__text{
    white-space: pre;
    font-weight: 500;
}

/* Footer */
.footer{
    margin-top: 48px;
    padding: 12px 0 22px;
    background-color: var(--dark-gray);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer__text{
    color: #fff;
}