/*-------HOME----------*/
body.home1111 {
    background-color: #6CA64E;
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.cute-hero-image {
    background-image: linear-gradient(rgb(0 0 0 / .423), rgb(0 0 0 / .407)), url(../images/male-photographer.webp);
    width: 100%;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin-top: 45px;
}

.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.cute-text-h1 {
    font-size: 50px;
}

.cute-text-b a {
    color: #000;
}

.cute-text-b {
    border: none;
    border-radius: 10px;
    outline: 0;
    display: inline-block;
    padding: 10px 25px;
    margin: 10px auto;
    background-color: #ddd;
    text-align: center;
    cursor: pointer;
}

.cute-text-b:hover a {
    color: #fff;
}

.cute-text-b:hover {
    background-color: #555;
}

.cute-section1 {
    display: flex;
    flex-wrap: wrap;
}

article {
    flex: 1 1 33.33%;
    padding-left: 1em;
    padding-right: 1em;
}

.cute-sect-h3 {
    margin: 15px auto;
}

@media screen and (max-width:768px) {
    article {
        flex: 1 1 50%;
    }
}

@media screen and (max-width:515px) {
    article {
        flex-basis: 100%;
    }
}

.section1 {
    margin-bottom: 15px;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0 4px;
}

.column {
    -ms-flex: 25%;
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

@media screen and (max-width:800px) {
    .column {
        -ms-flex: 50%;
        flex: 50%;
        max-width: 50%;
    }
}

@media screen and (max-width:600px) {
    .column {
        -ms-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }
}

/*---------ABOUT----------*/
body.about1111 {
    background-color: #474e5d !important;
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.about-hero-image {
    background-image: linear-gradient(rgb(0 0 0 / .423), rgb(0 0 0 / .407)), url(https://elbiah.com/wp-content/uploads/2021/11/header-hero-1.jpg);
    width: 100%;
    height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
}

.about-hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
}

.about-hero-text h1 {
    font-size: 50px;
    padding-top: 45px;
}

.row-about {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding: 20px;
    width: 100%;
    margin: 0 auto;
    background-color: #595917;
}

.column-about {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.about-h2 {
    text-align: center;
    color: #FAFAFA;
}

.about-staff {
    text-align: left;
    color: #FAFAFA;
}

.about-phrase {
    font-size: 1rem;
    line-height: 1.6;
}

.about-card img {
    width: 100%;
}

.about-card {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgb(0 0 0 / .1);
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background-color: #474e5d;
}

.about-section {
    padding: 50px 20px 50px 20px;
    margin-top: 0;
    text-align: center;
    color: #fff;
}

.text1 {
    font-size: 1rem;
    line-height: 1.6;
}

.about-section1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
    margin: 0 auto;
    width: 100%;
    background-color: #595917;
}

.write-about {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgb(0 0 0 / .1);
    background-color: #474e5d;
}

.about-subtite {
    margin: 15px auto;
    text-align: center;
    font-size: 1.6rem;
    font-weight: bolder;
}

.piva {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 0;
}

ol.vatext {
    margin-top: 10px;
    margin-bottom: 0;
    margin-left: 25px;
}

ol.vatext li.priva {
    margin-bottom: 0;
    list-style-type: decimal;
}

ol.vatext li.priva:last-child {
    margin-bottom: 7px;
}

.container-about {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.container-about::after,
.row-about::after {
    content: "";
    clear: both;
    display: table;
}

.title-about {
    color: #FFFFA3;
}

.reach-button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    background-color: #000;
    color: #fff;
    text-align: center;
    cursor: pointer;
    width: 100%;
    border-radius: 10px;
}

.button-wrapper {
    margin-top: auto;
}

.reach-button:hover {
    background-color: #555;
    color: #fff;
}

@media screen and (max-width:1024px) {
    .about-hero-image {
        height: 50vh;
    }

    .about-hero-text h1 {
        font-size: 40px;
        padding-top: 30px;
    }

    .about-section {
        padding: 30px;
    }

    .text1,
    .about-phrase,
    .vatext {
        font-size: 1.2rem;
    }

    .about-section1 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .column-about {
        flex: 1 1 calc(50% - 15px);
    }

    .about-subtite {
        font-size: 2rem;
    }
}

@media screen and (max-width:767px) {
    .about-hero-image {
        height: 40vh;
    }

    .about-hero-text h1 {
        font-size: 30px;
        padding-top: 20px;
    }

    .about-section {
        padding: 20px;
    }

    .about-section1 {
        grid-template-columns: 1fr;
    }

    .column-about {
        flex: 1 1 100%;
    }

    .text1,
    .about-phrase,
    .piva,
    .title-about,
    .vatext {
        font-size: .9rem;
        line-height: 1.5;
    }

    .about-h2 {
        font-size: 1.5rem;
    }

    .about-subtite {
        font-size: 1.3rem;
    }

    .about-card {
        padding: 15px;
    }

    .container-about h2.about-staff {
        font-size: 1.2rem;
    }

    .reach-button {
        padding: 6px;
        font-size: .9rem;
    }
}

/*---------PORTFOLIO------------*/
body.folio1111 {
    background: no-repeat;
    background-size: cover;
    overflow-x: hidden;
}

.portfo {
    width: 100%;
    margin: 0;
    padding-top: 52px;
    display: flex;
    flex-direction: column;
}

#header {
    min-height: 70vh;
    width: 100%;
    display: flex;
    background-position: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.text-box {
    width: 90%;
    color: #fff;
    padding: 20px;
}

.anime {
    font-size: 2.5rem;
    animation: flash 1s 5;
    margin-bottom: 10px;
    line-height: 1.2;
}

.nanime {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.nanime1 {
    margin: 15px 0 30px;
    font-size: 1rem;
    color: #fff;
    line-height: 1.6;
}

.hero-btn,
.project-btn,
.project-btn1,
.request-session-link {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #525252;
    padding: 10px 24px;
    font-size: .9rem;
    background: #fff0;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    border-radius: 20px;
    background-color: #525252;
    margin-bottom: 5px;
}

.hero-btn:hover,
.project-btn:hover,
.project-btn1:hover {
    border-color: #363636;
    background-color: #363636;
}

.request-session-link {
    width: fit-content;
    margin: 10px auto;
}

.request-session-link:hover {
    color: yellowgreen;
    text-decoration: underline;
}

.video-cover {
    position: fixed;
    overflow: hidden;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}

.anime2,
.anime3 {
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.anime2 {
    font-size: 2rem;
    margin-top: 15vh;
    margin-bottom: 30px;
}

.projectmail {
    color: greenyellow;
    text-decoration: underline;
    font-size: 1rem;
}

#portfolio,
#contact {
    text-align: center;
}

.portfolio-text,
.contact-text {
    margin-bottom: 30px;
}

.cards {
    max-width: 1200px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
}

.card {
    background-color: #121212;
    color: #fff;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
}

.project-2-img {
    max-width: 100%;
    max-height: 70%;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 6px;
    transition: opacity 0.3s ease-in-out;
}

.card img:hover {
    opacity: .9;
}

.button-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.project-btn {
    padding: 10px 20px;
    text-align: center;
    width: 80%;
    margin-bottom: 8px;
    font-size: .85rem;
}

.request-session-link {
    padding: 10px 20px;
    text-align: center;
    width: 80%;
    margin-bottom: 8px;
    font-size: .85rem;
}

.project-btn1 {
    margin: 20px auto;
    padding: 12px 34px;
    text-align: center;
    width: 20%;
}

.contact-text {
    text-align: center;
    margin-top: 30px;
}

.anime2,
.projectmail,
.project-btn1,
.anime3 {
    display: block;
    margin: 15px auto;
    text-align: center;
}

@keyframes flash {
    25% {
        opacity: 1;
        color: blue;
    }

    50% {
        opacity: 1;
        color: red;
    }

    100% {
        opacity: 1;
        color: green;
    }
}

@media (max-width:767px) {
    #header {
        min-height: 70vh;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 120px;
    }

    .portfo {
        padding-top: 0;
    }

    .text-box {
        padding: 15px;
    }

    .anime {
        font-size: 2.2rem;
    }

    .nanime {
        font-size: 1.1rem;
    }

    .nanime1 {
        font-size: .95rem;
        margin: 10px 0 20px;
    }

    .hero-btn,
    .project-btn,
    .project-btn1,
    .request-session-link {
        padding: 8px 20px;
        font-size: .8rem;
        width: 45%;
    }

    .cards {
        grid-template-columns: 1fr;
        grid-gap: 15px;
        padding: 0 12px;
    }

    .card {
        aspect-ratio: auto;
    }

    .project-2-img {
        max-height: none;
    }

    .button-container {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    .project-btn,
    .request-session-link {
        margin: 5px 0;
        width: 90%;
    }

    #contact .project-btn1 {
        width: 90%;
        max-width: 320px;
    }

    .anime2 {
        font-size: 1.9rem;
        margin-top: 10vh;
    }

    .anime3>a.projectmail {
        font-size: .9rem;
    }
}

@media (min-width:768px) and (max-width:991px) {
    #header {
        min-height: 80vh;
    }

    .anime {
        font-size: 3rem;
    }

    .nanime {
        font-size: 1.3rem;
    }

    .nanime1 {
        font-size: 1rem;
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 20px;
    }

    .button-container {
        flex-direction: row;
        justify-content: center;
    }

    .project-btn,
    .request-session-link {
        width: auto;
        margin: 0 5px;
    }

    .anime2 {
        font-size: 2.1rem;
        margin-top: 15vh;
    }

    .anime3>a.projectmail {
        font-size: .95rem;
    }
}

@media (min-width:992px) {
    #header {
        min-height: 75vh;
    }

    .anime {
        font-size: 3.5rem;
    }

    .nanime {
        font-size: 1.5rem;
    }

    .nanime1 {
        font-size: 1.1rem;
    }

    .cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        grid-gap: 20px;
    }

    .button-container {
        flex-direction: row;
        justify-content: center;
    }

    .project-btn,
    .request-session-link {
        margin: 0 10px;
    }

    .anime2 {
        font-size: 2.3rem;
        margin-top: 20vh;
    }

    .anime3>a.projectmail {
        font-size: 1rem;
    }
}

