/* VD Color:    #225D38 */
/* VD Font      Roboto Slab // Bold */

/* Bold 700
font-family: 'Roboto Slab', serif; */
/* Medium 500
font-family: 'Roboto Slab', serif; */

body, html {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    margin: 0;
    padding: 0px;
}

.content {
    padding: 18px 24px;
    text-align: left;
}

.content p {
    margin-top: 10px;
    letter-spacing: 0.08em;
    line-height: 1.6em;
}

/* Navegation Start */
.navigation-bar-container {
    position: sticky;
    height: 70px;
    background:  rgba(255, 255, 255, 0.9);
    z-index: 999;
    width: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
}

.logo-container {
    position: absolute;
    padding-left: 20px;
    float: left;
}

.logo-container a img {
    display: block;
    padding: 5px;
    width: 60%;
    cursor: pointer;
}

.logo-container a, .logo-container a:visited {
    color: #225D38;
}

.nav-container {
    max-width: 1400px;
    margin: 0px auto;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
}

.navbar {
    float: right;
}

.navbar ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    z-index: 9999;
}

.navbar ul li {
    float: left;
    position: relative;
}

.nada {
    visibility: hidden;
}

.navbar ul li a, .navbar ul li a:visited {
    display: block;
    padding: 0px 20px;
    line-height: 70px;
    background: #fff;
    color: #225D38;
    text-decoration: none;
    border-left: 1px solid #f4f4f4;
}

.right {
    border-right: 1px solid #f4f4f4;
}

.navbar ul li a:hover, .navbar ul li a:visited:hover {
    background: #f4f4f4;
    color: #225D38;
}

.navbar ul li ul li {
    min-width: 190px;
    border-bottom: 1px solid #f4f4f4;
}

.navbar ul li ul li a {
    padding: 15px;
    line-height: 20px;
}

.nav-dropdown {
    position: absolute;
    z-index: 1;
    box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.15);
    display: none;
}

.nav-mobile {
    position: absolute;
    float: right;
    top: 0px;
    right: 0px;
    background: #fff;
    height: 70px;
    width: 70px;
    display: none;
}

#nav-toggle {
    position: absolute;
    left: 10px;
    top: 22px;
    cursor: pointer;
    padding: 10px 35px 16px 0px;
}

#nav-toggle span,
#nav-toggle span:after,
#nav-toggle span:before {
    cursor: pointer;
    border-radius: 1px;
    height: 5px;
    width: 35px;
    background: #225D38;
    position: absolute;
    display: block;
    content: '';
    transition: all 300ms ease-in-out;
}

#nav-toggle span::after {
    bottom: -10px;
}

#nav-toggle span::before {
    top: -10px;
}

#nav-toggle.active span {
    background: transparent;
}

#nav-toggle.active span::after, #nav-toggle.active span::before {
    top: 0px;
}

#nav-toggle.active span::after {
    transform: rotate(-45deg);
}

#nav-toggle.active span::before {
    transform: rotate(45deg);
}
/* Navegation End */

/* Social Media Start */
.social-icons {
    margin: 0 10px;
    padding: 0 0;
    position: fixed;
    box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
    top: 40%;
    z-index: 1;
}

.social-icons ul {
    width: 100px;
    position: absolute;
    overflow: hidden;
}

.social-icons li {
    list-style-type: none;
    padding: 5px;
    transition: .6s;
    position: relative;
    cursor: pointer;
    background: #fff;
    border: 1px solid #f4f4f4;
    border-radius: 10px;
    margin-bottom: 5px;
}

.social-icons li i {
    font-size: 25px;
    color: #fff;
}

.social-icons li:hover {
    background-color: #f4f4f4;
}

.social-icons li.facebook {
    background: #3b5998;
}

