html {
    overflow-x: hidden;
  }

body {
    font-weight: 12px;
    margin: 0 auto;
    background-color: aliceblue;
    background-attachment: fixed;
    padding-left: auto;
    
}



header {
    position: fixed;
    display: flex;
    justify-content: space-around;
    width: 100%;
    align-items: flex-end;
    font-size: 1.3rem;
    box-shadow: 4px 1px 5px lightslategray;
    z-index: 10;
    background-color: #B8E5FF;
    padding-top: 20px;
    padding-bottom: 10px;
    top: 0;
    
}

.header-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    
}

#header-img {
    width: 150px;
  
}

.menu-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 50%;
    list-style-type: none;
    
    padding: 10px;
}

.menu-list li {
    border: 1px solid white;
    background-color: #B8E5FF;
    border-radius: 20px;
    padding: 0 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.menu-list li:hover {
    background-color: lightgrey;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: black;
    
}

/*  Main part */



h1 {
    margin-top: 15%;
    text-align: center;
    font-size: 44px;
}

h2 {
    text-align: center;
    font-size: 34px;
}

#service-title {
    font-size: 50px;
    color: #EB9943;
}

.flex-intro {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: -150px 0;
}

.left-text {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 40%;
}

.right-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40%;
    font-size: 18px;
}

#years {
    font-size: 200px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    color: #EB9943;
}

#text-years {
    width: 200px;
    margin-left: 50px;
    font-weight: 600;
    font-size: 20px;
    color:grey
}

#right-text {
    font-size: 20px;
}

#service-image {
    width: 120%;
}

.service-box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
}

.smt-service, .training, .support {
    border: 1px solid grey;
    border-radius: 10px;
    width: 400px;
    background-color: white;
    margin: 20px;
    text-align: justify;
    box-shadow: 5px 6px 4px -1px rgba(0,0,0,0.46);
}

.service-text {
    margin: 10px;
}

#link-service-text {
    
    width: 100%;
    text-align: center;
    padding: 20px 0;
    color: blue;
}

#link-service-text:hover {
    background-color: #B8E5FF;
}

.contact {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    background-color: blue;
    color: white;
    padding: 40px 0px;
    margin-top: 100px;
}

.email-box, .contact-form, .name-box {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.email-box {
    margin-top: 10px;
}

#contact-text {
    font-size: 40px;
    width: 40%;
    font-weight: 600;
}

 #email, #name {
    font-size: 12px;
    padding: 5% 20%;
    margin-top: 10px;;
}

#button1 {
    border-radius: 5px;
    padding: 4% 30%;
    cursor: pointer;
    background-color: #B8E5FF;
    border: 1px solid #B8E5FF;
    font-size: 20px;
    font-weight: 500;
}


#button1:hover {
    background-color: #EB9943;
}

.note {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin: 20px 0px;
    font-size: 20px;
}

.left-note, .right-note {
    width: 40%;
}


footer {
    background-color: #EB9943;
    margin-top: -20px;
}

.footer-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-end;
}

.footer-address {
    margin-right: 0px;
}

.menu-address {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        
}

.copiright {
    text-align: center;
}

.footer-menu-list .nav-link:hover {
   color: blue;
}


.email-box-2 {
    margin-left: 25%;
}

#contactform2 {
    
    text-align: center;
}



@media (max-width: 500px) {
    .header-box {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .intro {
        margin-top: 80%;
    }

    .flex-intro {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        
    }

    h1 {
        margin-top: 70%;
    }

    #service-image {
        width: 100%;
    }

    .contact, .email-box, .contact-form, .note, .footer-menu {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        
    }

    .footer-address {
        text-align: center;
    }

    #contactform2 {
        margin-right: 70px;
        text-align: center;
    }

    
}



@media (max-width: 800px) {
    .menu-list {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    header {
        display: flex;
        justify-content: space-around;
        align-items: flex-end;
    }

    #header-img {
        margin-bottom: 30px;
    }

    .menu-list li {
        text-align: center;
    }

   .intro {
       margin-top: 20%;
       width: 100%;
   }

   .flex-intro {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
   }

   .right-text {
       margin-bottom: 200px;
       margin-top: -150px;
       width: 100%;
   }
    
   #right-text {
       margin: 0 20px;
   }

   
  
}