header{
    width: 100%;
    height: 56px;
    margin: 0 auto;
    background: #000;
}
#header_content{
    width: 1410px; 
    height: 56px;
    margin: 0 auto;
    padding: 0 25px;
}
#header_logo{
    float: left;
    width: 170px;
    height: 56px;
    background: url(../img/logo.png) no-repeat left;
    background-size: 170px;
}
#header_links{
    float: right;
    width: 530px;
}
#header_links ul {
    display: flex;
    gap: 17px;
    padding-top: 20px;
    justify-content: end;
    margin-right: 5px;
}
#header_links li {
    display: inline-block;
    font-weight: bolder;
    font-family: 'Inconsolata';
    font-size: 11px;
    letter-spacing: 0.3px;
}
#header_links li a{
    color: var(--color-baby-white);
}
#header_links li a:hover{
    text-decoration: underline;
}
#header_phone{
    float: right;
    width: 115px;
    text-align: right;
}
#header_phone p{
    font-weight: bolder;
    font-family: 'Inconsolata';
    font-size: 14px;
    padding-top: 16px;
    letter-spacing: -0.5px;
}
#header_phone p a{
    color: var(--color-white);
}
#header_phone p a:hover{
    text-decoration: underline;
}
#hero{       
    width: 100%;
    margin: 0 auto;   
}

#breadcrumb{
    width: 100%;   
    max-width: 1248px; 
    margin: 0 auto;   
    padding: 30px 20px 10px 46px;
    background: url(../img/shield.svg) no-repeat;
    background-position: 20px 33px;
}

#breadcrumb p{
    font-family: 'Libre Franklin';
    font-weight: 500;
    font-size: 16px;
    color: var(--color-teen-blue);
}

#hero_content{
    width: 100%;   
    max-width: 1248px; 
    margin: 0 auto;   
    padding: 20px;
}

#hero_content h1{
    font-family: 'Lora';
    font-weight: 400;
    font-size: 48px;
    color: var(--color-black);
    line-height: 1.1;
}

#content{
    width: 100%;   
    max-width: 1248px; 
    margin: 0 auto;
    display: flex;
    gap: 54px;
    padding: 0 20px 20px 20px;
}
article{
    width: 678px;  
}

#article_header h2{
    color: var(--color-black);
    font-family: 'Libre Franklin';
    font-size: 24px;
    line-height: 1.25;  
    margin-bottom: 10px;
}

#author {
    float: left;
    height: 45px;
    width: 50%;
    margin-bottom: 15px;  
    margin-top: 5px;
    background: url(../img/author.png) no-repeat left;
    padding-left: 30px;
    padding-top: 7px;
}
.author{
    font-size: 11px;
    font-family: 'Libre Franklin';
    letter-spacing: 0.1px;
}
.date{
    font-size: 11px;
    font-family: 'Libre Franklin';
    letter-spacing: 0.1px;
    color: var(--color-gray2);
}

#fact {
    float: right;
    height: 43px;
    width: 160px;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 30px;
    background: #fff url(../img/check_circle.svg) left no-repeat;
    background-position: 10px;
    padding-left: 17px;
}

#fact p{
    text-align: center;
    padding-top: 10px;
    font-size: 15px;
    color: var(--color-teen-blue);
    font-weight: bolder;
    font-family: 'Inconsolata';
    letter-spacing: 1.5px;
}

#legal {
    background: rgba(158,163,169,0.1);
    padding: 20px;
    margin-bottom: 10px;  
    clear: both;
}

#legal p{
    font-size: 11px;
    font-family: 'Lora';
    color: var(--color-gray2);
}


#article_content h4{
    font-size: 16px;
    font-family: 'Libre Franklin';
    font-weight: 500;
    line-height: 1.5;
    padding: 12px 0;
}

#article_content h5{    
    font-size: 20px;
    font-family: 'Libre Franklin';
    font-weight: 800;
    line-height: 1.35;
    padding: 18px 0;
}

