@import url('https://fonts.googleapis.com/css2?family=Suranna&family=Zalando+Sans:ital,wght@0,200..900;1,200..900&display=swap');

body {
    font-family: "Zalando Sans", sans-serif;
    font-size: 18px;
    color: #222;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: 1px;
}

/* TOPBAR */
.topbar {
    background-color: #f2f2f2;
    padding: 14px;
    font-size: 14px;
}

.topbar a {
    color: #222;
    border-bottom: none !important;
    text-decoration: none;
    font-weight: 400;
}

.topbar a:hover {
    color: #df311e !important;
    border-bottom: none !important;
    background: none !important;
}

.redicon {
    color: #df311e;
}

/* NAV */
.navbar {
    padding: 0;
    background-color: #fff;
}

.nav-item a {
    color: #222;
    border-bottom: none !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
}

.nav-item a:hover,
.topbar a:hover {
    color: #df311e;
    border-bottom: none !important;
    background: none !important;
}

.navbar-nav .nav-link.active,
.navbar-nav .show > .nav-link,
.nav-item a:hover {
    color: #df311e !important;
}

.navbar-nav .nav-link {
    color: #222 !important;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler {
    margin-top: 12px !important;
}

.navbar.navbar-expand-lg {
    box-shadow: inset 0 -10px 20px -10px #f2f2f2;
}

.position-inherit {
    position: inherit !important;
}

/* SLIDESHOW */
.carousel-caption {
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
}

.carousel-caption h2 {
    margin: 0 !important;
}

.carousel-item h1 {
    font-family: "Suranna", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 5vw;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}

.carousel-item h2 {
    font-size: 1.75vw;
    font-weight: 300;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}