@media (max-width:375px) {
    .anime {
        font-size: 2rem;
    }

    .nanime {
        font-size: 1rem;
    }

    .nanime1 {
        font-size: .9rem;
    }

    .hero-btn,
    .project-btn,
    .project-btn1,
    .request-session-link {
        font-size: .75rem;
        padding: 6px 15px;
    }
}

/*---------GALLERY----------*/
body.galy1111 {
    background-color: #222;
    color: #fff;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Keep footer at the bottom on tall screens (Gallery page)*/ 
body.galy1111 .build-footer {
    margin-top: auto;
}

.galy-text {
    margin-top: 10%;
}

.galy-text-h1 {
    font-size: 2.5rem;
    margin-top: -1.6%;
    padding-top: 25px;
    text-align: center;
}

.galy-text-h2 {
    text-align: center;
}

.galy-text-p1 {
    max-width: 1000px;
    margin: auto;
    font-size: 1.2rem;
    padding-bottom: 20px;
}

.galy-text-p1 a {
    cursor: pointer;
    color: rgb(255, 225, 0);
    text-decoration: underline;
}

.galy-container {
    position: relative;
    max-width: 700px;
    margin: auto;
    margin-top: 20px;
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.galy-numbertext {
    position: absolute;
    top: 0;
    color: #fff;
    background: rgb(0 0 0 / .5);
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 3px;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    transition: 0.6s ease;
    background: rgb(0 0 0 / .5);
    border-radius: 3px;
}

.prev:hover,
.next:hover {
    background-color: rgb(0 0 0 / .8);
}

.next {
    right: 0;
    border-radius: 3px 0 0;
}

.galy-caption-container {
    text-align: center;
    padding: 8px 16px;
    background: #413f3f;
    color: #fff;
    border-radius: 8px;
    margin-top: 10px;
}

.galy-row {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.galy-column {
    flex: 16.66%;
    padding: 5px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.galy-column img {
    width: auto;
    max-width: 100%;
    border-radius: 5px;
    cursor: pointer;
}

.galy-column img:hover {
    opacity: .7;
}

/* Portfolio slideshow */

.portfo {
    padding-top: 52px;
    padding-bottom: 40px;
}

.slideshow-container {
    position: relative;
    max-width: 1100px;
    margin: 40px auto 0 auto;
    box-shadow: 0 0 20px rgb(0 0 0 / .6);
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgb(0 0 0 / .35);
}

.slideshow-container .mySlides {
    display: none;
    position: relative;
    height: 100%;
}

.slideshow-container .mySlides img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.slideshow-container .numbertext {
    position: absolute;
    top: 10px;
    left: 15px;
    padding: 4px 8px;
    font-size: 13px;
    color: #fff;
    background: rgb(0 0 0 / .5);
    border-radius: 3px;
}

.slideshow-container .text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    text-shadow: 0 0 6px rgb(0 0 0 / .8);
}

.slideshow-container .prev,
.slideshow-container .next {
    bottom: 20px;
    top: auto;
    margin-top: 0;
    transform: none;
    background: rgb(0 0 0 / .5);
    border-radius: 50%;
}

.slideshow-container .prev {
    right: 70px;
}

.slideshow-container .next {
    right: 20px;
}

.dot-folio {
    text-align: center;
    margin: 10px 0 0 0;
    color: #fff;
}

.dot-folio .dot {
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
    font-size: 16px;
    opacity: .7;
}

.dot-folio .dot:hover,
.dot-folio .dot.active {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width:768px) {
    .slideshow-container {
        max-width: 100%;
        margin: 20px auto 0 auto;
        aspect-ratio: 4 / 3;
    }

    .slideshow-container .mySlides img {
        height: 100%;
    }

    .slideshow-container .text {
        font-size: 14px;
        bottom: 12px;
    }
}

.demo {
    opacity: .6;
    cursor: pointer;
    transition: opacity 0.3s;
}

.active,
.demo:hover {
    opacity: 1;
}

@media (max-width:600px) {
    .galy-text {
        margin-top: 22%;
    }

    .galy-text-h1 {
        font-size: 2rem;
    }

    .galy-text-p1 {
        font-size: 1.2rem;
        padding: 0 10px;
    }

    .galy-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .prev,
    .next {
        font-size: 14px;
        padding: 10px;
    }

    .galy-column {
        flex: 50%;
    }
}

@media (min-width:601px) and (max-width:1024px) {
    .galy-text {
        margin-top: 15%;
    }

    .galy-text-h1 {
        font-size: 2rem;
    }

    .galy-text-p1 {
        font-size: 1.2rem;
        padding: 0 10px;
    }

    .galy-container {
        max-width: 100%;
        padding: 0 10px;
    }

    .prev,
    .next {
        font-size: 16px;
        padding: 10px;
    }

    .galy-column {
        flex: 50%;
    }
}

/*---------SERVICES----------*/
body.service1111 {
    background-color: #AACFD4;
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.services-hero-image {
    background-image: linear-gradient(rgb(0 0 0 / .423), rgb(0 0 0 / .407)), url(../images/services-hero.jpg);
    height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
}

.services-hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
}

.services-hero-text h1 {
    font-size: 50px;
    padding-top: 45px;
}

.services-section {
    margin: 0;
    padding: 0;
    background-image: url(../images/brick-frame33.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #5a5a5a;
    background-blend-mode: multiply;
    background-position: center;
    color: #fff;
}

.services-h3 {
    text-align: center;
    text-transform: uppercase;
}

#services-i,
#services-i2,
#services-i3,
#services-i4,
#services-i5,
#services-i6 {
    font-size: 3rem;
    color: lightgreen;
    padding: 1rem;
    transition: all 0.3s linear;
    transform: rotate(-45deg);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.service-card {
    cursor: pointer;
    width: 300px;
    margin: 20px;
    padding: 2rem 20px 20px 20px;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.icon-container {
    border: 2px solid lightgreen;
    transition: 0.3s linear;
    width: max-content;
    margin: 0 auto;
    transform: rotate(45deg);
}

.service-card:hover {
    box-shadow: 0 0 30px 0 lightgreen;
    transform: scale(1.1);
}

.service-card a {
    color: lightgreen;
    text-decoration: none;
}

/* Services page responsive gallery under cards */

.responsive-gallery {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    box-sizing: border-box;
}

.responsive {
    flex: 1 1 25%;
    max-width: 25%;
    box-sizing: border-box;
}

.gallery {
    position: relative;
    overflow: hidden;
    background-color: #111;
    text-align: center;
    height: 260px; /* fixed row height so images cover top & bottom */
}

.gallery .image-gallery {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery .desc {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    font-size: 1rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

@media (max-width: 600px) {
    .responsive {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .gallery {
        height: 220px;
    }

    .responsive-gallery {
        flex-wrap: wrap;
    }
}

@media (max-width:768px) {
    .service-card {
        width: 100%;
    }

    .services-hero-text h1 {
        font-size: 35px;
    }
}

/*---------BLOG----------*/
body.blog1111 {
    background-color: #DFF0D8;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.toper {
    margin-top: 8%;
    padding: 5px;
    font-size: 40px;
    text-align: center;
    background: #495A5A;
    color: #fafafa;
}

/* Blog page heading (replaces inline styles) */
.blog-title {
    text-align: center;
    margin: 0;
}

.toper, .wor {
    margin-left: 15px;
    margin-right: 15px;
}

.colleft {
    float: left;
    width: 75%;
}

.colright {
    float: left;
    width: 25%;
    padding-left: 20px;
}

.theimg,
.theimg1,
.theimg2 {
    background-color: #aaa;
    width: 100%;
    padding: 20px;
}

.theimg1 img {
    height: 20vh;
    width: auto;
}

.theimg2 img,
.theimg img {
    height: 15vh;
    width: 45%;
}

.smallest {
    background-color: #495A5A;
    padding: 20px;
    margin-top: 20px;
    color: #fafafa;
}

.smallest p {
    margin-top: 5px;
}

.smallest p>a {
    color: #FFFFE0;
}

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

@media (max-width:600px) {
    #main-blogcontent {
        padding-top: 43px;
    }

    .colleft,
    .colright {
        width: 100%;
        padding: 0;
    }

    .toper {
        margin-top: 29%;
    }

    .blog-title {
        font-size: 1.5rem;
        padding-bottom: 35px;
    }
}

@media (min-width:601px) and (max-width:900px) {
    #main-blogcontent {
        padding-top: 43px;
    }

    .colleft,
    .colright {
        width: 100%;
        padding: 0;
    }

    .toper {
        margin-top: 16%;
    }
}