* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: Arial, Helvetica, sans-serif; */
    /* text-transform: capitalize; */
    transition: all .2s cubic-bezier(.34, 1.12, .68, 1.31);
}

.gallery {
    min-height: 100vh;
    background: #eee;
    padding-bottom: 100px;
}

/* .gallery {
    padding: 50px 0px 0px 0px !important;
} */

.gallery .controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 0;
    list-style: none;
}

.gallery .controls .buttons {
    height: 40px;
    width: 140px;
    background: #fff;
    color: #666;
    font-size: 20px;
    line-height: 40px;
    cursor: pointer;
    margin: 20px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
    text-align: center;
}

.gallery .controls .buttons.active {
    background: coral;
    color: #fff;
}

.gallery .image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery .image-container .image {
    height: 250px;
    width: 350px;
    overflow: hidden;
    border: 15px solid #fff;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .3);
    margin: 20px;
}

.gallery .image-container .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.gallery .image-container .image:hover img {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}



/* .overlay {
    background-color: transparent;
    opacity: 0.5;
    background-color: black !important;
} */

/* .overlay .conent {
    background-color: transparent;
} */

/* .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    -webkit-transition: opacity 0.4s ease-in-out;
    -moz-transition: opacity 0.4s ease-in-out;
    -ms-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    background: black;

}

.overlay .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;


}

.gallery .image-container .ice-cube:hover .overlay {
    opacity: 0.8;
} */
.text-gallery {
    position: relative;
    top: -155px;
    text-align: center;
    color: #000;
    background-color: #f1c40f;
    display: none;
    opacity: .9;
    animation-name: slide;
    animation-duration: 2s;
    font-size: 12px;
    margin: 0px;
}

.image:hover .text-gallery {
    display: block;
    width: 100%;
    height: 100px;
}

@keyframes slide {
    0% {
        opacity: 0;
    }

    100% {
        opacity: .9;
    }
}



/* h5.title {
    margin: 0;
}

.slider-modal {
    display: none;
    opacity: 0;
    border-top: 2px solid #083;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1) translateZ(0);
    max-width: 575px;
    width: 100%;
    background: #fff;
    z-index: 9001;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4), 0px 0px 0px 3000px rgba(0, 0, 0, 0.25);
}

.slider-modal.modal-active {
    display: block;
    -webkit-animation-name: modal-enter;
    animation-name: modal-enter;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    animation-iterations: 1;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}

.slider-modal.modal-close {
    -webkit-animation-name: modal-leave;
    animation-name: modal-leave;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    animation-iterations: 1;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}

.slider-modal .title {
    font-size: 16px;
    padding: 20px;
    font-weight: normal;
    color: #929292;
}

.slider-modal .slides {
    position: relative;
    overflow: hidden;
    height: 300px;
    width: 100%;
}

.slider-modal .slide {
    position: absolute;
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center center;
    display: inline-block;
    z-index: 1;
}

.slider-modal .slide.active {
    z-index: 3;
}

.slider-modal .slider-image-caption {
    text-align: center;
    font-size: 14px;
    color: #777;
}

.slider-modal .close-icon {
    position: absolute;
    right: 10px;
    top: 8px;
    background: transparent;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    transition: all 0.2s;
    cursor: pointer;
}

.slider-modal .close-icon:before,
.slider-modal .close-icon:after {
    position: absolute;
    content: "";
    height: 20px;
    width: 2px;
    background: #d00;
    left: 50%;
    top: 50%;
    margin-top: calc(20px / -2);
    margin-left: calc(2px / -2);
}

.slider-modal .close-icon:before {
    transform: rotate(45deg);
}

.slider-modal .close-icon:after {
    transform: rotate(-45deg);
}

.slider-modal .close-icon:active {
    background: rgba(0, 0, 0, 0.1);
}

.slider-modal .nav-arrow {
    opacity: 0.3;
    position: absolute;
    background: #fff;
    height: 30px;
    width: 30px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    z-index: 10;
    top: 50%;
    margin-top: -15px;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.slider-modal .nav-arrow:hover {
    opacity: 0.8;
}

.slider-modal .nav-arrow:before,
.slider-modal .nav-arrow:after {
    content: "";
    width: 2px;
    height: 10px;
    background: #000;
    position: absolute;
    left: 9px;
    top: 10px;
}

.slider-modal .nav-arrow:before {
    transform: rotate(50deg) translateY(-50%);
}

.slider-modal .nav-arrow:after {
    transform: rotate(-50deg) translateY(50%);
}

.slider-modal .nav-arrow.right {
    right: 20px;
    transform: rotate(180deg);
}

.slider-modal .nav-arrow.left {
    left: 20px;
}

@-webkit-keyframes modal-enter {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }

    70% {
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes modal-enter {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }

    70% {
        transform: translate(-50%, -50%) scale(1.1);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@-webkit-keyframes modal-leave {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@keyframes modal-leave {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
} */





/* Card */
.main {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
}

img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.btnnn {
    color: #ffffff;
    padding: 0.8rem;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 4px;
    font-weight: 400;
    display: block;
    width: 100%;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
}

.btnnn:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.cards {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cards_item {
    display: flex;
    padding: 1rem;
}

@media (min-width: 40rem) {
    .cards_item {
        width: 50%;
    }
}

@media (min-width: 56rem) {
    .cards_item {
        width: 33.3333%;
    }
}

.card {
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card_content {
    padding: 1rem;
    background: linear-gradient(to bottom left, #f39c12 40%, #e67e22 100%);
}

.card_title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: capitalize;
    margin: 0px;
}

.card_text {
    color: #ffffff;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.made_by {
    font-weight: 400;
    font-size: 13px;
    margin-top: 35px;
    text-align: center;
}