#article_content p{    
    font-size: 16px;
    font-family: 'Libre Franklin';
    font-weight: 400;
    line-height: 1.5;
    padding: 12px 0;
}

#article_content ul {    
    padding: 12px 0;
}

#article_content ul li{    
    font-size: 16px;
    font-family: 'Libre Franklin';
    font-weight: 400;
    line-height: 1.5;
    list-style: disc;
    position: relative;
    left: 16px;
}


#contact_us{
    width: 516px;
    height: 1373px;
    background: #E8E8E8;  
    padding: 70px 40px 40px 40px;
    border-radius: 35px;
}
#contact_us_content{
    width: 100%;
    margin: 0 auto;     
}



#contact_form{
    float: left;
    width: 100%;
    margin-right: 50px;
}
#contact_form span{
    display: flex;
    justify-content: center;
}
#contact_form form{
    margin-top: 30px;
}
.form_row{
    width: 100%;
    height: 72px;
    border: 1px solid var(--color-black);
    margin-top: 36px;
    border-radius: 5px;
    background: var(--color-white);
    filter: drop-shadow(-2px -2px 0px var(--color-black));
    padding: 19px 36px;
}
#contact_form label{
    font-family: 'Inconsolata';
    font-size: 15px;
    letter-spacing: 0;
    font-weight: bolder;
    padding-right: 16px;
    width: 105px;
    display: inline-block;
    color: var(--color-black);
}
#contact_form input{
    font-family: 'Inconsolata';
    font-size: 15px;
    letter-spacing: 1px;
    font-weight: bolder;
    color: var(--color-dark-grey);
    background: transparent;
    padding: 5px;
    width: 235px;
}
#tcpa {
    padding: 5px;
    font-family: 'Lora';
    font-size: 10px;
    margin-top: 10px;
    width: 100%;
    color: var(--color-gray2);
    margin-top: 40px;
}
#contact_form input::placeholder{
    color: var(--color-baby-blue);
}

#contact_form button{
    background: var(--color-black);
    border: 2px solid var(--color-black);
    margin: 12px auto 0 auto;
    width: 100%;
    height: 63px;
    font-family: 'Inconsolata';
    font-size: 18px;
    font-weight: 800;    
    color: var(--color-white);
    margin-top: 36px;
}
#contact_form button:hover{
    background: var(--color-white);
    color: var(--color-black);
}

#contact_form h2{
    font-family: 'Lora';
    font-size: 35px;
    color: var(--color-black);
    font-weight: 400;
    line-height: 1.25;
    padding-top: 15px;    
    text-align: center;
}

#contact_form h3{
    text-align: center;
    text-transform: uppercase;
    color: var(--color-teen-sand);
    font-size: 14px;
    font-family: 'Plus Jakarta Sans';
    font-weight: bolder;
    letter-spacing: 2px;  
    padding-top: 20px;
}

footer{
    width: 100%;    
    height: 577px;
    margin: 0 auto;
    padding: 75px 48px;
    background: var(--color-black);
}

#footer_content{
    width: 1170px; 
    height: 500px;
    margin: 0 auto;
}
#footer_contact{
    float: left;
    width: 23%;
}

#footer_contact h4{
    font-family: 'Plus Jakarta Sans';
    font-size: 16px;
    color: var(--color-baby-blue);    
    font-weight: bold;
}

#footer_contact address{
    font-family: 'Lora';
    font-size: 15px;
    color: var(--color-baby-blue);    
    font-weight: 400;
    line-height: 1.3;    
    font-style: normal;
    padding-top: 20px;
}

#footer_contact p{
    font-family: 'Lora';
    font-size: 15px;
    font-weight: 400;
    padding-top: 15px;
}

#footer_contact p a{
    color: var(--color-baby-blue);    
    text-decoration: underline;       
}

#footer_contact p a:hover{
    color: var(--color-white);        
}

#footer_links{
    float: left;
    width: 15%;
}

