@keyframes banner-fade-out {
    0% {
        opacity: 1
    }

    to {
        opacity: 0;
        visibility: hidden
    }
}

@keyframes fade-in {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes navbar-fade-in {
    0% {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes slide {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(-100%)
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

a,h1,h2,h3,h4,h5,h6,li,p {
    font-family: "trasandina",sans-serif;
    font-weight: 300;
    font-style: normal
}

a,h1,h2,h3,h4,h5,h6,li {
    font-weight: 550
}

.nav-bar a::before,body {
    background-color: #c1c6c8
}

#check,.banner,.content,.logo-container {
    display: none
}

.content {
    animation: fade-in 1s ease forwards;
    text-align: center;
    height: auto
}

.nav-bar {
    width: 100%;
    justify-content: space-between;
    align-self: flex-start;
    align-items: center;
    list-style: none;
    text-transform: uppercase;
    position: fixed;
    top: 0;
    overflow-y: auto;
    padding: 12px 20px;
    transition: background-color .3s ease,padding .3s ease;
    z-index: 1000
}

.nav-bar,.nav-bar.scrolled {
    background-color: #53565a
}

.nav-bar a {
    position: relative;
    display: inline-block;
    transition: color .3s ease-in-out
}

.nav-bar a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    visibility: hidden;
    transform: scaleX(0);
    transition: all .3s ease-in-out
}

.nav-bar a:hover::before {
    visibility: visible;
    transform: scaleX(1)
}

.menu li a::after,.nav-bar .logo a::before {
    content: none
}

.menu,.nav-bar {
    display: flex
}

.menu li {
    padding-left: 30px
}

.logo a,.menu li a {
    text-decoration: none
}

.menu li a {
    display: inline-block;
    color: #c1c6c8;
    text-align: center;
    letter-spacing: 3px;
    position: relative;
    text-transform: uppercase;
    transition: transform .3s ease
}

.menu-logo {
    display: none;
    text-align: center;
    margin-bottom: 20px
}

.menu-logo img {
    width: 300px;
    height: auto;
    display: inline-block
}

@media (max-width:610px) {
    .menu-logo {
        display: block
    }
}

.close-menu,.open-menu {
    position: absolute;
    color: #c1c6c8;
    cursor: pointer;
    font-size: 1.5rem;
    display: none
}

.open-menu {
    top: 50%;
    right: 20px;
    transform: translateY(-50%)
}

.close-menu {
    top: 20px;
    right: 20px
}

@media (max-width:610px) {
    .menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 100;
        background-color: #53565a;
        transition: all .2s ease-in-out
    }

    .menu li {
        margin-top: 40px
    }

    .menu li a {
        padding: 10px
    }

    .close-menu,.open-menu {
        display: block
    }

    #check:checked~.menu {
        right: 0
    }
}

.logo img {
    width: 300px
}

.logo a {
    border-bottom: none
}

.container {
    max-width: 1170px;
    margin: auto
}

.row {
    display: flex;
    flex-wrap: wrap
}

ul {
    list-style: none
}

.footer {
    background-color: #53565a;
    padding: 70px 0;
    position: absolute;
    display: flex;
    width: 100%;
    margin-top: 0
}

.logos {
    overflow: hidden;
    padding: 60px 0;
    align-items: center;
    background: #53565a;
    white-space: nowrap;
    position: relative
}

.logos:after,.logos:before {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2
}

