html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

.holder {
    max-width: 100%;
    min-height: -o-calc(100vh - 75px); /* opera */
    min-height: -webkit-calc(100vh - 75px); /* google, safari */
    min-height: -moz-calc(100vh - 75px); /* firefox */
    margin-top: 75px;
    padding-top: 15px;
    position: relative;
}

.my-carousel-item {
    height: -o-calc(100vh - 70px); /* opera */
    height: -webkit-calc(100vh - 70px); /* google, safari */
    height: -moz-calc(100vh - 70px); /* firefox */
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin-top: 70px;
}

.lazy {
    background-image: none;
    background-color: #F1F1FA;
}

p {
    text-align: justify;
    font-size: 16px;
}

#about {
    background-color: #eee;
}

.gallery {
    /* min-height: 100vh; */
    background: #eee;
    padding-bottom: 30px;
    margin-top: 20px;
}

.gallery .controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
    list-style: none;
}

.gallery .controls .buttons {
    height: 40px;
    width: 140px;
    background: #fff;
    color: #666;
    font-size: 20px;
    line-height: 40px;
    cursor: pointer;
    margin: 10px;
    box-shadow: 0 3px 5px rgba(0, 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, 0.3);
    margin: 20px;
}

.gallery .image-container .image img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.contact-in {
    padding: 40px 30px;
}

.contact-in h1 {
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 20px;
}

.contact-in h2 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
}

.contact-in h2 i {
    font-size: 16px;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background: #f5f5f5;
    color: #000;
    border-radius: 50px;
    line-height: 40px;
    text-align: center;
}

.contact-in p {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 20px;
    color: white;
}

.contact-in ul {
    padding: 0;
    margin: 0;
}

.contact-in ul li {
    list-style: none;
    display: inline-block;
    margin-right: 5px;
    margin-top: 5px;
}

.contact-in ul li a {
    display: block;
    width: 30px;
    height: 30px;
    text-align: center;
    background: #fff;
    border-radius: 50px;
}

.contact-in ul li a i {
    font-size: 14px;
    line-height: 30px;
    color: #000;
}

.contact-in form {
    width: 100%;
    height: auto;
}

.contact-in-input {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    border: 1px solid #fff;
    outline: none;
    padding-left: 5px;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    font-family: "Poppins", sans-serif;
}

.contact-in-input::placeholder {
    color: #fff;
}

.contact-in-textarea {
    width: 100%;
    height: 160px;
    margin-bottom: 20px;
    border: 1px solid #fff;
    outline: none;
    padding-top: 5px;
    padding-left: 5px;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    font-family: "Poppins", sans-serif;
}

.contact-in-textarea::placeholder {
    color: #fff;
}

.contact-in-btn {
    width: 100%;
    height: 40px;
    border: 1px solid #fff;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    font-family: "Poppins", sans-serif;
    cursor: pointer;
}

.contact-in iframe {
    width: 100%;
    height: 100%;
}

.contact-in img {
    width: 100%;
}

#contact {
    background: #24262b;
}

.ribbon {
    width: 150px;
    height: 150px;
    overflow: hidden;
    position: absolute;
}

.ribbon::before,
.ribbon::after {
    position: absolute;
    z-index: -1;
    content: "";
    display: block;
    border: 5px solid #ff0000;
}

.ribbon span {
    position: absolute;
    display: block;
    width: 225px;
    padding: 15px 0;
    background-color: #ff0000;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    color: #fff;
    font: 700 18px/1 "Lato", sans-serif;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    text-align: center;
}

/* top left*/
.ribbon-top-left {
    top: -10px;
    left: -10px;
}

.ribbon-top-left::before,
.ribbon-top-left::after {
    border-top-color: transparent;
    border-left-color: transparent;
}

.ribbon-top-left::before {
    top: 0;
    right: 0;
}

.ribbon-top-left::after {
    bottom: 0;
    left: 0;
}

.ribbon-top-left span {
    right: -25px;
    top: 30px;
    transform: rotate(-45deg);
}

.img-box {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.img-item {
    height: 30vh;
    flex-grow: 1;
    margin: 8px;
}

.img-item:last-child {
    flex-grow: 10;
}

.img-item img {
    max-height: 100%;
    min-width: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

@media (max-aspect-ratio: 1/1) {
    .img-item {
        height: 30vh;
    }
}

@media (max-height: 480px) {
    .img-item {
        height: 80vh;
    }
}

@media (max-aspect-ratio: 1/1) and (max-width: 480px) {
    .img-box {
        flex-direction: row;
    }

    .img-item {
        height: auto;
        width: 100%;
    }

    .img-item img {
        width: 100%;
        max-height: 75vh;
        min-width: 0;
    }
}

.post-cat {
    position: absolute !important;
    top: 0;
    left: 0;
    color: #fff;
    padding: 6px 15px;
    display: inline-block;
    font-size: 12px;
    position: relative;
    white-space: nowrap;
    word-wrap: normal;
    letter-spacing: 0;
    transition: 0.3s;
    border-radius: 2px;
    border-bottom-left-radius: 0;
    text-decoration: none;
}

.post-cat:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    bottom: -9px;
    left: 0;
    border-left: 0;
    border-right: 10px solid transparent;
    transition: 0.3s;
}

.post-cat.cat-1 {
    background: #08f;
}

.post-cat.cat-1:after {
    border-top: 10px solid #08f;
}