#footer_links h4{
    font-family: 'Plus Jakarta Sans';
    font-size: 16px;
    color: var(--color-baby-blue);    
    font-weight: bold;
}

#footer_links ul {
    padding-top: 20px;
}

#footer_links li {
    font-family: 'Lora';
    font-size: 15px;  
    font-weight: 400;
    line-height: 1.5;    
    font-style: normal;
    padding-bottom: 20px;
}

#footer_links li a{
    color: var(--color-baby-blue);  
    text-decoration: underline;
}

#footer_links li a:hover{
    color: var(--color-white);  
}

#footer_laws{
    float: left;
    width: 62%;
    height: 400px;
}

#footer_laws h4{
    font-family: 'Plus Jakarta Sans';
    font-size: 16px;
    color: var(--color-baby-blue);    
    font-weight: bold;
}
#footer_columns{
    column-count: 2;
    column-gap: 40px;
    padding-top: 15px;
}


#footer_columns p{
    font-family: 'Lora';
    font-size: 13px;
    padding: 9px 0;
    letter-spacing: -0.1px;
}

#footer_columns p a{
    color: var(--color-baby-blue);    
    text-decoration: underline;
}

#footer_columns p a:hover{
    color: var(--color-white);    
}


#footer_logo{
    float: left;
    width: calc(37% - 20px);
    height: 150px;
    position: relative;
    top: -90px;
    background: var(--color-dark-black);
    border-radius: 20px;
    padding: 20px 30px 0 80px;
    margin: 0 10px;
    z-index: 1;
    margin-bottom: -130px;
}
#footer_logo::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0; 
    background: url(../img/logo_bottom.svg) no-repeat;
    pointer-events: none;
    z-index: 2;
    opacity: 0.25;
    background-size: 45px;
    background-position: 25px 45px;
}

#footer_logo h4{
    color: var(--color-gray2);
    font-family: 'Lora';
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.3px;
}
#footer_logo p{
    color: var(--color-gray2);
    font-family: 'Lora';
    font-size: 11px;
    letter-spacing: 0.5px;
    font-weight: 400;
    line-height: 1.5;
    padding-top: 16px;
}

/* Designed to 1440px - scrollbar = ~1410px */

@media (max-width: 1440px) {
    #header_content{
        width: 1185px; 
    }
}

@media (max-width: 1299px) {
    #footer_content{
        width: 1090px; 
    }
    .form_row{
        padding: 19px 25px;
    }
    #footer_logo h4{
        font-size: 14px;
    }
}

/*Ipad Pro 1024px - 1199px*/

@media (max-width: 1199px) {
    #header_content{
        width: 1009px; 
    }
    #contact_form h2{
        font-size: 30px;
    }
    #contact_form h3{
        font-size: 12px;
    }
    .form_row{
        padding: 19px 19px;
    }
    #contact_form label{
        width: 90px;
        padding-right: 6px;
        font-size: 14px;
    }
    #contact_form input{
        width: 190px;
        font-size: 14px;
    }
    footer {
        padding: 50px 25px;
        height: 550px;
    }
    #footer_content{
        width: 958px; 
    }  
    #footer_contact address{
        font-size: 14px;
    }
    #footer_links li{
        font-size: 14px;
    }
    #footer_logo p {
        font-size: 10px;
        letter-spacing: 0;
    }
    #footer_columns p{
        padding: 7px 0;
    }
}

/*Ipad Air 820px - 1023px*/

