/* --------------------- Header --------------------- */

header {
    display: flex;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    background: url(img/bcgVideo.mp4) 50% / cover no-repeat;
}

.coverBottom {
    width: 100%;
    height: 23.8125rem;
    position: absolute;
    bottom: 0rem;
    background: linear-gradient(180deg, rgba(204, 204, 204, 0.00) 0%, #CCC 100%);
}

#headerVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
}

.topBar {
    display: flex;
    padding-top: 2.625rem;
    padding-bottom: 2.625rem;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.logo {
    width: 8.9375rem;
    height: 1.625rem;
}

.socials {
    display: flex;
    align-items: flex-start;
    gap: 2.25rem;
    
}

.socialIcon {
    border-radius: var(--br-s);
    display: flex;
    width: 2.25rem;
    height: 3.75rem;
    padding: 1.125rem 0.375rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.socialIcon path{
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    fill: var(--transparent-black-high)
}

.socialIcon:hover path{
    fill: var(--black);
}

.socialIcon:hover {
    background-color: var(--transparent-black-low);
}

.headContent {
    position: relative;
    display: flex;
    /* padding-bottom: 7.5rem; */
    padding-bottom: 14.5rem;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    flex: 1 0 0;
    align-self: stretch;
}

.mainClaim {
    color: var(--transparent-black-medium);
}

.claim {
    display: flex;
    padding: 0.6875rem 0rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    align-self: stretch;
}

.claimTitle {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    align-self: stretch;
}

.claimTitle svg {
    width: 19.25rem;
    height: 6.375rem;
    flex-shrink: 0;
}

.studioImg {
    max-width: 13.75rem;
    height: auto;
    border-radius: var(--br-m);
}

.verticalStudioText {
    position: absolute;
    transform: rotate(-90deg);
    top: 25%;
    right: -2.5rem;
}

/* --------- Animace ----------- */
.inner-headings {
    overflow: hidden;
    height: 6.4rem;
}

.inner-headings h1 {
    position: relative;
    animation: animation 8s ease infinite;
}

@keyframes animation {
    0%,
    100% {
        top: -0.3rem;
    }

    20% {
        top: -0.3rem;
    }

    25% {
        top: -6.5rem;
    }

    45% {
        top: -6.5rem;
    }

    50% {
        top: -12.8rem;
    }

    70% {
        top: -12.8rem;
    }

    75% {
        top: -19rem;
    }

    95% {
        top: -19rem;
    }
}

/* --------------------- Main --------------------- */
main {
    display: flex;
    padding-top: 12.5rem;
    padding-bottom: 12.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 12.5rem;
}

.productRow {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    align-self: stretch;
}

.productLeft {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex: 1 0 0;
}

.productLeft a {
    font-size: 0;
}

.productRight {
    display: flex;
    padding-top: 17.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    flex: 1 0 0;
}

.projectImg {
    max-width: 46.25rem;
    display: block;
    height: auto;
    width: 100%;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

a:hover .projectImg  {
    transform: scale(1.15);
}

.projectImgContainer  {
    overflow: hidden;
    border-radius: var(--br-m);
}

.projectDesc {
    max-width: 27.5rem;
    align-self: stretch;
}

.productContent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    align-self: stretch;
}

.storeBadge {
    display: flex;
    width: 14.3rem;
    height: 4rem;
    padding: 0.625rem 1rem 0.625rem 0.625rem;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    border-radius: var(--br-m);
    border: 0.0625rem solid var(--black);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.storeBadge path{
    fill: var(--black);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

a:hover .storeBadge{
    background-color: var(--black);
    color: var(--white);
}

a:hover .storeBadge path{
    fill: var(--white);
}

.storeBtns {
    display: flex;
    align-items: flex-start;
    align-content: flex-start;
    gap: 1rem;
    align-self: stretch;
    flex-wrap: wrap;
}

.storeBadgeText {
    display: flex;
    padding-top: 0.4rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* --------------------- Footer --------------------- */
.writeUs {
    display: flex;
    padding-top: 15rem;
    padding-bottom: 15rem;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
}

.writeUsSecondRow {
    display: flex;
    padding-left: 0rem;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 2.875rem;
    align-self: stretch;
}

.writeUsVerticalText {
    display: flex;
    padding-right: 9rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    align-self: stretch;
    transform: rotate(-90deg);
}

.mail {
    color: var(--ash);
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

a:hover .mail  {
    color: var(--black);
}

.contact {
    display: flex;
    padding-top: 5rem;
    padding-bottom: 5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    align-self: stretch;
}

.showMap {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
}

a:hover .showMap {
    color: var(--transparent-black-high);
}

.ic {
    display: flex;
    max-width: 21.5625rem;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    align-self: stretch;
}

.ic > .text-s {
color: var(--transparent-black-high);
}

.copy {
    display: flex;
    padding-top: 5rem;
    padding-bottom: 5rem;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-top: 1px solid var(--transparent-black-low, rgba(0, 0, 0, 0.08));
}

.links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2.5rem;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
}

.links a {
    color: var(--transparent-black-high);
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
}

.links a path{
    fill: var(--transparent-black-high);
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
}

.links a:hover path{
    fill: var(--black);
}

.links a:hover {
    color: var(--black);
}

/* Responsive*/
@media screen and (max-width: 1480px) {

    .topBar {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .verticalStudioText {
        right: -3rem;
    }

    .claimTitle {
        gap: 0.75rem;
    }

    .claimTitle svg {
        width: 16.625rem;
        height: 5.0625rem;
    }

    main {
        padding-top: 8.78rem;;
        padding-bottom: 8.78rem;
    }

    .writeUs {
        padding-top: 8.75rem;
        padding-bottom: 10rem;
    }

    .contact {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    /* --------- Animace ----------- */
    .inner-headings {
        height: 5.1rem;
    }

    @keyframes animation {
        0%,
        100% {
            top: -0.2rem;
        }

        20% {
            top: -0.2rem;
        }

        25% {
            top: -5.2rem;
        }

        45% {
            top: -5.2rem;
        }

        50% {
            top: -10.3rem;
        }

        70% {
            top: -10.3rem;
        }

        75% {
            top: -15.4rem;
        }

        95% {
            top: -15.4rem;
        }
    }
}

@media screen and (max-width: 1024px) {

    .claimTitle {
        gap: 0.3rem;
    }

    .claimTitle svg {
        width: 11.625rem;
        height: 3.5rem;
    }

    main {
        padding-top: 7.5rem;;
        padding-bottom: 7.5rem;
        gap: 6.25rem;
    }

    .writeUs {
        padding-top: 7.5rem;
        padding-bottom: 9rem;
    }

    .copy {
        padding: 2.5rem;
    }

    /* --------- Animace ----------- */
    .inner-headings {
        height: 3.5rem;
    }

    @keyframes animation {
        0%,
        100% {
            top: -0.35rem;
        }

        20% {
            top: -0.35rem;
        }

        25% {
            top: -3.85rem;
        }

        45% {
            top: -3.85rem;
        }

        50% {
            top: -7.6rem;
        }

        70% {
            top: -7.6rem;
        }

        75% {
            top: -11.2rem;
        }

        95% {
            top: -11.2rem;
        }
    }
}

@media screen and (max-width: 720px) {

    .topBar {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .logo {
        width: 6.5rem;
        height: 1.1875rem;
    }

    .verticalStudioText {
        right: -5.4rem;
    }

    .studioImg {
        max-width: 6.625rem;
        height: auto;
    }

    .headContent {
        /* padding-bottom: 7.5rem; */
        padding-bottom: 12.5rem;
    }

    .claimTitle {
        gap: 0.2rem;
    }

    .claimTitle svg {
        width: 5.125rem;
        height: 1.5625rem;
    }

    .productRow {
        flex-direction: column;
        gap: 6.25rem;
    }

    .productRight {
        padding-top: 0rem;
    }

    main {
        padding-top: 4rem;;
        padding-bottom: 4rem;
    }

    .writeUs {
        padding-top: 4rem;
        padding-bottom: 10rem;
    }

    .contact {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    /* --------- Animace ----------- */
    .inner-headings {
        height: 1.54rem;
    }

    .inner-headings h1 {
        position: relative;
        animation: animation 8s ease infinite;
    }

    @keyframes animation {
        0%,
        100% {
            top: -0.17rem;
        }

        20% {
            top: -0.17rem;
        }

        25% {
            top: -1.67rem;
        }

        45% {
            top: -1.67rem;
        }

        50% {
            top: -3.35rem;
        }

        70% {
            top: -3.35rem;
        }

        75% {
            top: -4.85rem;
        }

        95% {
            top: -4.85rem;
        }
    }
}