html,
body {
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}


/*menu buttons*/
.menu {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: rgba(0, 161, 121, 0.743);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.4);
    color: rgb(255, 255, 255);
    transform: translateY(-7px);
    font-size: 20px;
    font-weight: 100;
    border-radius: 30px;
    padding: 5px 15px 5px;
}

.menu:hover {
    transition: color 500ms ease-in-out;
    color: rgb(255, 255, 255);
    background-color: rgba(0, 161, 121, 0.743);
    transition-duration: 0.3s;
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

.menuServicii {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: rgba(255, 255, 255, 0.743);
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.4);
    color: rgb(0, 0, 0);
    transform: translateY(-7px);
    font-size: 20px;
    font-weight: 100;
    border-radius: 30px;
    padding: 5px 15px 5px;
}

.menuIcon {
    width: 50px;
    height: 50px;
    visibility: hidden;
}

.menuIcon-line {
    background-color: rgba(255, 255, 255, 0.75);
    height: 8px;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 20px;
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);

}

/*logo and home video*/
.hero {
    width: 100%;
    height: 25vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

nav .logo {
    width: 100px;
}

nav ul li {
    list-style: none;
    display: inline-block;
    margin-left: 26px;
    vertical-align: middle;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 17px;
    font-weight: 600;


}


.content {
    text-align: center;
}

.content h1 {
    font-size: 160px;
    color: #fff;
    font-weight: 600;
    transition: 0.5s;

}

.content h1:hover {
    -webkit-text-stroke: 2px #fff;
    color: transparent;
}


.content a {
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-size: 24px;
    border: 2px solid #fff;
    padding: 14px 70px;
    border-radius: 50px;
    margin-top: 20px;
}

.content a:hover {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    transition-duration: 0.3s;
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);

}

video {
    min-height: 100%;
    min-width: 100%;
    right: 0;
    bottom: 0;
    position: fixed;
}

.back-video {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    /*not to be modified*/
}

@media (min-aspect-ratio: 16/9) {
    .back-video {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    .back-video {
        width: auto;
        height: 100%;
    }
}

.sau2 {
    height: auto;
    margin: auto;
    width: 20%;
}

/*media compatibility*/
@media only screen and (max-width: 1174px) {
    .content h1 {
        font-size: 50px;
    }
}



/*services*/
.servicesColumn {
    float: left;
    width: 33.33%;
    padding: 8px;
    box-sizing: border-box;
}

.servicesColumn:after {
    content: "";
    display: table;
    clear: both;
}

.card {
    -webkit-transition: 0.3s;
    transition: 0.3s;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    padding: 10px;
}

.card:hover {
    box-shadow: 0 16px 32px 0 rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 255, 191, 0);
}

.cardHeader {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
}

.cardText {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    text-align: justify;
    padding-top: 1.5rem;
    padding: 20px;
    padding-bottom: 2rem;
}

.cardPrice {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    text-align: center;
    padding-bottom: 2rem;
}

.card>img {
    border-radius: 5px 5px 0 0;
    width: 100%;
}

.card a {
    background-color: rgb(0, 161, 121);
    display: block;
    text-align: center;
    text-decoration: none;
    width: 50%;
    margin: 0 auto;
    border-radius: 30px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    padding-top: 1rem;
    padding-bottom: 1rem;


}

.card a:hover {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    transition-duration: 0.3s;
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);

}


@media only screen and (max-width: 600px) {
    .servicesColumn {
        width: 100%;
    }
}

/*contact*/
.container {
    width: 100%;
    padding-top: 5rem;
    margin-bottom: 2rem;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

label {
    display: inline-block;
}


form {
    background: #fff;
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
    display: flex;
    flex-direction: column;
    padding: 2vw, 4vw;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
}

form h3 {
    color: rgb(0, 0, 0);
    font-weight: 800;
    font-size: 50px;
    margin-bottom: 20px;
}

form input,
form textarea {
    width: min(10vw + 60%, 210px);
    max-width: 20rem;
    resize: none;
    border: 0;
    margin: 10px 0;
    padding: 20px;
    outline: none;
    background: #f5f5f5;
    font-size: 16px;
    border-radius: 30px;
    text-align: left;
}

form button {
    background-color: rgb(0, 161, 121);
    text-decoration: none;
    display: inline-block;
    color: rgb(255, 255, 255);
    font-size: 18px;
    border: 2px solid rgb(255, 255, 255);
    padding: 14px 70px;
    border-radius: 50px;
    margin-bottom: 20px;
}

form button:hover {
    background-color: rgb(0, 161, 121);
    color: rgb(255, 255, 255);
    transition-duration: 0.3s;
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
    border-color: rgb(0, 161, 121);
}

.formfield * {
    vertical-align: middle;
}

/*footer*/
.footer-basic {
    padding: 40px 0;
    background-color: #ffffff;
    color: #4b4c4d;
}

.footer-basic ul {
    padding: 0;
    list-style: none;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 0;
}

.footer-basic li {
    padding: 0 10px;
}

.footer-basic ul a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
}

