﻿.bg-color {
    background-color: #fafafa;
}

.k-color {
    color: #113560;
}

@media screen and (max-width: 991px) {
    nav #navbarSupportedContent {
        margin: 1rem 0 0 0;
        border-radius: 1rem;
        background-color: rgb(250, 250, 250, 0.95);
    }
    nav .nav-link svg path {
        fill: #113560;
    }
    nav .nav-item a {
        color: #113560 !important;
    }
    .custom-tog {
        border: 0.2rem solid white;
    }
}

.language {
    min-width: auto;
}

.starting {
    z-index: 2;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.slide-carousel {
    position: relative;
    height: 100vh;
}

.slide-carousel .carousel-item {
    height: 100vh;
    background-color: black;
}

.slide-carousel img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: bottom;
    opacity: 0.7;
}

.starting h1 {
    margin: 0 0 1rem 0;
}

.starting div {
    margin: 2rem 0 0 0;
}

.starting a {
    text-decoration: none;
    color: white;
    border: 0.1rem solid white;
    padding: 1rem 2rem;
    transition: background-color 0.3s ease-in-out;
}

.starting a:hover {
    background-color: rgba(240, 248, 255, 0.181);
}

.starting h2 {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(24);
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 400px;
    }
}

.home-about .about-divs {
    display: flex;
}

.home-about .about-divs .what, .when, .where {
    margin: 1rem 2.5rem;
    flex: 1;
}

@media screen and (min-width: 448px) and (max-width: 991) {
    .partners .info div {
        flex: 50%;
    }
}

@media screen and (min-width: 993px) {
    .partners .info div {
        flex: 25%;
    }
}

@media screen and (max-width: 992px) {
    .home-about .about-divs {
        flex-direction: column;
    }
}

@media screen and (max-width: 448px) {
    .partners .info {
        flex-direction: column;
    }
}

.reveal {
    position: relative;
    transform: translateY(9rem);
    opacity: 0;
    transition: all 2s ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

.partners {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.logos::before, .logos::after {
    position: absolute;
    top: 0;
    width: 15rem;
    content: "";
    z-index: 2;
    height: 100%;
}

.logos::before {
    left: 0;
    background: linear-gradient(to left, rgba(255,255,255,0), #fafafa);
}

.logos::after {
    right: 0;
    background: linear-gradient(to right, rgba(255,255,255,0), #fafafa);
}

.partners:hover .logos-slide {
    animation-play-state: paused;
}

.logos-slide {
    display: inline-block;
    white-space: nowrap;
    animation: 35s slideLogo infinite linear;
}

.logos-slide a {
    text-decoration: none;
}

.partners .logos-slide img {
    height: 4rem;
    margin: 0 2rem;
    opacity: 0.5;
}

@keyframes slideLogo {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* scroll */
.bgColor {
    background-color: #fafafa;
}

.logo-changed {
    fill: #113560;
}

.navbar-dark {
    color: #113560 !important;
}

.nav-item {
    color: #113560 !important;
    margin: auto;
}

.nav-link {
    margin: 0 0.2rem;
}

.link-blue {
    color: #113560 !important;
}

.svg-link {
    padding: 0 0.5rem !important;
}

.svg-blue {
    fill: #113560;
}

.svg-link:hover {
    fill: #d0d4d7;
}

/* NEWS */
@media screen and (max-width: 992px) {
    .news-dvs .info {
        flex-direction: column;
    }
    .news-dvs .info .video-part, .news-dvs .info .img-part {
        text-align: center;
    }
    .news-dvs .info .video-part iframe, .news-dvs .info .img-part img {
      max-width: 30rem;
      width: 100%;
    }
}

@media screen and (min-width: 993px) {
    .news-dvs .info .video-part, .news-dvs .info .img-part {
        text-align: end;
    }
}

.news-dvs .info {
    position: relative;
    background-color: #fafafa50;
    margin: 0.5rem;
    border: 0.01rem solid rgba(128, 128, 128, 0.162);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    transition: all 0.1s ease-in;
}

.news-dvs .info:hover {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    transform: scale(0.99);
}

.news-dvs .info .text-part, .news-dvs .info .video-part, .news-dvs .info .img-part {
    flex: 1;
}

.news-dvs .info .video-part, .news-dvs .info .img-part, .news-dvs .info .img-part img {
    flex: 1;
    /*text-align: end;*/ 
}

.news-dvs .info .video-part iframe, .news-dvs .info .img-part img {
    max-width: 24rem;
}

.news .info h6 {
    color: rgb(123, 123, 123);
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.news .info p {
    word-break: break-word;
}

/* contact */
.contact .map {
    width: 100%;
    position: absolute;
}

.contact .map iframe {
    width: 100%;
}

.contact .contact-info {
    position: relative;
    height: 600px;
}


.contact .contact-part {
    color: #113560;
    position: absolute;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    top: 50%;
    left: 10%;
    transform: translate(-10%, -50%);
    max-width: 24rem;
}

.contact .contact-part p {
    margin-bottom: 0.3rem;
}

.contact .contact-info p:nth-child(3), .contact-info p:nth-child(4) {
    letter-spacing: 0.02rem;
} 

.contact .contact-part p:hover {
    color: #2964ad;
}

.slider img {
    height: 100vh;
    object-fit: cover;
}

.slider {
    position: relative;
    height: 100%;
}

.slider img {
    height: 100vh;
    object-fit: cover;
    opacity: 0.8;
}

.slider .back {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: black;
}

.logo-stroke {
    stroke: #113560;
}

.logo-fill {
    fill: #113560;
}