.logos:before {
    left: 0;
    background: linear-gradient(to left,rgba(255,255,255,0),#53565a)
}

.logos:after {
    right: 0;
    background: linear-gradient(to right,rgba(255,255,255,0),#53565a)
}

.logos:hover .logos-slide {
    animation-play-state: paused
}

.logos-slide {
    display: inline-block;
    animation: 70s slide infinite linear
}

.logos-slide img {
    height: 50px;
    margin: 0 40px;
    transition: transform .3s ease-in-out
}

.logos-slide img:hover {
    transform: scale(1.1)
}

.copyright {
    color: #c1c6c8;
    font-size: 12px;
    text-align: center;
    padding: 20px 0;
    position: absolute;
    width: 100%;
    bottom: 0;
    font-family: "trasandina", sans-serif;
    font-weight: 300;
    font-style: normal;
    line-height: 1.6;
    letter-spacing: 1px;
  }

.card-container,.card-container-right {
    display: flex;
    flex-wrap: wrap
}

.card-container-right {
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start
}

.text-container {
    padding: 20px;
    color: #53565a;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease-out,transform .6s ease-out;
    max-width: 800px
}

.kontakt-text,.kontakt-text p,.text-container {
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 1px
}

.kontakt-text {
    flex: 1 1 45%;
    padding: 20px
}

.text-container.visible {
    opacity: 1;
    transform: translateY(0)
}

.kontakt-text h2,.omoss-text h2,.text-container h2 {
    text-transform: uppercase;
    width: 100%;
    text-align: left;
    font-size: 50px
}

.kontakt-text p {
    width: 100%;
    max-width: 800px;
    text-align: left
}

.omoss-container {
    height: 537px
}

.card a:hover::before {
    visibility: visible;
    transform: scaleX(1)
}

.section:nth-child(3) .button::before {
    color: #c1c6c8;
    background-color: #c1c6c8
}

.card,.card p {
    overflow: hidden
}

.card {
    width: 20rem;
    height: 32rem;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    color: #c1c6c8;
    box-shadow: 0 10px 30px 5px rgba(0,0,0,.2);
    box-sizing: border-box;
    margin: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease-out,transform .6s ease-out
}

.card a::before,a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #c1c6c8;
    visibility: hidden;
    transform: scaleX(0);
    transition: all .3s ease-in-out
}

.card.visible {
    opacity: 1;
    transform: translateY(0)
}

.card p {
    max-height: 10rem;
    text-overflow: ellipsis
}

.material-symbols-outlined {
    vertical-align: middle
}

.section {
    padding: 40px 0;
    min-height: 40rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 20px;
    align-items: center
}

.section:first-of-type {
    margin-top: 102px
}

@media (max-width: 1024px) {
    .section {
        padding: 30px 15px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 20px 10px;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 15px 5px;
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
    }
}

.kontakt,.omoss {
    min-height: 32rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px
}

@media (max-width:610px) {
    .kontakt,.omoss,.section {
        min-height: auto;
        padding: 20px 10px
    }
}

.section:nth-child(odd) {
    background-color: #53565a;
    color: #c1c6c8
}

.section:nth-child(4),.section:nth-child(even) {
    background-color: #c1c6c8;
    color: #53565a
}

.omoss-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 20px
}

.omoss-text {
    flex: 1 1 45%;
    padding: 20px;
    color: #53565a;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease-out,transform .6s ease-out;
    text-align: left
}

.omoss-text,.text-container p {
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 1px;
    max-width: 800px
}

.omoss-text p,.text-container p {
    width: 100%;
    text-align: left
}

.kontakt-text .button::before,.omoss-text .button::before,.text-container .button::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 10px;
    left: 0;
    background-color: #53565a;
    visibility: hidden;
    transform: scaleX(0);
    transition: all .3s ease-in-out
}

.kontakt-text .button:hover::before,.nav-bar a.active::before,.omoss-text .button:hover::before,.text-container .button:hover::before,a:hover::before {
    visibility: visible;
    transform: scaleX(1)
}

.omoss-squares {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    margin-right: 20px
}

.omoss-square {
    width: 25rem;
    height: 10rem;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    color: #53565a;
    box-shadow: 0 10px 30px 5px rgba(0,0,0,.2);
    box-sizing: border-box;
    margin: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease-out,transform .6s ease-out,box-shadow .3s ease,color .3s ease
}

.omoss-square.visible,.omoss-text.visible {
    opacity: 1;
    transform: translateY(0)
}

.omoss-square .icon,.omoss-square h3 {
    position: absolute;
    color: #53565a;
    transition: color .3s ease
}

.omoss-square .icon {
    border-radius: 50%;
    padding: 15px;
    display: inline-block;
    font-size: 24px;
    top: -10px;
    left: -5px;
    font-family: "trasandina",sans-serif;
    font-weight: 550;
    font-style: normal
}

.omoss-square h3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    margin: 0;
    font-size: 30px;
    text-transform: uppercase;
    text-align: center
}

.omoss-square p {
    position: absolute;
    opacity: 0;
    max-width: 80%;
    transition: opacity .3s ease-out;
    inset: auto auto 20px 30px;
    text-align: left;
    margin-top: 5px;
    color: #53565a
}

.omoss-square:hover h3 {
    inset: auto auto 230px 30px;
    transition: inset .3s ease-out;
    color: #53565a
}