.footer-basic ul a:hover {
    opacity: 1;
}

.footer-basic .social {
    text-align: center;
    padding-bottom: 25px;
}

.footer-basic .social>a {
    font-size: 24px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    padding: 2rem;
    margin: 0 8px;
    color: inherit;
    opacity: 0.75;
}

.footer-basic .social>a:hover {
    opacity: 0.9;
}

.footer-basic .copyright {
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 0;
}

.footer-basic .requirement {
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 0;
}

/*scroll animation*/
.scrollContainer {

    text-align: center;
    font-size: 50px;
    color: rgb(0, 0, 0);
    font-weight: 600;
    transition: 0.5s;
}

.scrollContainer>a {
    padding: 500px 500px 500px;
}

@media screen and (max-width: 500px) {
    nav {
        float: none;
        display: block;
        text-align: left;
        position: absolute;
    }

    nav ul li {
        list-style: none;
        display: inline-block;
        margin-left: 40px;
        margin-top: 20px;
    }
}

/*rotating gear*/
.smallGear {
    transform-origin: center;
    width: 50px;
}

.bigGear {
    transform-origin: center;
    width: 100px;
}

.gearColumn {
    display: inline-block;
    text-align: center;
}

.gearRow {
    text-align: center;
    margin-bottom: 3rem;
}

.gearLeft img {
    width: 100%;
    height: 100%;
}

.gearRight img {
    width: 100%;
    height: 100%;
}

.gearRow::after {
    content: "";
    display: table;
    clear: both;
}

/*servicii text*/

.handwriting {
    transform-origin: center;
    width: 50%;
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin: 0 auto;
    height: auto;
    animation-duration: 3s;
    animation-name: slidein;
}
  
  @keyframes slidein {
    from {
      margin-left: 100%;
      width: 50%;
    }
  
    to {
      margin-left: 50%;
      width: 50%;
    }
  }

.serviciiColumn {
    float: left;
    width: 33.3%;
    padding: 8px;
}

.price {
    list-style-type: none;
    border: 1px solid #eee;
    margin: 0;
    padding: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.price:hover {
    box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.2);
}

.price .header {
    background-color: #111;
    color: white;
    font-size: 25px;
}

@media only screen and (max-width: 600px) {
    .columns {
        width: 100%;
    }
}

@media only screen and (max-width: 1002px) {
    .menuServicii {
        display: none;
    }
    .menu {
        display: none;
    }
    .menuIcon {
        visibility: visible;
        margin-left: 60px;
    }
    nav {
        margin-left: 0px;
    }
    nav ul {
        margin: 0 auto;
        padding: 0px;
        text-align: right;
        display: inline-block;

    }
    nav ul li {
        margin: 0 auto;
    }
    nav img {
        width: 50%;
        display: inline-block;
    }
    form h3 {
        font-size: 40px;
    }
}

/*overlay menu*/
.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    overflow-y: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: left;
    margin-top: 30px;
    margin-left: 20px;
}

.overlay a {
    padding: 20px;
    font-size: 3rem;
    text-decoration: none;
    color: rgba(0, 0, 0, 0.7);
    display: block;
    transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
    color: #000000;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

      
  .tractor {
    width: 15%;
  }

  .text p {
        padding-left: 5rem;
        padding-right: 5rem;
        font-family: Helvetica, 'Poppins', sans-serif;
        font-size: 16px;
        text-align: justify;
        text-indent: 4rem;
        line-height: 1.8rem;
  }

  .road {
    width: 100%;
    z-index: -1;
  }

  .terms-container h1 {
    font-family: Helvetica, 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .terms-container p {
    font-family: Helvetica, 'Poppins', sans-serif;
    font-weight: 100;
    font-size: 1rem;
    padding-left: 2rem;
    text-indent: 1rem;
    line-height: 1.5rem;
    padding-right: 2rem;
  }


.socialoverlay>a {
    font-size: 24px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    text-align: center;
    border-radius: 50%;
    padding: 1rem;
    color: inherit;
    opacity: 0.75;
}

.socialoverlay>a:hover {
    opacity: 0.9;
}

.socialoverlay>p {
    margin-top: 10px;
    text-align: left;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 0;
}

.socialoverlay>.copyright-overlay {
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 0;
}

  