/*Import font*/

@font-face {
    font-family: "Popins";
    src: url("/testZone/projects/responsiveTemplate/lib/Poppins/Poppins-Regular.ttf") format("truetype");
}


/*Common tag review*/

body {
    font-family: Popins;
}

ul {
    padding: 0px;
}

li {
    list-style-type: none;
    margin-left: 10px;
    margin-right: 10px;
}

a {
    text-decoration: none;
    color: #000000;
}


/*Custom tag*/

.cb-h2 {
    font-size: 20px;
}


/*Navabar*/

.cb-navbar {
    position: fixed;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 30vmin;
    background-color: #5F9EA0;
    font-size: 16px;
}

.cb-navbar ul li {
    cursor: pointer;
}

.cb-navbar .submenuLink {
    margin-left: 15px;
}

.cb-navbar .submenu {
    background-color: #85cacc;
}

.cb-navbar-separator {
    width: 45px;
    border-bottom: black solid 1px;
    margin-left: 15px;
}

.hidden {
    display: none;
}


/*Content*/

.cb-content {
    left: 30vmin;
    position: absolute;
    padding: 5vmin;
}

.cb-title {
    text-align: center;
    font-size: 4vmin;
}

.cb-subtitle,
.cb-submenu-title {
    text-align: center;
    font-style: italic;
    font-size: 3vmin;
    padding: 2vmin;
}

.cb-subtitle::before,
.cb-submenu-title:before {
    background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
    content: 'cbcbcbcb';
    color: transparent;
    font-size: 0.5vmin;
    margin-right: 0.6vmin;
    border-radius: 50px;
}

.cb-description {
    font-size: 16px;
    padding: 2vmin;
    background-color: #dedede;
}

.cb-submenu-title:before {
    background-image: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
}

.cb-italic {
    font-style: italic;
}


/*Text position*/

.cb-text-right {
    text-align: right;
}

.cb-float-right {
    float: right;
}

.cb-text-center {
    text-align: center;
}

.cb-margin-top-20 {
    margin-top: 20px !important;
}


/*Text*/

.cb-bold {
    font-weight: bold;
}


/*Colors*/

.cb-color-grey {
    color: #808080;
}


/*Caroussel*/

.items {
    /*position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
    user-select: none;
    height: 400px;
    position: relative;
}

.items .item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 300ms ease-in-out;
    z-index: -1;
    opacity: 0;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item.active {
    opacity: 1;
    z-index: 99;
    box-shadow: 0px 0px 105px -35px rgba(0, 0, 0, 0.75);
}

.item.prev {
    z-index: 2;
    opacity: 0.25;
    transform: translate(-125%, -50%);
}

.item.next {
    z-index: 2;
    opacity: 0.25;
    transform: translate(25%, -50%);
}

@media only screen and (max-width: 865px) {
    .item.prev {
        transform: translate(-50%, -50%);
    }
    .item.next {
        transform: translate(-50%, -50%);
    }
}

.items .button-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 275px;
    z-index: 100;
}

.button-container .button {
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    position: relative;
    opacity: 0.75;
    transition: all 300ms ease-in-out;
}

.button-container .button:hover {
    opacity: 1;
}

.button-container .button:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 1);
    border-radius: 50%;
    z-index: -99;
}

.button-container .button:nth-child(1) {
    float: left;
}

.button-container .button:nth-child(2) {
    float: right;
}


/*Description*/

.cb-description {
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.sample-heading {
    padding: 1em;
    border: 0.2em solid #85cacc;
    position: relative;
    background-color: white;
}

.sample-heading::before,
.sample-heading::after {
    content: '';
    display: block;
    position: absolute;
    background: #fff;
}

.sample-heading::before {
    top: -0.3em;
    /* let it overlap a bit to prevent thin line which could appear during scaling in some browsers etc.*/
    bottom: -0.3em;
    left: 2em;
    right: 2em;
}

.sample-heading::after {
    left: -0.3em;
    right: -0.3em;
    top: 1em;
    bottom: 1em;
}

.sample-heading .heading {
    /** you need this to move the text in front of the ::after overlay*/
    position: relative;
    z-index: 1;
}


/*Services section*/

.cb-tile {
    padding: 20px;
    max-height: 70vh;
    margin-bottom: 10px;
    margin-right: 10px;
}

.cb-lonely-tile {
    margin: 0 auto;
}

.cb-margin-rigth-tile {
    margin-right: 10px;
}

.cb-tile-light {
    background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.cb-tile-dark {
    background-image: linear-gradient(120deg, rgb(132, 250, 176) 0%, rgb(143, 211, 244) 100%);
}

.cb-tile-darkest {
    background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
}

@media only screen and (min-width: 1020px) {
    .cb-tile {
        width: 35vw;
    }
    .cb-tile-container {
        display: flex;
    }
}

@media only screen and (max-width: 1020px) {
    .cb-tile {
        width: auto;
    }
    .cb-tile-container {
        display: unset;
    }
}


/*Animate.css*/

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, 100%, 0);
        transform: translate3d(0, 100%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

@-webkit-keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}


/*Contact section*/

.contact-card {
    padding: 20px;
    background-image: linear-gradient(120deg, #28aae1 0%, #ffcc33 100%);
    max-width: 300px;
}


/*Gallery section*/

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 1em;
}


/* hover styles */

.location-listing {
    position: relative;
}

.location-image {
    line-height: 0;
    overflow: hidden;
}

.location-image img {
    filter: blur(0px);
    transition: filter 0.3s ease-in;
    transform: scale(1.1);
}

.location-title {
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    z-index: 1;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .5s;
    background: rgba(90, 0, 10, 0.4);
    color: white;
    /* position the text in t’ middle*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-listing:hover .location-title {
    opacity: 1;
}

.location-listing:hover .location-image img {
    filter: blur(2px);
}

@media (hover: none) {
    /* for touch screen devices */
    .location-title {
        opacity: 1;
    }
    .location-image img {
        filter: blur(2px);
    }
}

img.gallery {
    width: 100%;
    /* need to overwrite inline dimensions */
    height: auto;
}


/*Numbers section*/

@media only screen and (min-width: 865px) {
    .cb-numbers-container {
        display: flex;
    }
}

@media only screen and (max-width: 865px) {
    .cb-numbers-container {
        display: unset;
    }
}

.cb-tile-number {
    width: 25vw;
    padding: 10px;
    margin: 5px;
    border: dashed #84fab0 2px;
}

.cb-big-number {
    font-size: 24px;
    font-weight: bold;
    font-style: italic;
}

.cb-main-word {
    font-size: 20px;
}