html {
  height: 100%;
  width: 100%;
}

nav {
    width: auto;
    height: 13vh;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: rgb(27, 182, 0);
    position: sticky;
    top: 0;
    z-index: 100;
   
}


.left-sidebar {
  display: flex;
  font-size: 50px;
  margin-right: 20px;
  align-items: center;
  white-space: nowrap;
}

#left-sidebar-logo {
    width: 80px;
    height: 80px;
    
    margin-right: 12px;
}

.right-sidebar {
    display: flex;
    width: 670px;
    margin-top: 90px;
    margin-left: 400px;
    font-size: 22px;
    
}

.right-sidebar ul {
    display: flex;
}

.right-sidebar ul li {
    margin: 0 12px 0 12px;
    list-style: none;
}

.right-sidebar ul li a {
    text-decoration: none;
    color: rgba(34, 29, 29, 0.788);
    font-weight: 600;
}

.right-sidebar ul li :hover {
    color: darkgreen;
    font-size: 18px;
    transition: 0.5s;
}

.right-sidebar ul li :active {
    color: rgba(32, 72, 158, 0.96);
    font-size: 15px;
}
/*--------------------- for the top page----------------------*/

#top-page {
    background: url(images/top.jpeg);
    background-size: 100%;
    opacity: 0.8;
    width: auto;
    height: 95vh;
    position: relative;
    top: -37px;
}

.top-page-content {
    padding: 19px;
    position: absolute;
    top: 70px;
    left: 60vh;
    text-align: center;
    opacity: 1;
    color: black;
}

.top-page-body .top-page-content h6 {
    color: black;
    font-size: 30px;
    font-weight: 600;
    margin: 30px 10px 10px 0;
    word-spacing: 5px;
    padding: 41px 0 2px 0;
    
}

.top-page-body .top-page-content h1 {
    font-weight: 800;
    font-size: 60px;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 2px;
    color: blue;
}

.top-page-body .top-page-content p {
    padding: 0 0 30px 0;
    font-size: 30px;
    font-weight: 700px;
    color: #021d00;
}

button {
    background: rgba(34, 29, 29, 0.96);
    width: 120px;
    font-size: 15px;
    border-color: transparent;
    cursor: pointer;
    color: rgb(250, 253, 253);
    padding: 12px;
    font-weight: 600px;
    margin: 23px;
}

#about {
    display: flex;
    margin: 12px 12px 15px 20px;
}

.about-text {
    width: 40%;
}

.about-h1 {
    font-size: 45px;
    color: darkgreen;
    padding: 10px 0 0 0;
    width: 250px;
    margin: 0;
}

.about-p {
    margin: 18px 0 30px 0;
    font-weight: 500;
    font-size: 20px;
}

#about-image {
    width: 40%;
    margin-left: 78px;
}

.bottom-footer {
  background: darkgreen;
  border-top: 5px solid green;
  height: 100px;
  text-align: center;
  vertical-align: bottom;
  color: white;
  font-size: 18px;
  font-weight: 300;
}
/*----------------------- for the services ---------------------*/

#services {
    background: url(images/test.jpeg);
    background-size: 100%;
    
    opacity: 0.9;
    display: grid;
}

.container-services {
    width: auto;
    display: flex;
    padding: 30px;
    text-align: center;
}

#services h1 {
    color: lightgreen;
    margin-left: 20px;
}

.services-box {
    padding: 20px;
    font-size: 17px;
    border: 4px solid rgba(14, 12, 12, 0.918);
    margin: 45px;
}

.services-box h3 {
    font-size: 27px;
}

.service-discribtion {
    border-bottom: 3px solid rgba(37, 34, 34, 0.918);
    padding: 0 0 25px 0;
    margin: 0 0 17px 0;
}

.services-box h6 {
    font-size: 20px;
    margin: 3px 0 15px 0;
}


/*--------------------- for contact ---------------------------*/

#contact {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(rgba(255, 255, 255, 0.836), green);
}

.contact-text {
    width: 35%;
    font-size: 20px;
    padding: 20px;
    margin: 20px;
}

.contact-text h1 {
    padding: 0;
    margin: 0 0 25px 0;
    color: blue;
}

