/*root*/

html {
    scroll-behavior: smooth;
}

.button {
    display: inline-block;
    transition: opacity 300ms ease-out,border-color 300ms ease-out,background-color 300ms ease-out,color 300ms ease-out;
    border-radius: 4px;
    padding: 16px 42px;
    cursor: pointer;
    font-size: 1rem;
    font-style: var(--font-style-base);
    font-weight: var(--font-weight-base-bold);
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
}

.button--primary {
    background-color: var(--color-primary);
    color: var(--color-on-primary)
}

.button--primary:hover {
    opacity: 0.8;
    background-color: var(--color-primary);
    color: var(--color-on-primary)
}

.frosted {
    box-shadow: 0 0 1rem 0 rgb(0 0 0 / 20%);
    background-color: rgba(255, 255, 255, .15);
    backdrop-filter: blur(2px);
}

.m25 {
    margin: 2.5rem 0rem;
}

.josuii-med-header {
    text-transform: uppercase;
    color: white;
    font-weight: 500;
    text-align: center;
}

/*navbar*/

.nav-img {
    margin-right: auto;
    width: 75px;
    height: 75px;
}

.nav-img-m {
    display: none;
}

.navbar-btn-lang {
    background: #4e6345;
    color: white;
    border: 1px solid;
    font-size: 18px;
    padding: 8px 16px;
}

.navbar-btn-lang:hover {
    background-color: white;
    color: #5a8c42;
    text-decoration: none;
    transition: opacity 300ms ease-out,border-color 300ms ease-out,background-color 300ms ease-out,color 300ms ease-out;
}

nav ul {
    font-size: 25px;
    font-weight: 500;
}

.nav-item {
    border-bottom: #ede4a500 3px solid;
}

.nav-item:hover {
    border-bottom: white 3px solid;
}

.nav-link {
    color: white;
}

.nav-link:hover {
    color: white;
}

.nav-btn {
    background-color: #4e6345;
    padding: 10px 20px;
    border-radius: 0px;
    margin-left: auto;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #f8f9fa;
}

.nav-btn:hover {
    background-color: white;
    color: #5a8c42;
    text-decoration: none;
    transition: opacity 300ms ease-out,border-color 300ms ease-out,background-color 300ms ease-out,color 300ms ease-out;
}

/*header*/

.header-m {
    display: none;
}

.header-header {
    position: relative; 
    height: 600px;
    display: grid;
}

.headerimg {
    background: url(headerbackground.jpg);
    background-size: cover;
    opacity: 0.8;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.header-text {
    position: relative;
    background-color: white;
    color: #4e6345;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    padding: 2em;
    margin-top: 24px;
}

.header-text h1 {
    font-size: 3em;
    font-weight: bold;
    margin-right: 16px;
}

.header-text h2 {
    font-size: 3em;
    font-weight: 500;
}

.header-text p {
    font-size: 1.2em;
}

.header-text-one {
    width: 100%;
    display: flex;
    align-items: center;
    text-transform: uppercase;
}

.header-text-three {
    width: 100%;
    text-align: end;
    text-transform: uppercase;
}

.header-continer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 24px
}

.header-continer i {
    font-size: 150px;
    color: white;
    margin: 0px 0.5em;
}

.header-btn {
    font-weight: bold;
}

.header-btn-a {
    padding: 16px 24px;
    font-size: 1.5em;
    border: 1px solid;
    color: white;
    text-transform: uppercase;
    margin: 24px;
    width: max-content;
}

.header-btn-a:hover {
    background-color: white;
    color: #5a8c42;
    text-decoration: none;
    transition: opacity 300ms ease-out,border-color 300ms ease-out,background-color 300ms ease-out,color 300ms ease-out;
}

/*footer*/

.josuii-footer {
    background-color: rgba(0, 0, 0, 0.2);
    margin-left: auto;
}

/*body*/

.body {
    display: grid;
    position: relative;
    transition: color 300ms ease-out,background-color 300ms ease-out;
    padding-bottom: 0;
    width: 100%;
    min-height: 100%;
    font-family: 'Myriad Pro', sans-serif !important;
    background-color: #4e6345;
}

