/* Proxima Nova Regular */
@font-face {
    font-family: "Proxima Nova";
    src: url("fonts/proxima-nova-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Proxima Nova Bold */
@font-face {
    font-family: "Proxima Nova";
    src: url("fonts/proxima-nova-bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Barlow Font */
@font-face {
    font-family: "Barlow";
    src: url("fonts/Barlow-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("fonts/Barlow-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Barlow";
    src: url("fonts/Barlow-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

:root {
    --darkblue: #1f71b8;
    --lightblue: #61c3db;
    --fluorescentblue: #0fffff;
    --white: #fff;
    --lineborder: 7px solid var(--lightblue);
    --lineborderdashed: 7px dashed var(--lightblue);
}

body {
    padding: 0;
    margin: 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
    flex-direction: column;

    & main {
        overflow: hidden;
        display: flex;
        min-height: 100vh;
        flex-direction: column;
    }

    &:before {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: linear-gradient(45deg, #1f71b8, #61c3db);
        display: block;
        z-index: 1;
        opacity: 0.8;

    }

    & .video {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100vw;
        object-fit: cover;
    }

    & .logo {
        position: fixed;
        top: 100px;
        left: 200px;
        z-index: 999;
        transform: translateX(-50%);

        &:before {
            content: "";
            position: absolute;
            border-right: var(--lineborder);
            height: 200px;
            bottom: 110%;
            left: 0;
            width: calc(50% - 7px)
        }

        & img {
            width: 200px;

        }
    }

    .content {
        position: relative;
        z-index: 2;
        margin: auto;
        padding: 0px 100px 0px 200px;
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 10px;

        & .h1-wrapper {
            width: 101%;
            margin-bottom: 50px;

            & h1 {
                color: #fff;
                font-size: clamp(25px, 5vw, 50px);
                text-align: center;
                font-family: Barlow;
                font-weight: 300;
                max-width: 800px;
                margin: auto;

                & b {
                    font-weight: 700;
                }
            }
        }

        & .line {
            flex: 1;

            position: relative;


            &.line-2::after {
                content: "";
                width: 100%;
                position: absolute;
                height: 100vh;
                border-top: var(--lineborder);
                border-right: var(--lineborder);
                border-top-right-radius: 200px;
                top: 50%;
                transform: translateY(-3px);
                left: 10px;
            }

            &.line-1::after {
                content: "";
                width: calc(100% - 10px);
                position: absolute;
                height: calc(50vh - 100px);
                border-bottom: var(--lineborder);
                border-left: var(--lineborder);
                border-bottom-left-radius: 200px;
                bottom: 50%;
                transform: translateY(3px);
                right: 10px;
            }

        }


        & .countdown {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 5px;

            & .separator {
                width: 30px;
                border-top: var(--lineborderdashed);
                height: 0;

            }

            & .boxed {
                display: flex;
                aspect-ratio: 1;
                border: var(--lineborder);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                width: 200px;
                line-height: 1;
                border-radius: 150px;
                font-family: 'Proxima Nova';
                color: var(--white);
                font-size: clamp(40px, 10vw, 100px);
                font-weight: 700;

                & .moment {
                    font-size: .3em;
                    font-weight: 300;
                    color: var(--fluorescentblue);
                    font-family: Barlow
                }
            }
        }
    }
}

@media (max-width: 1300px) {
    body {
        .content {
            padding: 0px 50px 0px 100px;
        }

        .logo {
            left: 100px;

            & img {
                width: 170px;
            }
        }
    }
}

@media (max-width: 1100px) {
    body {
        &:before {
            background: var(--darkblue)
        }

        & .logo {
            top: 40px;
            left: 40px;
            transform: unset;

            & img {
                width: 100px;
            }

            &::before {
                display: none;
            }

        }

        & .content {
            padding: 0px;

            & .h1-wrapper h1 {
                font-size: 60px;

            }

            & .line {
                &.line-1::after,
                &.line-2::after {
                    border-width: 2px;
                    border-left: none;
                    border-radius: 0;
                }
            }


            & .countdown {
                & .boxed {
                    width: 150px;
                    font-size: 60px;
                }

                & .separator {
                    width: 15px;
                }
            }
        }
    }
}

@media (max-width: 768px) {
    body {
        & .content {
            padding: 0px; 

            & .h1-wrapper h1 {
                font-size: 30px;

            }

            & .countdown {
                & .boxed {
                    width: 70px;
                    font-size: 30px;
                    border-width: 2px;
                }

                & .separator {
                    border-width: 2px;

                }
            }
        }
    }
}

@media (max-width: 380px) {
    body {
        & .content {
        
            & .line {
               display: none;
            }
        }
    }
}