.contact-text p {
    padding: 0;
    margin: 0 0 18px 0;
}

.contact-logos {
    width: 230px;
    padding: 0;
    margin: 0 0 20px 0;
}

.contact-logos a {
    padding: 0;
    margin: 0 2px 0 2px;
}

.contact-logos a img {
    width: 25px;
    height: 25px;
    padding: 0;
    margin: 0 0 20px 0;
}

.contact-form {
    display: grid;
    padding: 9px;
    width: 34%;
    margin: 9px 15px 20px 0;
}

.contact-form input {
    margin: 0 0 15px 0;
    background: rgba(245, 251, 253, 0.815);
    padding: 8px;
}

#send-form {
    font-size: 17px;
    padding: 12px;
    background: rgba(14, 12, 12, 0.753);
    font-weight: 700;
    width: 123px;
    color: rgba(255, 255, 255, 0.836);
}


/*-------------------------------FOR media----------------------*/

@media screen and (max-width: 650px) {
nav {
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: space-between;
    padding: 8px;
    background: #fffffa;
    position: sticky;
    top: 0;
    z-index: 100;
}
.left-sidebar {
    width: 80px;
    display: flex;
    margin: 0;
    padding-top: 3px;
    font-size: 10px;
}
#left-sidebar-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 3px;
}
.right-sidebar {
    display: flex;
    width: 350px;
    margin: 2px 34px 0 0;
    padding-top: 3px;
}
.right-sidebar ul {
    display: flex;
}
.right-sidebar ul li {
    margin: 0 3px 0 3px;
    list-style: none;
}
.right-sidebar ul li a {
    text-decoration: none;
    color: rgba(34, 29, 29, 0.788);
    font-weight: 600;
    font-size: 12px;
}
.right-sidebar ul li :hover {
    color: rgba(36, 159, 241, 0.979);
    font-size: 10px;
}
.right-sidebar ul li :active {
    color: rgba(36, 159, 241, 0.979);
}
.login-position {
    position: relative;
    top: -6px;
}
#login-logo {
    width: 19px;
    height: 19px;
    margin-right: 2px;
     margin-top: 5px;
}
.login-text {
    color: blue;
    position: relative;
    left: 23px;
    bottom: 20px;
}
    /*----------------- top page for media---------------*/
#top-page {
    background: url(images/background\ w.jfif);
    background-size: 100%;
    opacity: 0.9;
    width: 100%;
    height: 58vh;
    position: relative;
    top: -37px;
    color: #fffffa;
}
.top-page-content {
    padding: 10px;
    position: relative;
    top: 37px;
    left: 2vh;
    text-align: center;
    opacity: 1;
}
.top-page-body .top-page-content h6 {
    font-size: 14px;
    font-weight: 600;
    margin: 8px 2px 0 0;
    word-spacing: 5px;
    padding: 3px 0 0 0;
    color: black;
}
.top-page-body .top-page-content h1 {
    font-size: 60px;
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    margin: 0;
}
.top-page-body .top-page-content p {
    padding: 0 0 15px 0;
    font-size: 12px;
    font-weight: 600px;
    color: rgb(89, 224, 241);
}
button {
    background: rgba(34, 29, 29, 0.96);
    width: 99px;
    font-size: 10px;
    border-color: transparent;
    cursor: pointer;
    color: rgb(250, 253, 253);
    padding: 4px;
    font-weight: 600px;
    margin: 1px;
}
    /* ------------------- for media about ---------------------*/
#about {
    display: grid;
    margin: 12px 9px 12px 10px;
}
.about-text {
    width: 99%;
}
.about-h1 {
    font-size: 36px;
    padding: 10px 0 0 0;
    width: 198px;
    margin: 0;
}
.about-p {
    margin: 15px 0 28px 0;
    font-weight: 500;
    font-size: 20px;
}
#about-image {
    width: 99%;
    margin: 19px;
}
    /*--------------------- for media services--------------*/
