
.hero
{
    padding: 150px 150px 0; 
    height: fit-content;
    place-content: center;
    place-items: center;
}
.upper-sub-header
{
    display: block;
    color: var(--accent_2);
    font-family: nineByFive;
    font-size: 1.1rem;
    letter-spacing: 2px;
}
.header h1
{
    font-size: 3rem;
    margin-bottom: 10px;
}
.hero p
{
    width: 60%;
    color: var(--sec-text);
    font-family: hel-reg;
    text-align: center;
    font-size: 1rem;
    margin: 0;
    line-height: 1;
}
.det-grid
{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px 100px;
    gap: 5px;
}
.det-box
{
    padding: 5px 15px;
    font-family: hel-reg;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    transition: .3s;
    cursor: pointer;
    background-color: var(--accent);
}
.det-box .content
{
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
    text-align: center;
    line-height: 1;
    transition: .3s;
}
.form-wrap
{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    place-content: center;
    place-items: center;
    gap: 10px;
}
.form-wrap form
{
    width: 50%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}
.form-wrap form label   
{
    font-family: hel-reg;
    font-size: 0.9rem;
    color: var(--secondary);
    display: block;
}
.form-wrap form input, .form-wrap form textarea, .form-wrap form select
{
    height: 40px;
    font-family: hel-reg;
    font-size: 0.9rem;
    color: var(--secondary);
    display: block;
    background-color: transparent;
    border: 0.5px solid #555555;
    outline: none;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    transition: .3s;
    background-color: var(--primary);
}
.form-wrap form input:hover, .form-wrap form textarea:hover, .form-wrap form select:hover,
.form-wrap form input:focus, .form-wrap form textarea:focus, .form-wrap form select:focus
{
    border: 0.5px solid #ffffff;
}
.form-wrap form textarea, .form-wrap form textarea
{
    resize: none;
    height: 200px;
}
.form-wrap form .input-box:nth-child(6), .submit-wrap
{
    grid-column: span 2;
}

@media  (max-width: 1200px) 
{
    .hero p
    {
        width: 100%;
    }
   .form-wrap form
   {
        width: 80%;
   }
}
@media  (max-width: 1200px) 
{
    .hero 
    {
        padding: 100px 50px 0;
    }
   .form-wrap form
   {
        width: 100%;
   }
}
@media  (max-width: 900px)
{
    .hero
    {
        padding: 70px 30px 0;
    }
    
} 
@media  (max-width: 500px)
{
    .det-grid
    {
        flex-wrap: wrap;
        padding: 10px;
    }
    .form-wrap form
    {
        grid-template-columns: auto;
    }
    .form-wrap form .input-box:nth-child(6), .submit-wrap
    {
        grid-column: auto;
    }
}

