@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800;900&family=Lato:wght@100;300;400;700;900&display=swap');
:root {
    --primary:#25AB75;
    --secondary : #23262E;
    --textgray: #787C8D;
    --lightgray: #B6C1C8
} 

* {
    padding: 0;
    margin: 0;
    font-family: 'Figtree', sans-serif;
    box-sizing: border-box;
}
body {
    position: relative;
    background-image: url('/assets/image/background.svg');
    background-position: center;
    background-size: auto;
}
button {
    cursor: pointer;
    z-index: 10;
    font-family: 'Lato', sans-serif;
    line-height: 22px;
}
input {
    z-index: 10;
}
h1 {
    font-size: 35px;
    font-weight: 700;
    color: var(--secondary);
} 
h3 {
    font-size: 20px;
    color: var(--secondary);
}
p {
    font-size: 16px;
    color: var(--textgray);
}
p span{
    font-size: 16px;
    color: var(--primary);
}

/* navbar */
nav {
    width: 100%;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding : 0 5%;
}
nav img {
    width: 150px;
}
nav > button {
    height: fit-content;
    padding: 15px 35px;
    border-radius: 50px;
    background-color: var(--primary);
    border: none;
    z-index: 12;
    box-sizing: border-box;
}
nav > button a {
    color: #FFF;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;

}
nav > button:hover, .input-container  button:hover {
    background: var(--secondary);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.18);
    transition: 300ms;
}
/* header */
header {
    width: 100%;
    min-height: calc(100vh - 137px);
    padding: 20px;
    display: flex;
    justify-content: center;
}
.container {
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 173px);
    max-width: 1644px;
    background: #F0F3F3;
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    row-gap:20px;
    justify-content: center;
    align-items: center;
}
.container > .content {
    width: 100%;
    max-width: 500px;
    display: flex;
    row-gap: 10px;
    flex-direction: column;
    padding: 20px;
}
.container > .image {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;

}
.container > .image img {
    width: 90%;
}
.field-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}
.field-container label{
    font-size: 16px;
    padding-left: 20px;
    font-weight:600;
    color: var(--secondary);
}
.input-container {
    display: flex;
    width: 100%;
    height: 40px;
    background-color: #FFF;
    border-radius: 50px;
    padding:  2px 2px 2px 10px;
    border: 1px solid #DDE2EF;
    box-shadow: 0px 4px 14px rgba(199, 205, 213, 0.25);
    z-index: 11;
    position: relative;
}
.input-container.error {
    border: 1px solid red;
}
.input-container small {
    position: absolute;
    bottom: -23px;
    color: red;
}
.input-container  input {
    width: inherit;
    border: none;
    border-radius: 50px 0 0 50px;
    outline: none;
    border: none;
}
.input {
    display: none;
}
.active {
    display: flex;
}
.input-container  button {
    display: flex;
    align-items: center;
    padding-left: 20px;
    outline: none;
    border: none;
    background-color: var(--primary);
    border-radius: 50px;
    column-gap: 15px;
    padding-right: 5px;
}
.input-container  button:hover div{
    background: var(--primary);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.18);
    transition: 300ms;
}
.input-container  button .fa-chevron-right {
    color: #8892B8;
}

.input-container  button:hover .fa-chevron-right{
    color: #fff;
    transition: 300ms;
}
.input-container  button span {
    width: max-content;
    font-size: 12px;
    font-weight: 900;
    color: #FFF;
}
.input-container  div {
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background-color: #FFF;
}
.main-input input {
    border-radius: 50px;
}
.green-blur {
    position: absolute;
    width: min(90%, 557px);
    height: 436.34px;
    right: 60px;
    top: -258.59px;
    background: #69BD45;
    opacity: 0.3;
    filter: blur(250px);
}
.light-blur {
    position: absolute;
    width: min(90%, 557px);
    height: 436.34px;
    left: 3px;
    bottom: 0;
    background: #25AB75;
    opacity: 0.2;
    filter: blur(250px);
}
.blue-blur {
    position: absolute;
    width: min(90%, 557px);
    height: 436.34px;
    bottom: 0;
    background: #88BBC7;
    opacity: 0.2;
    filter: blur(250px);
    right:0;
}

/* footer */
footer {
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lightgray);
    font-weight: 400;
    font-size: 12px;
}

@media screen and  (min-width: 1024px) {
    nav {
        padding : 0 40px;
    }
    nav img {
        width: 200px;
    }
    h1 {
        font-size: 50px;
    } 
    h3 {
        font-size: 30px;
    }
    p {
        font-size: 20px;
    }
    p span {
        font-size: 20px
    }
    header {
        padding:42px 42px 0 42px;
    }
    .container {
        flex-direction: row;
        justify-content: spase-between;
        column-gap: 80px;
        align-items: center;
        padding: 0 40px;
    }
    .container .content {
        max-width: 700px;
        row-gap: 15px;
    }
    .input-container {
        height: 50px;
        padding-left: 20px;
    }
    .input-container input {
        font-size: 16px;
    }
    .input-container button {
        padding-left: 35px;
    }
    .input-container button span {
        font-size: 16px;
    }
    .container .image {
        max-width: 600px;
    }
    .container > .image img {
        width: 100%;
    }
    nav > button a {
        font-size: 16px;
    }
    .container > .content {
        row-gap: 22px;
    }
    footer {
        font-size: 14px;
    }
}

@media screen and  (min-width: 1536px) {
    h1 {
        font-size: 58px;
    } 
    h3 {
        font-size: 34px;
    }
    p {
        font-size: 24px;
    }
    p span {
        font-size: 24px
    }
    .container {
        justify-content: space-around;
    }
    .input-container {
        height: 60px;
    }
    .input-container div {
        width: 40px;
        height: 40px;
    }
    .input-container button span {
        font-size: 20px;
    }
    .container .content {
        max-width: 43%;
        padding: 0;
    }
    .container .image {
        max-width: 37.59%;
    }
    footer {
        font-size: 16px;
    }
    
}