@media (max-width: 1023px) {
    #header_content {
        width: 804px;
        padding: 0 10px;
    }
    #header_links{
        width: 470px;
    }
    #header_links ul{
        gap: 13px;
    }

    #hero_content h1{
        font-size: 38px;
    }

    #article_header h2 {
        font-size: 21px;
    }

    #article_content h4{
        font-size: 14px;
        padding: 8px 0;
    }

    #article_content h5 {
        font-size: 18px;
        padding: 12px 0;
    }

    #article_content p {
        font-size: 14px;
    }

    #article_content ul li{    
        font-size: 14px;
    }

    #fact{
        height: 38px;
        margin-top: 4px;
        margin-bottom: 11px;
    }
    #fact p{        
        padding-top: 8px;
    }

    #contact_us{
        padding: 40px 20px 20px 20px;
    }

    #contact_form h2 {
        font-size: 26px;
    }
    #contact_form h3 {
        font-size: 12px;
    }

    .form_row {
        padding: 19px 9px;
        height: 66px;
        margin-top: 26px;
    }

    #contact_form label {
        width: 70px;
        font-size: 12px;
    }

    #contact_form input {
        width: 180px;
        font-size: 12px;
    }

    #contact_form button{
        font-size: 15px;
    }
    
    footer{
        height: 960px;
    }
    #footer_content{
        width: 758px;
        height: 910px;
    }
    #footer_contact{
        width: 60%;
    }
    #footer_links{
        width: 40%;
    }
    #footer_laws{
        width: 100%;
    }
    #footer_logo{
        top: 0;
        margin-bottom: 0;
    }

    #footer_contact address{
        font-size: 16px;
    }
    #footer_links li{
        font-size: 16px;
    }
    #footer_laws{
        height: 450px;
    }
    #footer_laws h4 {
        padding-top: 40px;
    }
    #footer_columns p{
        padding: 7px 0;
    }

    #footer_logo{
        width: 60%;
        margin: 0;
    }
    #footer_logo h4{
        font-size: 16px;
    }
    #footer_logo p {
        font-size: 12px;
        letter-spacing: 0;
    }

}

/*Ipad Mini 768px - 819px*/

@media (max-width: 819px) {
    #header_content{
        width: 748px;
    }
    #header_links{
        width: 420px;
    }
    #header_links ul{
        gap: 9px;
    }
    #header_links li{
        letter-spacing: 0.1px;  
    }

    #hero_content h1 {
        font-size: 34px;
    }

    #article_header h2 {
        font-size: 19px;
    }

    #article_content h4{
        font-size: 12px;
        padding: 6px 0;
    }

    #article_content h5 {
        font-size: 16px;
        padding: 10px 0;
    }

    #article_content p {
        font-size: 12px;
    }

    #article_content ul li{    
        font-size: 12px;
    }

    #contact_us {
        padding: 30px 10px 10px 10px;
    }

    #contact_form h2 {
        font-size: 22px;
    }
    #contact_form h3 {
        font-size: 10px;
    }

    .form_row {
        padding: 13px 9px;
        height: 56px;
        margin-top: 26px;
    }

    #contact_form input {
        width: 170px;
    }
    
    #footer_content{
        width: 720px;
    }
}

/*Ipad 14 Pro Max 430px - 767px*/

@media (max-width: 767px) {
    #header_content{
        width: 410px;
    }
    #header_links{
        display: none;
    }

    #hero_content h1 {
        font-size: 32px;
        line-height: 1.25;
    }

    #article_header h2 {
        font-size: 20px;
        line-height: 1.5;
    }
    

    #content{
        display: block;
    }
    article{
        width: 100%;
    }

    #article_content h4 {
        font-size: 15px;
        padding: 6px 0;
        line-height: 1.5;
    }

    #article_content h5 {
        font-size: 20px;
        line-height: 1.35;
    }

    #article_content p{
        font-size: 15px;
        padding: 6px 0;
        line-height: 1.5;
    }

    #article_content ul li {        
        font-size: 15px;
        line-height: 1.5;
    }

    #contact_us {
        width: 100%;
        margin-top: 50px;
    }

    #contact_form h2 {
        font-size: 24px;
    }

    #contact_form h3 {
        font-size: 14px;
    }

    .form_row{
        height: 72px;
        margin-top: 36px;
        padding: 19px 12px;
    }
    #contact_form label{
        font-size: 15px;        
        padding-right: 16px;
        width: 105px;
    }
    #contact_form input{        
        font-size: 15px;
        padding: 5px;
        width: 225px;
    }
    
    #contact_form button {
        font-size: 18px;
    }
    

    #tcpa{
        font-size: 11px;
    }

    footer{
        padding: 50px 20px;
        height: 1080px;
    }
    #footer_content {
        width: 390px;
        height: 990px;
    }
    #footer_laws {
        height: 580px;
    }
    #footer_logo {
        width: 100%;
    }
    #footer_logo h4 {
        font-size: 14px;
        letter-spacing: 0;
    }

}

