/* Import CSS Variables */
@import url(../../css/partials/_variables.css);

/* Import CSS Global */
@import url(../../css/partials/_global.css);

/* Import CSS Addons */
@import url(../../css/partials/_addons.css);

/* Import CSS Header */
@import url(../../css/header.css);

/* Import CSS Footer */
@import url(../../css/footer.css);


main {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
}

main .content-div {
    display: grid;
    grid-template-columns: 50% 50%;
}

main .content-div .text-holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
}

main .content-div .text-holder h1 {
    font-size: 3rem;
    text-decoration: none;
    position: relative;
    text-align: center;
}
  
main .content-div .text-holder h1::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-dark);
    transition: width 0.3s linear;
}
  
main .content-div .text-holder:hover h1::before {
    width: 100%;
}

main .content-div .text-holder p {
    font-size: 15px;
    text-align: justify;
}


main .content-div .img-holder{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-height: 40rem;
    height: 100%;
    min-height: 100%;
    background-color: aqua;
}

main .content-div .img-holder img {
    width: 100%;
    min-height: 100%;
    transition: transform 0.5s ease, filter 0.5s ease;
}

main .content-div .img-holder:hover img {
    transform: scale(1.1);
    filter: blur(3px);
}

main .content-div .img-holder .img-description {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    visibility: hidden;
    background-color: var(--color-tertiary-rgba-l);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .3s, visibility .3s;
}

main .content-div .img-holder:hover .img-description {
    visibility: visible;
    opacity: 1;
}

main .content-div .img-holder h1 {
    font-size: 3.5rem;
    transition: .3s;
    transform: translateY(1em);
}

main .content-div .img-holder:hover h1 {
    transform: translateY(0);
}


/* ============================== Media Query ============================== */

/* Special devices (landscape tablets, 1200px and up) */
@media only screen and (max-width: 1200px) {
    main .content-div .text-holder h1 {
        font-size: 2rem;
    }

    main .content-div .text-holder p {
        font-size: 14px;
    }

    main .content-div .img-holder h1 {
        font-size: 2.5rem;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 1024px) {
    main {
        gap: 1rem;
        padding-top: 0;
    }

    main .content-div {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .content-div:nth-child(2),
    .content-div:nth-child(4) {
        flex-direction: column-reverse;
    }

    main .content-div .text-holder {
        padding: 2rem 1rem;
    }

    main .content-div .img-holder{
        min-height: auto;
        max-height: 30rem;
    }
}

/* Extra small devices (phones, 413px and down) */
@media only screen and (max-width: 600px) {

}