.carousel-item h3 {
    font-size: 1.5vw;
    font-weight: 300;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/*
@media all and (max-width:768px) {
    .carousel-item h1 {
        font-family: "Suranna", serif;
        font-weight: 300;
        font-style: normal;
        font-size: 50px;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
        line-height: 40px;
    }

    .carousel-item h2 {
        font-size: 20px;
        font-weight: 300;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
    }

    .carousel-item h3 {
        font-size: 18px;
        font-weight: 300;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
        text-transform: uppercase;
        letter-spacing: 1px;
    }
}


@media (min-width: 320px) and (max-width: 640px) {
    .carousel-item h1 {
        font-family: "Suranna", serif;
        font-weight: 300;
        font-style: normal;
        font-size: 30px;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
        line-height: 30px;
    }

    .carousel-item h2 {
        font-size: 16px;
        font-weight: 300;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
        line-height: 16px;
    }

    .carousel-item h3 {
        font-size: 16px;
        font-weight: 300;
        text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
        text-transform: uppercase;
        letter-spacing: 1px;
        line-height: 16px;
    }
}*/

/* INFOBAR */
.infobar {
    background-color: #378869;
    color: #fff;
    padding: 30px;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
}

/* CONTENT */
.white_bg {
    padding-top: 70px;
    padding-right: 30px;
    padding-bottom: 70px;
    padding-left: 30px;
}

.white_bg h1,
.grey_bg h1 {
    font-family: "Suranna", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
}

.white_bg h2,
.grey_bg h2 {
    font-family: "Suranna", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 35px;
}

.white_bg h3,
.grey_bg h3 {
    font-size: 24px;
    font-weight: 300;
    line-height: 34px;
}

.white_bg h5,
.grey_bg h5 {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
}

.grey_bg {
    background-color: #ededed;
    padding-top: 70px;
    padding-right: 30px;
    padding-bottom: 70px;
    padding-left: 30px;
}

.blue_bg {
    background-color: #2d3954;
    padding-top: 70px;
    padding-right: 30px;
    padding-bottom: 70px;
    padding-left: 30px;
    color: #fff;
}

.blue_bg h1 {
    font-family: "Suranna", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
    color: #fff;
}

.blue_bg h2 {
    font-family: "Suranna", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 35px;
    color: #fff;
}

.btn-primary {
    color: #fff !important;
    background-color: #2d3954;
    border-color: #2d3954;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
}

.btn-primary:hover {
    color: #fff !important;
    background-color: #222;
    border-color: #222;
    font-weight: 400;
    text-transform: uppercase;
}

.btn-green {
    color: #fff !important;
    background-color: #378869;
    border-color: #378869;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-green:hover {
    color: #fff !important;
    background-color: #2b6e54;
    border-color: #2b6e54;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline-primary {
    color: #2d3954 !important;
    background-color: none;
    border-color: #2d3954;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 1px;
}

.btn-outline-primary:hover {
    color: #fff !important;
    background-color: #2d3954;
    border-color: #2d3954;
    font-weight: 500;
    letter-spacing: 1px;
}

.btn-outline-light {
    color: #fff !important;
    background-color: none;
    border-color: #fff;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 1px;
}

.btn-outline-light:hover {
    color: #2d3954 !important;
    background-color: #fff;
    border-color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
}

a.link {
    border-bottom: solid 2px #222;
    padding-bottom: 5px;
    letter-spacing: 1px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    font-size: 15px;
    transition: all ease-in-out 0.3s;
}

a.link:hover {
    border-bottom: solid 2px #222;
    padding-bottom: 8px;
    letter-spacing: 1px;
    font-weight: 500;
    color: #222;
    text-decoration: none;
    font-size: 15px;
}

.pinklink {
    color: #222;
    text-decoration: none;
    transition: all ease-in-out 0.3s;
}

.pinklink:hover {
    color: #bb6c7b;
    text-decoration: none;
}

.bluelink {
    color: #222;
    text-decoration: none;
    transition: all ease-in-out 0.3s;
}

.bluelink:hover {
    color: #255880;
    text-decoration: none;
}

.greenlink {
    color: #222;
    text-decoration: none;
    transition: all ease-in-out 0.3s;
}

.greenlink:hover {
    color: #849886;
    text-decoration: none;
}

.orangelink {
    color: #222;
    text-decoration: none;
    transition: all ease-in-out 0.3s;
}

.orangelink:hover {
    color: #b1855c;
    text-decoration: none;
}

.borderline_pink {
    border: 4px solid #bb6c7b;
}

.borderline_blue {
    border: 4px solid #255880;
}

.borderline_green {
    border: 4px solid #849886;
}

.borderline_orange {
    border: 4px solid #b1855c;
}

/* Custom class for top-left only */
.rounded-tl {
    border-top-left-radius: 100px;
    /* adjust px as you like */
}

.card {
    border: 2px solid #f5f5f5;
}

.before-after-wrapper {
    position: relative;
    aspect-ratio: 2/1;
}

.before-after-wrapper::before {
    background-color: hsla(172, 61%, 82%, 75%);
    border-radius: 40px;
    top: 10px;
    color: #fff;
    content: 'before';
    left: 10px;
    opacity: 0;
    padding: 5px 10px;
    position: absolute;
    transition: opacity 200ms ease-in-out;
    z-index: 15;
}

:global(.before-after-wrapper.show-before::before) {
    opacity: 1;
}

.before-after-wrapper::after {
    background-color: hsla(172, 61%, 82%, 75%);
    border-radius: 40px;
    top: 10px;
    color: #fff;
    opacity: 0;
    padding: 5px 10px;
    position: absolute;
    right: 10px;
    transition: opacity 200ms ease-in-out;
    z-index: 15;
    content: 'after';
}

:global(.before-after-wrapper.show-after::after) {
    opacity: 1;
}

.before-image-wrapper {
    bottom: 0;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    z-index: 10;
}

.before-image {
    background-size: cover;
    height: 100%;
    width: 100%;
}

.after-image {
    background-size: cover;
    inset: 0;
    position: absolute;
}

.handle {
    align-items: center;
    background: #fff;
    bottom: 0;
    cursor: col-resize;
    display: flex;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: 0;
    width: 4px;
    z-index: 20;
}

.handle::before {
    content: '';
    position: absolute;
    inset: 0 -20px;
}

.handle::after {
    align-items: center;
    background: #fff;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 0 512 512"><path fill="%23DF311E" d="M505.7 265.7c3-3 3.1-7.9 .2-11.1l-104-112c-3-3.2-8.1-3.4-11.3-.4s-3.4 8.1-.4 11.3L481.7 252 23.3 252l90.3-90.3c3.1-3.1 3.1-8.2 0-11.3s-8.2-3.1-11.3 0l-104 104c-3.1 3.1-3.1 8.2 0 11.3l104 104c3.1 3.1 8.2 3.1 11.3 0s3.1-8.2 0-11.3L23.3 268l457.4 0-90.3 90.3c-3.1 3.1-3.1 8.2 0 11.3s8.2 3.1 11.3 0l104-104z"/></svg>');
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    color: #df311e;
    content: '';
    display: flex;
    font-size: 16px;
    font-weight: bold;
    justify-content: center;
    max-height: 40px;
    max-width: 40px;
    min-height: 40px;
    min-width: 40px;
}