.omoss-square:hover p {
    opacity: 1;
    transition: opacity .5s .1s ease-in;
    color: #53565a
}

.omoss-square:hover {
    box-shadow: 0 10px 30px 5px rgba(0,0,0,.2)
}

.omoss-square:hover .icon {
    color: #53565a
}

.kontakt-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px
}

.kontakt-form {
    max-width: 800px;
    text-align: center;
    color: #c1c6c8;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease-out,transform .6s ease-out
}

.kontakt-form.visible {
    opacity: 1;
    transform: translateY(0)
}

.kontakt-form form {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.kontakt-form button,.kontakt-form input,.kontakt-form textarea {
    padding: 10px;
    border: 1px solid #53565a;
    border-radius: 5px
}

.kontakt-form button {
    cursor: pointer;
    transition: background-color .3s ease-in-out,color .3s ease-in-out
}

.kontakt-form button:hover {
    background-color: #c1c6c8;
    color: #53565a
}

.kontakt,.kontakt-form button {
    background-color: #53565a;
    color: #c1c6c8
}

.cards {
    transform: scale(.9)
}

.omoss-text .button,.text-container .button,a {
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: color .3s ease
}

a:hover {
    color: #c1c6c8
}

.logo a::before,.logos-slide a::before {
    content: none
}

.omoss-text .button,.text-container .button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 0;
    color: #53565a;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 20px;
    text-align: left
}

.omoss-text .button:hover,.text-container .button:hover {
    color: #53565a;
    text-align: left
}

.kontakt-text .button {
    align-self: flex-start
}

.kontakt-text .button::before {
    background-color: #c1c6c8
}

.kontakt-text,.kontakt-text .button:hover {
    color: #c1c6c8;
    text-align: left
}

.kontakt-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease-out,transform .6s ease-out
}

.kontakt-text.visible {
    opacity: 1;
    transform: translateY(0)
}

.kontakt-text .button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 0;
    color: #c1c6c8;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 20px;
    position: relative;
    transition: color .3s ease;
    text-align: left
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end
}

#full-width-video {
    width: 100%;
    height: auto;
    z-index: 0;
    position: relative;
    padding-bottom: 40px;
    object-fit: cover;
    max-height: 100vh
}

.video-logo,.video-slogan {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
    transition: opacity 1s ease-in-out;
    width: 600px;
    height: auto
}

.video-slogan {
    width: 100%;
    font-size: 30px;
    line-height: 1.6;
    letter-spacing: 1px;
    margin-top: 80px;
    color: #c1c6c8
}

.video-logo.visible,.video-slogan.visible {
    opacity: 1
}

.large-card {
    width: 40rem;
    height: 40rem
}

.card-container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    justify-content: center;
    align-items: flex-start
}

.slider,.slider .list img {
    width: 1000px;
    max-width: 100vw
}

.slider {
    height: 700px;
    margin-bottom: 25px;
    border-radius: 10px;
    position: relative;
    margin-left: 25px;
    overflow: hidden;
    display: flex;
    align-items: center; /* Center images vertically */
    justify-content: center; /* Center images horizontally */
}

.slider .list {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    transition: 1s;
}

.slider .list .item {
    flex: 0 0 100%; /* Ensure each item takes up the full width of the slider */
    display: flex;
    align-items: center; /* Center images vertically */
    justify-content: center; /* Center images horizontally */
}

.slider .list img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure images cover the container without being cut off */
}

.slider .buttons {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between
}

.slider .buttons button {
    width: auto;
    height: auto;
    color: #53565a;
    font-size: 50px;
    border: 0;
    font-family: monospace;
    font-weight: 700;
    background: 0 0;
    transition: transform .3s
}

.slider .dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #53565a;
    width: 100%;
    margin: 0;
    cursor: pointer;
    padding: 0;
    display: flex;
        z-index: 1000;
    justify-content: center
}

.slider .dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #53565a;
    margin: 10px;
    border-radius: 20px;
    transition: .5s;

}

.slider .dots li.active {
    width: 30px;
    transform: scale(1.2);
    z-index: 1000;
}

.slider .buttons button:hover,.slider .dots li:hover {
    transform: scale(1.2)
}

@media screen and (max-width:768px) {
    .slider {
        height: 400px
    }
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.slider {
    flex: 1
}

.text-container {
    flex: 1;
    text-align: left
}
