* {
    font-family: 'Josefin Sans', sans-serif;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-thumb {
    /* background: #38a9ac; */
    /* background: #1f888a; */
    /* background: rgb(22, 22, 22); */
    background: #aaaaaa;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    align-items: center;
    background-color: rgb(22, 22, 22);
}


#btn-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    border-radius: 20px;
    z-index: 3;
}

.reveal {
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: 0.7s all ease;
}

.reveal.active {
    transform: translate(0);
    opacity: 1;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.nav-item {
    font-size: 18pt;
}

.main {
    background-image: url("img/img-r/7C_13/IMG-5136.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 100vw;
    max-height: 100vh;
    height: 100vh;
    width: 100vw;
    position: relative;
    color: white;
    font-size: 35pt;
    z-index: 4;
}

.section-link {
    padding: 40px;
}

.navbar-logo {
    width: 230px;
}

.nav-link-hide {
    display: none !important;
}

.nav-link-show {
    display: flex !important;
}

.main-logo {
    display: flex;
    width: 25vw;
}

.overlay {
    position: absolute;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.overlay-img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .8s ease;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
}

.carousel:hover .overlay-img {
    opacity: 1;
}

.carousel-inner {
    border-radius: 15px;
}

.center-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.projects_main {
    background-color: rgb(22, 22, 22);
    color: white;
}


.projects {
    text-align: center;
    margin: auto;
    width: 50%;
}

.project-img {
    width: 100%;
    border-radius: 15px;
}

.text-bg-black {
    color: #fff !important;
    background-color: RGBA(var(--bs-black-rgb), var(--bs-bg-opacity, 1)) !important
}

.bg-corp {
    --bs-bg-opacity: 1;
    background-color: #38a9ac !important;
}

.text-bg-corp {
    --bs-bg-opacity: 1;
    background-color: #1f888a !important;
}

.btn-corp {
    --bs-bg-opacity: 1;
    background-color: #38a9ac !important;
}

.services {
    margin-top: 2%;
    margin-bottom: 2%;
    padding: 0;
    position: relative;
    align-items: center;
    justify-content: center;
    display: flex;
}

.row {
    width: 95%;
}

h1 {
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: bold;
    padding-top: 1.5%;
    padding-bottom: 1.5%;
    margin: 0 !important;
}

h1,
h2 {
    text-align: center;
}

p {
    text-align: center;
    font-size: 15pt;
    margin: 0;
}

hr {
    height: 3px;
    color: black;
    background-color: rgb(0, 0, 0);
    opacity: 1 !important;
    margin: auto !important;
    margin-bottom: 15px !important;
    width: 25%;
}

.about {
    background-image: url(img/img-r/7D_24/Obraz19-kopia.jpg);
    background-size: cover;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about_us {
    width: 40vw;
    max-height: 200vh;
    background-color: rgb(255, 255, 255);
    border-radius: 20px;
    align-self: center;
}

.about_text {
    font-size: 1vw;
    margin: 40px;
    margin-top: 0 !important;
    max-height: 200vh;
}

.icon_info {
    width: 80%;
    margin-top: 3%;
    margin-bottom: 3%;
}

.icons {
    text-align: center;
}

.icon {
    margin: 5%;
}

.hover-underline-animation {
    display: block;
    position: relative;
    color: rgb(22, 22, 22);
}


.col-lg>.text>.hover-underline-animation::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: -6px;
    left: 0;
    background-color: rgb(22, 22, 22);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.col-lg:hover>.text>.hover-underline-animation:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.col-lg:hover {
    background-color: #cecece;
    transition: 0.25s all ease;
    border-radius: 20px;
}

.border_bottom {
    border-bottom: 2px solid black;
}

.info {
    text-align: center;
    display: grid;
    padding: 0;
    margin-bottom: 0;
}

.end {
    justify-self: center !important;
    text-align: center;
    font-size: 15pt !important;
}

.services-text {
    margin-top: 20px;
}

@media (max-width:400px) {
    .cookie-consent {
        width: 250px !important;
        height: 140px !important;
        font-size: 10px !important;
    }

    .about {
        height: 120vh;
    }

    .about_text {
        font-size: 3.5vw;
        margin: 20px;
    }

    .about_us {
        width: 75vw;
    }
}

@media (min-width:401px) and (max-width:787px) {
    .about {
        height: 120vh;
    }

    .about_text {
        font-size: 3.25vw;
        margin: 20px;
    }

    .about_us {
        width: 85vw;
    }
}

@media (max-width:768px) {
    .projects {
        width: 90%;
    }

    p {
        font-size: 13pt;
    }

    .navbar-logo {
        width: 180px;
    }

    .main-logo {
        width: 60vw;
    }

    .main {
        background-attachment: scroll;
    }
}

@media (min-width:769px) and (max-width:1150px) {
    .about_text {
        font-size: 2vw;
    }

    .about_us {
        width: 70vw;
    }
}

@media (min-width:1151px) {
    .about {
        height: 100vh;
    }

    .about_us {
        width: 40vw;
    }

    .about_text {
        font-size: 1vw;
    }
}

@media (max-width:1399px) {
    .about_img {
        display: none;
    }

    .icon_info {
        width: 100%;
    }

    .nav-link-hide {
        display: flex !important;
    }

    .nav-link-show {
        display: none !important;
    }
}

.end:hover {
    color: #38a9ac !important;
    transition: 0.4s;
}


.container {
    padding-top: 2%;
    padding-bottom: 2%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact {
    margin: 0;
    background-color: rgb(22, 22, 22);
    color: white;
}

.cookie-consent {
    position: fixed;
    bottom: 8px;
    left: 20px;
    width: 300px;
    height: 140px;
    padding-top: 7px;
    color: #000000 !important;
    background: rgb(230, 230, 230) !important;
    line-height: 20px;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
    z-index: 120;
    cursor: pointer;
    border-radius: 20px;
}

.a-button {
    height: 20px;
    width: 100px;
    color: #fff;
    font-size: 12px;
    line-height: 10px;
    border-radius: 3px;
    margin: 10px;
    border: 1px solid #1f888a;
    background-color: #1f888a;
}

footer {
    background-color: rgb(22, 22, 22);
    color: white;
    margin: 0;
}

#copy {
    font-size: 9pt;
    margin-bottom: 0;
}

.end_logo {
    width: 12rem;
    margin: auto;
}

.marginb10 {
    margin-bottom: 10px;
}