#services {
    background: url(images/website\ background\ 1.jfif);
    background-size: 100%;
    height: 40vh;
    display: grid;
}
.container-services {
    width: 100%;
    display: flex;
    padding: 2px;
    text-align: center;
}
#services h1 {
    color: rgba(20, 22, 22, 0.959);
    font-size: 18px;
    padding: 12px 0 0 0;
}
.services-box {
    padding: 3px;
    font-size: 10px;
    border: 2px solid rgba(14, 12, 12, 0.918);
    margin: 2px;
}
.services-box h3 {
    font-size: 13px;
}
.service-discribtion {
    border-bottom: 2px solid rgba(248, 243, 243, 0.959);
    padding: 0 0 8px 0;
    margin: 0 0 4px 0;
}
.services-box h6 {
    font-size: 14px;
    margin: 2px 0 4px 0;
    color: rgba(255, 255, 255, 0.911);
}
    /*--------------------- for media contact ---------------------------*/
#contact {
    display: grid;
    justify-content: space-between;
    background: linear-gradient(rgba(255, 255, 255, 0.836), rgba(183, 245, 245, 0.78));
}
.contact-text {
    width: 100%;
    font-size: 13px;
    padding: 9px 0 0 0;
     margin: 9px;
}
.contact-text h1 {
    padding: 0;
    margin: 0 0 25px 0;
}
.contact-text p {
    padding: 0;
    margin: 0 0 16px 0;
}
.contact-logos {
    width: 190px;
    padding: 0;
    margin: 0 0 12px 0;
}
.contact-logos a {
    padding: 0;
}
.contact-logos a img {
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0 20px 0;
    border-radius: 50%;
}
.contact-form {
    display: grid;
    padding: 19px;
    width: 100%;
     margin: 3px 9px 20px 0;
}
.contact-form input {
    padding: 6px;
    width: 99%;
    margin: 0 0 15px 0;
    background: rgba(245, 251, 253, 0.815);
}
#send-form {
    font-size: 13px;
    padding: 9px;
    background: rgba(14, 12, 12, 0.753);
    font-weight: 600;
    width: 88px;
    color: rgba(255, 255, 255, 0.836);
}



/* ----------------=====--------------==-- for media screen max-width 500px ---------------------*/

