@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Reset del Css*/
*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
}

/* Navegacion y header*/

header {
    width: 100%;
    height: 80%;
    background-image: url(images/bg-01.svg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

nav {
    height: 100px;
    max-width: 1200px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 100px;
    margin-left: 10px;
    margin-top: 70px;
}

.bar-btn {
    font-size: 25px;
    color: white;
    margin-right: 20px;
    cursor: pointer;
}

.nav-menu {
    position: fixed;
    width: 100%;
    height: 0vh;
    top: 100px;
    background: #548f00;
    text-align: center;
    transition: all 0.5s;
}

.nav-menu li {
    display: none;
    line-height: 30px;
    margin: 50px 0;
    transition: all 0.5s;
}

.nav-menu li a {
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-menu li a.active,
.nav-menu li a:hover {
    color: #6d7741;
    transition: 0.3s;
}

#check {
    display: none;
}

#check:checked ~ .nav-menu {
    height: 50%;
}

#check:checked ~ .nav-menu li{
    display: block;
}

.container {
    max-width: none;
    margin: 5%;
}

.banner-text {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.text-header {
    margin-right: 0px;
}

.text-header h1 {
    text-transform: uppercase;
    color: white;
    font-weight: 400;
    font-size: 45px;
    line-height: 55px;
}

.text-header p {
    color: white;
    font-size: 90%;
    font-weight: 400px;
    margin-top: 20px;
}

/*.btn-a{
    display: inline-block;
    margin: 25px 0;
    padding: 10px 25px;
    border: 2px solid greenyellow;
    border-radius: 25px;
    color: white;
}

.btn-a:hover {
    background-color: greenyellow;
}*/

.img-header {
    margin: auto;
}

.img-header {
    width: 200px;
}

@media (min-width: 768px) {
    .logo {
        margin-left: 0;
    }

    header {
        height: 70vh;
    }
    nav {
        height: 100px;
        margin: 0 auto;
    }
    .bar-btn {
        display: none;
    }
    .nav-menu {
        position: relative;
        height: 100px;
        top: 0;
        background: none;
        transition: none;
        text-align: right;
        margin-right: 50px;
    }
    .nav-menu li{
        display: inline-block;
        line-height: 100px;
        margin: 0 20px;
        transition: none;
    }
    .nav-menu li a {
        font-size: 14px;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
    .banner-text {
        flex-direction: row;
        margin-top: 40px;
        text-align: left;
    }
    .text-header {
        margin-right: 0px;
    }
    .text-header h1 {
        font-size: 55px;
        line-height: 60px;
    }
    .text-header p {
        margin-top: 20px;
    }
   /* .btn-a {
        margin-top: 35px;
    }*/
    .img-header {
        margin-right: 50px;
        margin-top: -50px;
    }
    .img-header img {
        width: 550px;
    }
}

/*Nosotros*/
.about {
    text-align: center;
    padding: 30px 0;
}

.about h2 {
    font-size: 45px;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.about p {
    font-size: 18px;
    font-weight: 400;
    margin: 35px;
}

.icons-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

.icon-about {
    display: flex;
    margin: 20px 50px;
}

.icon-about img {
    width: 70px;
}

.icon-text {
    text-align: left;
    margin-left: 15px;
}

.icon-text p {
    margin: 0px;
}

/*.btn-b {
    display: inline-block;
    margin-top: 20px;
    background: linear-gradient(to bottom, rgb(162,0,255), rgb(230,0,235));
    border-radius: 25px;
    padding: 14px 25px;
    color: white;
}

.btn-b:hover {
    background: linear-gradient(to bottom, rgb(255,0,153), rgb(179,0,238));
}*/

@media (min-width: 768px) {
    .about {
        padding: 120px 0px;
    }
    .icons-about {
        flex-direction: row;
        justify-content: center;
    }

    /*.btn-b {
        margin-top: 50px;
    }*/
}

/*Servicios*/
.services {
    background-color: #86b221;
    padding: 30px 0px;
}

.services-container {
    display: flex;
    flex-direction: column;
}

.services-cards {
    display: flex;
    margin-bottom: 30px;
}

.card {
    background-color: white;
    width: 250px;
    border-radius: 15px;
    margin: 0px 15px;
    padding: 20px 35px;
}

.card img {
    width: 75px;
}

.services-txt {
    margin-left: 0px;
    text-align: center;
}

.services-txt h2 {
    font-size: 40px;
    text-transform: uppercase;
    color: white;
    margin-bottom: 15px;
}

.services-txt p {
    font-size: 18px;
    color: white;
    margin-right: 0px;
}

.btn-c {
    display: inline-block;
    margin: 35px;
    padding: 10px 30px;
    border: 1px solid white;
    color: white;
    border-radius: 15px;
}

.btn-c:hover {
    background-color: white;
    color: greenyellow;
}

@media (min-width: 768px) {
    .services-container{
        flex-direction: row;
        justify-content: center;
    }
    .services {
        background-image: url(images/section.svg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        padding: 70px 0;
    }
    .services-txt {
        text-align: left;
        margin-left: 75px;
    }

    .services-txt p {
        margin-right: 75px;
    }
}

/*Porfolio*/
.porfolio {
    padding: 0px;
}

.container-porfolio {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-porfolio h2 {
    font-size: 45px;
    margin-bottom: 20px;
}

.p-txt {
    text-align: center;
    margin: 0xp 0px 30px 0px;
}

.content-porfolio {
    display: flex;
    text-align: center;
    margin: 0px 0px 50px 0px;
}

.img-01 {
    margin-right: 0px;
    width: 0px;
}

.img-02 {
    margin-left: 0px;
    width: 0px;
}

.img-03 {
    margin-right: 0px;
    width: 0px;
}

.txt-porfolio {
    align-self: center;
}

.txt-porfolio {
    font-size: 22px;
    margin-bottom: 20px;
}

.txt-porfolio p {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .porfolio{
        padding: 50px 0px;
    }
    .p-txt {
        text-align: center;
        margin: 0px 200px 70px 200px;
    }
    .container-porfolio h2 {
        margin-bottom: 40px;
    }
    .container-porfolio {
        display: flex;
        text-align: left;
        margin: 0px 150px 150px 150px;
    }

    .img-01 {
        margin-right: 50px;
        width: 250px;
    }
    
    .img-02 {
        margin-left: 50px;
        width: 300px;
    }
    
    .img-03 {
        margin-right: 50px;
        width: 300px;
    }
}

/*Footer*/
.footer {
    background-image: url(images/foot.svg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 0px;
    align-items: center;
    justify-content: center;
    display: flex;
}

form {
    padding: 50px 55px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    text-align: center;
    width: 340px;
    background-color: white;
}

form h2 {
    color: #86b221;
    font-size: 25px;
}

.form-txt {
    display: flex;
    justify-content: space-between;
}

.form-txt a{
    color: #86b221;
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 25px;
}

.form-tx a:hover {
    color: #548f00;
}

.input-group {
    display: flex;
    flex-direction: column;
}

input , textarea {
    font-family: "Poppins", sans-serif;
    background-color: #86b221;
    padding: 20px 14px;
    margin-bottom: 25px;
    border: 0;
    border-radius: 10px;
    font-size: 15px;
    color: white;
}

::placeholder {
    color: white;
    font-size: 15px;
}

:focus {
    outline: 1px solid #86b221;
}

.btn-d {
    background-color: #86b221;
    color: white;
    font-size: 17px;
    cursor: pointer;
}

.btn-d:hover {
    background-color: #548f00;
}


@media (min-width: 768px) {
    .footer {
        padding: 30px;
    }

    form {
        width: 50%;
    }
}