.mainbody {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.body-top {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

/*footer*/

.footer-socials {
    padding: 0.5em;
}

/*carosuel*/

.caro-color {
    max-width: none;
}

.caro-shape {
    border-radius: 4px;
}

.carousel-item {
    height: 500px;
}

/*cards*/

.card-container {
    max-width: none;
}

.mainbody-title-card {
    padding: 16px 42px;
    font-size: 1em;
    text-align: center;
    text-transform: uppercase;
    text-align: center; 
    background-color: #4e6345;
    color: white; 
    border-radius: 4px;
    box-shadow: 3px 3px 20px #00000042; 
}

.card {
    border: none;
}

.card-desc {
    background-color: #4e6345;
    color: white;
    width: 18rem; 
    flex-direction: row; 
    margin: 0em 0.5em;
}

.card-body-container {
    flex-direction: row; 
    display: flex; 
    margin: auto; 
    justify-content: space-around;
}

.card-body {
    text-align: center;
}

.card-body img {
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    margin-bottom: 8px;
}

.card-title {
    text-transform: uppercase;
}

.card-body a {
    font-weight: 700;
    color: white;
    font-size: 20px;
}

.card-body a:hover {
    color: #ede5a5;
    text-decoration: none;
}

.card-text {
    margin-top: 8px;
}


/*about us*/

.aboutus-header {
    position: relative;
    display: grid;
}

.aboutus-headerimg {
    background-size: cover;
    opacity: 0.8;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.blurb-cont {
    display: flex;
    flex-direction: column;
}

.blurb-cont img {
    border-radius: 4px;
}

.about-blurb {
    display: flex;
    align-items: center;
    padding: 1em 2em;
    margin:1em 5em;
    width: 70%;
}

.blurb-m {
    flex-direction: column;
    align-items: center ;
    padding: 0em 0em;
    margin: 1em 2em;
    width: auto;
    max-width: 100%;
    display: none;
}

.blurb-text {
    display: flex;
    flex-direction: column;
    padding: 0em 0em;
    text-align: end;
}

.blurb-text-m {
    display: flex;
    flex-direction: row;
    padding: 0em 0em;
    margin-bottom: 8px;
    text-align: end;
}

/*gallery*/

.gallery-header {
    position: relative;
    height: 300px;
}

.img-gallery-cont {
    padding: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img-gallery-cont img {
    border-radius: 4px;
}

.img-holder {
    display: inline-block;
    padding: 10px;
}
  
.img-holder img {
    opacity: 0.95;
    cursor: pointer;
    width: 250px;
    height: 200px;
}
  
.column img:hover {
    opacity: 1;
}
  
.img-scroll {
    width: 90%;
    background-color: #5a8c42;
    overflow: auto;
    white-space: nowrap;
    padding: 10px;
}

.img-scroll:after {
    content: "";
    display: table;
    clear: both;
}
  
.img-current {
    position: relative;
}
  
#imgtext {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 20px;
}
  
.closebtn {
    position: absolute;
    right: 8px;
    color: white;
    font-size: 50px;
    cursor: pointer;
}

/* Firefox */
.img-scroll {
    scrollbar-width: auto;
    scrollbar-color: #4e6345 #ffffff;
}

/* Chrome, Edge, and Safari */
.img-scroll::-webkit-scrollbar {
    width: 16px;
}

.img-scroll::-webkit-scrollbar-track {
    background: #ffffff;
}

.img-scroll::-webkit-scrollbar-thumb {
    background-color: #4e6345;
    border-radius: 0px;
    border: 3px solid #ffffff;
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 0.5em;
    background: linear-gradient(174deg, #4e6345, #5a8c42);
}

.image-box {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-box img {
    max-width: 90%;
    max-height: 90%;
    padding-top: 1em;
}

/*service pages*/

.services-header {
    position: relative;
    height: 400px;
}

.card-body-container-services {
    flex-direction: row;
    display: flex;
    margin: auto;
    justify-content: center;
}

.card-desc-serv {
    background-color: #4e6345;
    color: white;
    width: 18rem;
    flex-direction: row;
    margin: 1em;
    justify-content: center;
}

.card-desc-serv span {
    font-weight: 700;
    color: white;
    font-size: 20px;
    text-transform: uppercase;
}

/*contact us*/

.contact-header {
    position: relative;
    height: 300px;
    display: grid;
}

.contact-me {
    display: flex;
    flex-direction: column;
}

.flex-form {
    display: flex;
    flex-wrap: wrap;
}

.form-flex-one {
    display: flex;
    flex-direction: row;
}

.contact-me label {
    font-size: 2em;
    font-weight: 500;
    text-transform: uppercase;
    color: white;
}


.form-outer {
    background: rgba(93, 126, 78, 0.979);
    box-shadow: 0px 4px 41px 9px rgba(0, 0, 0, 0.18);
    padding: 2em;
    width: 60%;
}


.form-control {
    font-size: 1.5rem;
    border: none;
    background: transparent;
    border-radius: 0px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.486);
    color: white;
}

.form-control:focus {
    background: transparent;
    border-radius: 0px;
    border: none;
    border-bottom: 2px solid rgb(255, 255, 255);
    box-shadow: none;
    color: white;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.753);
}

.contact-btn {
    background-color: #4e6345;
    padding: 10px 20px;
    border-radius: 0px;
    border: 1px solid white;
    margin-left: auto;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    color: #f8f9fa;
}

.contact-btn:hover {
    background-color: white;
    color: #4e6345;
}

#form-container {
    margin-bottom: 1em;
}


/*responsive index*/

@media (max-width: 1100px) {
    .card-desc {
        width: auto;
    }
}

@media (max-width: 700px) {
    html {
        max-width: 100%;
    }
    
    body {
        max-width: 100%;
    }

    .navbar {
        background-color: #4e6345!important;
        height: 5em;
        height: min-content;
    }

    .nav-img {
        margin-right: 0px;
        margin-left: auto;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .nav-img-m {
        display: block;
    }

    .nav-img-d {
        display: none;
    }

    nav ul {
        margin-left: 0px;
        padding: 0.25rem 0.75rem;
        padding-left: 0.75rem!important;
    }

    .nav-btn {
        display: none;
    }


    .header-header {
        width: min-content;
        align-items: center;
    }

    .header-text p {
        font-size: 1.8em;
    }


    .headerimg {
        background: url(headerbackground-m.jpg);
        background-size: cover;
    }

    .header-btn-a {
        margin-bottom: 16px;
        font-size: 2em;
    }

    .container {
        padding-left: 0px;
        padding-right: 0px;
    }

    .card {
        min-width: 50%;
    }

    .card-body {
        padding: 0rem;
    }

    .card-body-container {
        flex-wrap: nowrap;
        width: auto;
        overflow: scroll;
        justify-content: flex-start;
        margin: 0px;
    }

    .card-desc {
        width: 17rem;
    }

    .carousel-item {
        height: auto;
    }

    .body-top {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 500px) {
    
    .m25 {
        margin: 0.5em 0em;
    }
    
    .mainbody {
        padding: 12px 24px;
    }
    
    .header-text h1 {
        font-size: 1.8em;
        margin-right: 0px;
    }
    
}

/*responsive aboutus*/

@media (max-width: 700px) {

    .about-blurb {
        display: none;
    }

    .blurb-m {
        display: flex;
    }
}

/*responsive gallery*/

@media (max-width: 700px) {
    
    .gallery-header {
        display: flex;
        align-items: center;
    }

    .gallery-header h4 {
        padding: 0em 1em;
    }
    
    .img-gallery-cont {
        display: none;
    }
}

/*responsive services*/

@media (max-width: 700px) {
    
    .card-body-container-services {
        flex-wrap: nowrap;
        width: auto;
        overflow: scroll;
        justify-content: flex-start;
        margin: 0px;
    }

    .card-desc-serv {
        width: 17rem;
    }
}

@media (min-width: 768px) {
    .hero__cta-container {
        flex-direction:row;
        flex-wrap: wrap;
        margin-top: 40px
    }
}

@media (max-width: 767px) {
    .button--mobile-expand {
        display:block
    }
}

/* DEMO-SPECIFIC STYLES */
.typewriter {
    color: #fff;
    font-family: monospace;
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: .15em solid rgb(255, 255, 255); /* The typwriter cursor */
    white-space: nowrap; /* Keeps the content on a single line */
    margin: 0 auto; /* Gives that scrolling effect as the typing happens */
    letter-spacing: .15em; /* Adjust as needed */
    animation: 
      typing 3.5s steps(30, end),
      blink-caret .5s step-end infinite;
}
  
/* The typing effect */
@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}
  
/* The typewriter cursor effect */
@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: white }
}

/*responsive footer*/



/*responsive form control*/

@media (max-width: 991px) {
    .form-outer {
        width: 90%;
    }
}

@media (max-width: 500px) {
    .form-outer {
        padding: 2em 1em;
        width: 100%;
    }

    .form-control {
        font-size: 1em;
    }
}

/*responsive general*/

@media (max-width: 500px) {
    .typewriter {
        white-space: normal;
        border-right: none;
        animation: none;
    }
    
    .header-text {
        max-width: 350px;
    }
    
    .header-text h2 {
        font-size: 2em;    
    }
    
    .header-text p {
        font-size: 1.2em;
    }
    
    .header-btn-a {
        font-size: 24px;
        width: auto;
    }
    
    .card-body-container {
        width: 100%;
    }

    .josuii-med-header {
        font-size: 1.5em;
    }
}

/*header breakpoint*/

@media (max-width: 992px) {
    
        .header-m {
        display: block;
    }

    .header-d {
        display: none;
    }
    
    .navbar-toggler-josuii {
        font-size: 2em;
        color: white;
        margin: 24px 0px;
        margin-right: auto;
        border: 2px white;
        background: transparent;
    }
}