@media screen and (max-width: 500px) {
    nav {
        width: 109px;
        height: 98vh;
        display: grid;
        justify-content: space-between;
        padding: 10px;
        background: rgba(14, 12, 12, 0.712);
        color: #fffffa;
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .left-sidebar {
        width: 95px;
        display: flex;
        margin: 0;
        padding-top: 3px;
        font-size: 13px;
    }
    #left-sidebar-logo {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        margin-right: 3px;
    }
    .right-sidebar {
        display: grid;
        width: auto;
        position: relative;
        left: -8px;
        top: -29px;
        margin: 0;
        padding: 8px 0 10px 0;
        color: #fffffa;
    }
    .right-sidebar ul {
        display: grid;
    }
    .right-sidebar ul li {
        margin: 0 3px 0 3px;
        list-style: none;
        border-bottom: 1px solid rgba(240, 244, 245, 0.877);
        padding: 6px;
        margin: 1px 0 1px 0;
        width: 100%;
    }
    .right-sidebar ul li:last-child {
        border-bottom: transparent;
    }
    .right-sidebar ul li a {
        text-decoration: none;
        color: rgba(240, 244, 245, 0.877);
        font-weight: 600;
        font-size: 12px;
    }
    .right-sidebar ul li :hover {
        color: rgba(36, 159, 241, 0.979);
        font-size: 12px;
    }
    .right-sidebar ul li :active {
        color: rgba(36, 159, 241, 0.979);
    }
    .login-position {
        position: relative;
        top: -6px;
    }
    #login-logo {
        width: 20px;
        height: 20px;
        margin-right: 2px;
        margin-top: 5px;
        border-radius: 50%;
    }
    .login-text {
        color: rgba(149, 149, 252, 0.918);
        position: relative;
        left: 23px;
        bottom: 14px;
    }
    /*----------------- top page for media---------------*/
    #top-page {
        background: url(images/background\ w.jfif);
        background-size: 100%;
        opacity: 0.9;
        width: 88%;
        height: 50vh;
        position: relative;
        top: -87vh;
        left: 4vh;
        color: #fffffa;
        margin: 0 0 0 30px;
    }
    .top-page-content {
        padding: 6px;
        position: relative;
        top: 28px;
        left: 2vh;
        text-align: center;
        opacity: 1;
    }
    .top-page-body .top-page-content h6 {
        font-size: 9px;
        font-weight: 600;
        margin: 1px 4px 4px 0;
        word-spacing: 5px;
        padding: 0 0 2px 0;
    }
    .top-page-body .top-page-content h1 {
        font-size: 38px;
        font-family: Arial, Helvetica, sans-serif;
        padding: 0;
        margin: 6vh 0 0 0;
    }
    .top-page-body .top-page-content p {
        padding: 0 0 3px 0;
        font-size: 13px;
        font-weight: 600px;
        color: rgb(221, 242, 245);
    }
    button {
        background: rgba(34, 29, 29, 0.96);
        width: 96px;
        font-size: 10px;
        border-color: transparent;
        cursor: pointer;
        color: rgb(250, 253, 253);
        padding: 5px;
        font-weight: 600px;
        margin: 16px;
    }
    /* ------------------- for media about ---------------------*/
    #about {
        display: grid;
        margin: -86vh 0 12px 28vh;
    }
    .about-text {
        width: 96%;
    }
    .about-h1 {
        font-size: 28px;
        padding: 7px 0 0 0;
        width: 88%;
        margin: 0;
    }
    .about-p {
        margin: 15px 0 28px 0;
        font-weight: 500;
        font-size: 20px;
    }
    #about-image {
        width: 99%;
        margin: 19px;
    }
    /*--------------------- for media services--------------*/
    #services {
        background: url(images/website background 4.jfif);
        background-size: 95%;
        height: 4%;
        display: grid;
    }
    .container-services {
        width: 96%;
        display: grid;
        padding: 7px;
        text-align: center;
    }
    #services h1 {
        color: rgba(20, 22, 22, 0.959);
        font-size: 18px;
        padding: 12px 0 0 0;
    }
    .services-box {
        padding: 5px;
        font-size: 10px;
        width: 85%;
        border: 2px solid rgba(14, 12, 12, 0.918);
        margin: 16px 0 0 0;
        position: relative;
        top: 2vh;
        left: 2vh;
    }
    .services-box h3 {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.836);
    }
    .service-discribtion {
        border-bottom: 2px solid rgba(248, 243, 243, 0.959);
        padding: 0 0 8px 0;
        margin: 0 0 4px 0;
    }
    .services-box h6 {
        font-size: 14px;
        margin: 2px 0 4px 0;
        color: rgba(255, 255, 255, 0.911);
    }
    /*--------------------- for media contact ---------------------------*/
    #contact {
        display: grid;
        justify-content: space-between;
        width: 100%;
        background: linear-gradient(rgba(255, 255, 255, 0.836), lightgreen));
    }
    .contact-text {
        width: 100%;
        font-size: 13px;
        padding: 9px 0 0 0;
        margin: 9px;
        text-align: right;
    }
    .contact-text h1 {
        padding: 0;
        margin: 0 0 25px 0;
    }
    .contact-text p {
        padding: 0;
        margin: 0 0 16px 0;
    }
    .contact-logos {
        width: 190px;
        padding: 0;
        margin: 0 0 12px 30vh;
        text-align: right;
    }
    .contact-logos a {
        padding: 0;
    }
    .contact-logos a img {
        width: 20px;
        height: 20px;
        padding: 0;
        margin: 0 0 20px 0;
        border-radius: 50%;
    }
    .contact-form {
        display: grid;
        padding: 19px;
        width: 100%;
        margin: 3px 9px 20px 0;
        margin: 0 0 0 18vh;
    }
    .contact-form input {
        padding: 6px;
        width: 99%;
        margin: 0 0 15px 0;
        background: rgba(245, 251, 253, 0.815);
    }
    #send-form {
        font-size: 13px;
        padding: 9px;
        background: rgba(14, 12, 12, 0.753);
        font-weight: 600;
        width: 88px;
        color: rgba(255, 255, 255, 0.836);
    }
    textarea {
        height: 10vh;
    }
    