﻿h1 {
    font-weight: 800;
}

.navbar.alt {
    background-color: transparent;
}

#line-1 {
    font-size: 10rem;
}

.section h2 {
    font-weight: 800;
    font-size: 2.2rem;
}

.about #line-1 {
    font-size: 3rem;
}
.about #line-2 {
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.2rem;
}

#sec-main {
    position: relative;
    height: calc(100vh);
    background-image: url("/is/bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#sec-locale {
    padding-top: 5rem;
}

.box {
    font-weight: 800;
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.box-data {
    color: var(--lk-color);
    background-color: black;
    font-size: 1.2rem;
    margin-top: 1rem;
    padding: 1rem 2rem;
    transition: all .2s ease;
}

.box-data:hover {
    color: white;
}

.paragraph .cite {
    font-size: .9rem;
    font-style: italic;
    color: #777;
    margin-bottom: 0;
}

.paragraph .author {
    font-size: .8rem;
    color: #999;
}

.paragraph .link {
    white-space: nowrap;
}

.section {
    padding: 2rem 0;
}

.elem {
    display: block;
    width: 100%;
    opacity: 0;
    color: white;
    font-size: 4rem;
    transition: opacity 3s;
    -webkit-transition: opacity 3s;
}

ul.unstyled {
    list-style: none;
    padding: 0;
}

.mail {
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

a.elem {
    font-size: 2.5rem;
    color: white;
    text-decoration: none;
}

.cols {
    max-width: 1200px;
    margin-top: 4rem;
    display: grid;
    gap: 1rem;
}

#lang {
    min-width: unset;
}

#scrollRow {
    overflow-x: auto; /* przewijanie w poziomie nadal działa */
    -ms-overflow-style: none; /* ukrycie scrollbara w ie/edge */
    scrollbar-width: none; /* ukrycie scrollbara w firefox */
}

    #scrollRoW::-webkit-scrollbar {
        display: none; /* ukrycie scrollbara w chrome, safari, opera */
    }

@media (min-width: 768px) {
    .cols {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .box {
        margin: 0 auto;
    }
    #line-1 {
        font-size: 7rem;
    }

    #line-2 {
        font-size: 3rem;
    }
}


@media (max-width: 991.98px) {

    body.subpage {
        padding-top: 44px;
    }
}


.form-select {
    border-top: hidden;
    border-left: hidden;
    border-right: hidden;
    border-bottom: 2px solid var(--lk-foreground ); 
    border-radius: 0;
}

.section .image {  
    background-position: 50% 50%;
    --animation-custom_in-translate_x: 0px;
    --animation-custom_in-translate_y: 0px;
    --animation-custom_in-opacity: 0;
    --animation-custom_in-rotate: 0deg;
    --animation-custom_in-scale: 0.3;
    margin: 0 auto;
}

.section .paragraph-left {
    margin-bottom: 20px;
    --animation-custom_in-translate_x: 300px;
    --animation-custom_in-translate_y: 0px;
    --animation-custom_in-opacity: 0;
    --animation-custom_in-rotate: 0deg;
    --animation-custom_in-scale: 1;
}

.section .paragraph-right {
    margin-bottom: 20px;
    --animation-custom_in-translate_x: -200px;
    --animation-custom_in-translate_y: 0px;
    --animation-custom_in-opacity: 0;
    --animation-custom_in-rotate: 0deg;
    --animation-custom_in-scale: 1;
}

.section-left {
    background-color: #000;
}

.section .animated {
    visibility: visible;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation: customAnimationIn;
}

.image {
    visibility:hidden;
}
.image2 {
    object-fit: cover;
    display: block;
    vertical-align: middle;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.image-desc {
    color: var(--lk-control-fg);
    background-color: var(--lk-control-bg);
    min-height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: .9rem;
    padding: 10px;
}

@keyframes customAnimationIn {
    from {
        transform-origin: center center;
        transform: translate3d(var(--animation-custom_in-translate_x), var(--animation-custom_in-translate_y), 0) scale3d(var(--animation-custom_in-scale), var(--animation-custom_in-scale), var(--animation-custom_in-scale)) rotate3d(0, 0, 1, calc(-1 * var(--animation-custom_in-rotate)));
        opacity: var(--animation-custom_in-opacity);
    }

    to {
        transform-origin: center center;
        transform: translate3d(var(--animation-custom_in-translate_x-end), var(--animation-custom_in-translate_y-end), 0);
        opacity: var(--animation-custom_in-scale-end);
    }
}






