* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Open Sans", sans-serif;
}

:root {
--text-color: #000;
--bg-color: #fff;
--main-color: #ffa343;

--h1-font: 6rem;
--h2-font: 3rem;
--p-font: 1rem;

}

body {
   color: var(--text-color);
   background: var(--bg-color);
}

header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background: rgb(0,0,0);
    padding: 27px 15%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .50s ease;
}

section {
    padding: 70px 15% 60px;
}

.contact-bg {
    height: 40vh;
    background: url(../image/photo4.jpg);
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    text-align: center;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 48px;
}

.contact-bg h2 {
    font-size: var(--h1-font);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-bg p {
    font-size: var(--p-font);
    font-weight: 500;
    line-height: 30px;
    color: white;
    margin-bottom: 35px;
}

.contact-info a {
    font-size: var(--p-font);
    font-weight: 500;
    line-height: 30px;
    color: black;
    margin-bottom: 35px;
}

.add a {
    font-size: 40px;
    color: var(--text-color);
    transition: all .50s ese;
}

.add a:hover {
    color: var(--main-color);
    transform: translateY(-3px);
}

.line div{
    margin: 0 0.2rem;
}

.line div:nth-child(1),
.line div:nth-child(3) {
    height: 3px;
    width: 70px;
    background: var(--main-color); 
}

.line {
    display:flex;
    align-items: center;
}

.line div:nth-child(2){
    width: 10px;
    height: 10px;
    background: var(--main-color);
    border-radius: 50%;

}

.text {
   font font-weight: 300;
   opacity: 0.9;
}

.contact-bg .text {
    margin: 1.6rem 0;
}

.contact-body {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-info {
    margin: 2rem;
    text-align: center;
    padding: 2rem 0;
}

.contact-info span {
    display: block;
}

.contact-info div {
    margin: 0.8rem  0;
    padding: 1rem;
}

.contact-info span .fas {
    font-size: 2rem;
    padding-bottom: 0.9rem;
    color: var(--main-color);
}

.contact-info div span:nth-child(2) {
    font-weight: 500;
    font-size: 1.1rem;
}

.contact-info .text {
    padding-top: 0.4rem;
}

.center-texts h1 {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 1px;
    font-size: 60px;
}

.center-text h1 {
    font-size: var(--h1-font);
    font-weight: 800;
}

.contact {
    display:flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.contact form {
    width: 600px;
    text-align: center;
}

form .input-box {
    display: flex;
    justify-content: space-between;
}

.input-box .input-field {
    width: 48.5%;
}

.field .item {
    width: 100%;
    padding: 18px;
    background: transparent;
    border: 2px solid var(--main-color);
    outline: none;
    border-radius: 6px;
    font-size: 16px;
    background-color: rgba(0, 0, 0, .2);
    color: black;
    margin: 12px 0;
}

.field.error .item {
    border-color: #d93025;
    
}

.field .item::placeholder {
    color: rgba(0, 0, 0, .5);
}

.field .error-txt {
    font-size: 14.5px;
    color: #d93025;
    text-align: left;
    margin: -5px 0 10px;
    display: none;
}

.field.error .error-txt {
    display: block; 
}

form .textarea-field .item {
    resize: none;
    height: 200px;
}

form .textarea-field .error-txt {
    margin-top: -10px;
}


@media (max-width: 1700px) {
    header {
        padding: 18px 5%;
    }
    
    header.sticky {
        padding: 5px 5%; 
    }
    section {
        padding: 50px 8% 40px;  
    }
}


@media (max-width: 1200px) {
    
     header {
        padding: 12px 2%;
    }
    
    header.sticky {
        padding: 5px 2%; 
    }
    section {
        padding: 45px 5% 35px;  
    }
    :root {
        --h1-font: 4.6rem;
        --h2-font: 2.7rem;
        --p-font: 15px;
    }
}

 @media (max-width: 800px) {
     
     .contact-bg h3{
         margin-top: 70px;
         margin-bottom: 1px;
     }
      .contact-bg h2{
         margin-top: 1px;
         margin-bottom: 1px;
         font-size: 50px;
     }
      .contact-bg .text{
         margin-top: 1px;
     }
    }
    
 @media (max-width: 600px) {
     .root {
          --h1-font: 3.5rem;
          --h2-font: 2.1rem;   
        }

     #menu-icon {
         font-size: 50px;
     }
     
     .social a {
    height: 30px;
    width: 30px;
    font-size: 15px;
    margin-right: 7px;
     }
     
     .logo {
         font-size: 22px;
         font-weight: 700;
         padding: 5px 15px;
     }
     .contact-bg h3{
         margin-top: 70px;
         margin-bottom: 1px;
     }
      .contact-bg h2{
         margin-top: 1px;
         margin-bottom: 1px;
         font-size: 40px;
     }
      .contact-bg .text{
         margin-top: 1px;
     }
     
    }


@media (max-width: 450px) {
     header {
        padding: 12px 3%;
    }
    
    header.sticky {
        padding: 7px 3%; 
    }
    section {
        padding: 60px 3% 50px;  
    }
    .center-texts h1 {
        font-size: 40px;
     }      
}

@media (max-width: 380px)  {
    header {
        padding: 5px 2%;
    }
    
    header.sticky {
        padding: 7px 3%; 
    }
    section {
        padding: 75px 4% 10px;  
    }
    .home-text h1 {
         font-size: 2.5rem;
         font-weight: 700;
         line-height: 1;
         margin-bottom: 15px;
     }

     .contact-bg .text{
        font-size: 16px;
     }
    .center-texts h1 {
        font-size: 30px;
        line-height: 30px;
     }
    
    .contact-bg h2{
         margin-top: 1px;
         margin-bottom: 1px;
         font-size: 30px;
     }
} 