.social-icons li.instagram {
    background: linear-gradient(350deg,
        rgba(255, 255, 255, 0) 0,
        rgba(244, 48, 109, 0) 36%,
        #f4306d 48%,
        #d53592 63%,
        #4258f5 100%),
    radial-gradient(circle farthest-corner at 28% 142%,
        rgba(255 , 104, 177, 0.1) 0,
        #ffffff 9%,
        #fbe18a 32%,
        #fbbb45 37%,
        #f88330 43%,
        #F86737 52%,
        #f8443e 57%,
        #f4306d 70%,
        #d53592 85%,
        #4258f5 100%);
}

.social-icons li.linkedin {
    background: #007bb5;
}
/* social Media End */

/* Subscribe Start */

.wrapper {
    background: url(../img/main_img.png);
    background-position: bottom;
    background-size: cover;
    padding-top: 60px;
    padding-bottom: 80px;
    outline: none;
    box-sizing: border-box;
    font-family: 'Roboto Slab', serif;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    letter-spacing: 2px;
}

.wrapperback {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 35px 35px;
    border-radius: 16px;
    background: rgba(122, 122, 122, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
}

.wrapper h1 {
    margin-bottom: 5px;
    font-size: 32px;
    color: rgb(0, 0, 0);
}

.wrapper p {
    margin-bottom: 20px;
    color:  rgb(0, 0, 0);
    font-size: 15px;
}

.form-control {
    margin-bottom: 10px;
    padding-bottom: 10px;
    position: relative;
}

.form-control label {
    font-size: 14px;
    color:  rgb(0, 0, 0);
}

.form-control input {
    border: 2px solid #f0f0f0;
    border-radius: 4px;
    display: block;
    font-family: inherit;
    font-size: 14px;
    padding: 10px;
    width: 100%;
}

.form button {
    background-color: #225D38;
    border: 2px solid #225D38;
    border-radius: 4px;
    color: #fff;
    display: block;
    font-family: inherit;
    font-size: 16px;
    padding: 5px;
    width: 100%;
}
/* subscribe End */

/* First start */
.firstback {
    background: url(../img/main_img.png);
    height: 80vh;
    background-size: cover;
    background-position: center center;
    /* background-attachment: fixed; */
}

.firstback h2 {
    position: absolute;
    width: 80%;
    top: 40%;
    left: 34%;
    transform: translate(-30%, -30%);
    color: #fff;
    margin: 0;
    font-family: 'Roboto Slab', serif;
    text-transform: capitalize;
    font-size: 5vw;
    text-shadow: 2px 2px rgb(88, 88, 88);
}

.firstback h3 {
    position: absolute;
    top: 49%;
    left: 30%;
    transform: translate(-30%, -30%);
    color: #fff;
    margin: 0;
    font-family: 'Roboto Slab', serif;
    text-transform: capitalize;
    font-size: 2.3vw;
    font-weight: 400;
    text-shadow: 2px 2px rgb(88, 88, 88);
}

/* Ad start */
.squareback {
    width: 100%;
    height: 100vh; 
    background: rgb(240, 240, 240);
}

.box {
    padding-top: 260px;
    padding-bottom: 30px;
    width: 70%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 15px;
    margin: 0 auto;
}

.card {
    position: relative;
    width: 350px;
    height: 375px;
    background: #fff;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow:0 2px 10px rgba(0,0,0,.2);
}

.card:before,
.card:after {
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: #fff;
    transition: 0.5s;
    z-index: 0;
}

.card:hover:before {
    transform: rotate(20deg);
     box-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.card:hover:after {
    transform: rotate(10deg);
    box-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.card .imgBx {
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: 10px;
    background: #222;
    transition: 0.5s;
    z-index: 2;
}
  
.card:hover .imgBx {
    bottom: 80px;
}

.card .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card .details {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 60px;
    text-align: center;
    z-index: 1;
}

.card .details h2 {
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: 16px;
    color: #777;
    text-transform: uppercase;
} 

.card .details h2 span {
    font-weight: 500;
    font-size: 10px;
    color: #1c82e0;
    display: block;
    margin-top: 5px;
} 
/* Square End */

/* copyright start */
.copyright-container {
    display: flex;
    background: black;
}

.copyright {
    color: #fff;
    width: 100%;
    text-align: center;
    font-family: 'Comfortaa';
    font-size: 11px;
}
/* copyright End */

@media only screen and (max-width: 1600px) {
    .box {
        width: 90%;
    }
    .card {
        width: 300px;
        height: 325px;
    }
}

@media only screen and (max-width: 1260px) {
    .box {
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .card {
        width: 250px;
        height: 275px;
        z-index: 0;
    }
}

@media only screen and (max-width: 790px) { 
    .nada {
        display: none;
    }
    .firstback h2 {
        left: 38%;
    }
    .firstback h3 {
        top: 45%;
        left: 34%;
    }
    .squareback {
        height: 85vh;
    }
    .box {
        padding-top: 130px;
        width: 80%;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .card {
        width: 250px;
        height: 275px;
        z-index: 0;
    }
    .card .details h2 {
        font-size: 15px;
    }
    .card .details h2 span {
        font-size: 12px;
    } 
    .nav-mobile {
        display: block;
    }
    .navbar {
        width: 100%;
        padding: 70px 0px 0px;
    }
    .navbar ul {
        display: none;
    }
    .navbar ul li {
        float: none;
    }
    .navbar ul li a {
        padding: 15px;
        line-height: 20px;
    }
    .navbar ul li ul li a {
        padding-left: 30px;
    } 
    .nav-dropdown {
        position: static;
    }
}

@media screen and (min-width: 799px) {
    .nav-list {
        display: block !important;
    }
}

@media only screen and (max-width: 665px) {
    .squareback {
        height: 130vh;
    }
}

/* Iphone promax 11 size 458px */

@media only screen and (max-width: 458px) {
    .firstback {
        background-size: 150vh;
    }
    .squareback {
        height: 100vh;
    }
    .box {
        width: 80%;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .card {
        width: 200px;
        height: 225px;
        z-index: 0;
    }
    .card .details h2 {
        font-size: 12px;
    }
    .card .details h2 span {
        font-size: 9px;
    }
    .newsletter .btn {
        right: 32px;
        padding: 10px 13px;
        border-radius: 20px;
        font-size: 8px;
        letter-spacing: 3px;
    }
    .newsletter .input {
        width: 72%;
        margin-left: 13px;
        padding: 20px 40px 20px 45px;
    }
    .box {
        padding-top: 20px;
        padding-bottom: 5px;
        width: 100%;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .wrapper p {
        width: 80%;
    }
}

@media only screen and (max-width: 375px) { 
    .firstback h2 {
        left: 39%;
    }
    .firstback h3 {
        left: 35%;
    }
    .squareback {
        height: 92vh;
    }
    .card .details h2 {
        font-size: 13px;
    }
    .card .details h2 span {
        font-size: 10px;
    } 
}