@media only screen and (min-width: 300px) and (max-width: 600px) {
    .main {
        width: 100%;
        height: 100%;
    }

    ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        width: 20%;
        background-color: #f1f1f1;
        position: fixed;
        height: 300px;
        overflow: auto;
    }

    li a {
        display: block;
        color: #000;
        padding: 8px 10px;
        text-decoration: none;
        font-size: 12px;
    }

    li a.active {
        background-color: #04AA6D;
        color: white;
    }

    li a:hover:not(.active) {
        background-color: #555;
        color: white;
    }

    .head {
        border: 1px solid red;
        height: 50px;
        width: 78%;
        margin-left: 22%;
    }

    .head h1 {
        text-align: center;
        margin-top: 05px;
        color: white;
        font-size: 25px;
    }


    .head span {
        color: yellow;
    }


    .about {
        width: 79%;
        height: 950px;
        display: flex;
        margin-left: 21%;
        margin-top: 40px;
        display: flex;
        flex-direction: column;
    }

    .about2 {
        width: 100%;
        height: 400px;

    }


    .about2 h1 {
        margin-left: 20px;
    }

    .about2 p {
        margin-left: 20px;
    }

    .about2 button {
        margin-left: 100px;
        margin-top: 50px;
        height: 40px;
        width: 150px;
        background-color: #000;
        color: white;
        border: none;
        font-weight: bold;
    }


    .dices {

        width: 100%;
        height: 320px;
        background-color: #04AA6D;
        margin-left: 0px;
        margin-top: 30px;
    }

    .mySlides {
        width: 100%;
        height: 300px;
    }

    .secto {
        width: 100%;
        height: 1000px;
        background-color: coral;
        margin-top: 50px;
        display: flex;
        flex-direction: column;
    }

    .sectoes {
        width: 100%;
        height: 300px;
        box-shadow: 2px 3px 5px -2px black;
        margin-left: 0px;
        margin-top: 20px;
    }

    .sectoes h1 {
        font-size: 25px;
        text-align: center;
    }

    .sectoes h2 {
        font-size: 20px;
        margin-left: 20px;
    }

    .sectoes p {
        margin-left: 20px;
    }

    .contact {
        width: 100%;
        height: 800px;
        background-color: lightblue;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
    }

    .contact2 {
        width: 100%;
        height: 400px;

    }

    .contact2 form {
        margin-left: 90px;
        margin-top: 50px;
    }


    .sectios {
        width: 100%;
        height: 250px;
        background-color: lightcyan;
        margin-top: 30px;
    }

    .sectios img {
        width: 90%;
        height: 100%;
        margin-left: 10%;
    }





    .headers{
        width: 78%;
        height: 380px;
       border-radius: 20px;
      
       margin-top: 30px;
       margin-left: 80px;
      }
      .headers h1 {
       text-align: center;
       font-size: 21px;
      }
      
      .headers p {
        text-align: center;
        font-size: 16px;
        font-family: Georgia, 'Times New Roman', Times, serif;
       }
      
      
      .headers h2 {
        text-align: center;
        font-size: 20px;
       }
      







    .footer {
        width: 100%;
        height: 1300px;
        display: flex;
        margin-top: 60px;
        background-color: #555;
        flex-direction: column;
    }

    .foot {
        width: 100%;
        height: 350px;

        margin-left: 0px;
    }

    .foot h2 {
        margin-left: 100px;
        font-weight: bold;
    }

    .foot h1 {
        font-size: 22px;
        text-align: center;
    }

    .foot a {
        margin-left: 100px;
        margin-top: 10px;
        text-decoration: none;
    }

    .foot h4 {
        margin-left: 10px;
        font-size: 17px;
    }

    .foot p {
        margin-left: 10px;
    }
}