/* Newer cellphones 375px - 427px */

@media (max-width: 427px) {
    #header_content{
        width: 355px;
    }

    #contact_form input {
        width: 165px;
    }

    #contact_us {
        height: 1100px;
    }
    
    footer {
        padding: 50px 10px;
        height: 1100px;
    }
    #footer_content {
        width: 355px;
        height: 1010px;
    }
    #footer_laws{
        height: 600px;
    }
    #footer_logo p{
        font-size: 11px;
    }
}

/* Most of cellphones 360px - 374px*/

@media (max-width: 374px) {
    #header_content{
        width: 340px;
    }

    #hero_content h1 {
        font-size: 30px;
    }

    #article_header h2 {
        font-size: 17px;
    }

    .author{
        font-size: 10px;
    }

    .date {
        font-size: 10px;
        letter-spacing: 0;
    }
    
    #footer_content {
        width: 340px;
    }
    #footer_logo h4 {
        font-size: 14px;
        line-height: 1.4;
    }
    #footer_logo p {
        font-size: 10px;
    }
}

/* Older cellphones */

@media (max-width: 320px) {
    #header_content{
        width: 300px;
    }

    #breadcrumb {
        padding: 20px 10px 10px 36px;
        background-position: 10px 33px;
        
    }

    #breadcrumb p{
        font-size: 14px;
    }
    #hero_content{
        padding: 10px;
    }

    #hero_content h1 {
        font-size: 26px;
    }

    #content{
        padding: 0 10px 10px 10px;
    }

    .author{
        letter-spacing: -0.5px;
    }

    .date{
        letter-spacing: -0.5px;
    }

    #fact{
        width: 150px;
    }

    #article_content h4 {
        font-size: 14px;
        line-height: 1.4;
    }

    #article_content h5 {
        font-size: 19px;
        line-height: 1.4;
    }

    #article_content p {
        font-size: 14px;
        line-height: 1.4;
    }

    #article_content ul li {
        font-size: 14px;
        line-height: 1.4;
    }

    .form_row {
        height: 68px;
        margin-top: 26px;
    }

    #contact_form button{
        margin-top: 26px;
    }

    #contact_form h3 {
        font-size: 12px;
    }

    #contact_form label {
        font-size: 13px;
        padding-right: 6px;
        width: 95px;
    }
    #contact_form input {
        font-size: 13px;
        width: 155px;
    }
    
    #footer_content {
        width: 300px;
    }
    #footer_contact address {
        font-size: 14px;
    }
    #footer_links li {
        font-size: 14px;
    }
    #footer_logo h4 {
        font-size: 12px;
        letter-spacing: 0;
    }
    #footer_columns p{
        font-size: 12px;
    }
    #footer_logo p {
        font-size: 9px;
    }
}

p.success, p.error{
    font-size: 17px;
    text-align: center;
    padding: 35px;
    background: var(--color-spot-green);
    color: var(--color-black);
    font-weight: bolder;
    border: 4px solid var(--color-black);
    font-family: 'Inconsolata';    
}

p.success{
    background: var(--color-spot-green);   
}

 p.error{
    background: var(--color-spot-red);   
}

/* change form position */
@media (max-width: 767px) {
    main {
        display: grid;
    }
    header{
        order: 1;
    }
    #breadcrumb {
        order: 3;
    }
    #hero {
        order: 2;
    }
    #content {
        order: 4;
        display: grid;
    }
    article {
        order: 2;
    }
    #contact_us {
        order: 1;
        height: fit-content;
    }
    footer {
        order: 5;
    }

}