*,
*::before,
*::after {
    box-sizing: border-box;
}

ul[class],
ol[class] {
    padding: 0;
}

body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
}

body {
    min-height: 100vh;
    scroll-behavior: smooth;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

ul[class],
ol[class] {
    list-style: none;
}

a:not([class]) {
    text-decoration-skip-ink: auto;
}

img {
    max-width: 100%;
    display: block;
}

article > * + * {
    margin-top: 1em;
}

input,
button,
textarea,
select {
    font: inherit;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@font-face {
    font-family: "Tele2DisplaySerif-Bold";
    font-style: normal;
    font-weight: 400;
    src: local("Tele2DisplaySerif-Bold"),
    url("/fonts/Tele2DisplaySerif-Bold.woff2") format("woff2"),
    url("/fonts/Tele2DisplaySerif-Bold.woff") format("woff");
}

@font-face {
    font-family: "Tele2DisplayStencil-Regular";
    font-style: normal;
    font-weight: 400;
    src: local("Tele2DisplayStencil-Regular"),
    url("/fonts/Tele2DisplayStencil-Regular.woff2") format("woff2"),
    url("/fonts/Tele2DisplayStencil-Regular.woff") format("woff");
}

html, body, .wrapper{
    height: 100%;
}
body {
    background-color: #000;
    color: #fff;
    font-family: "Tele2DisplaySerif-Bold", serif;
}

h1,
h2,
h3,
h4 {
    font-family: "Tele2DisplaySerif-Bold", serif;
}

* {
    user-select: none !important;
}

.wrapper {
    max-width: 1100px;
    margin: auto;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 5px solid #1d1d1b;
    padding-bottom: 30px;
}

header svg {
    fill: #fff;
}

#logo {
    position: relative;
    top: 10px;
}

#logo svg {
    width: 140px;
    max-height: 52px;
}

#network svg {
    width: 140px;
}

#time {
    font-size: 50px;
}

main {
    display: flex;
    flex-direction: column;
    padding: 30px 0;
}

h1 {
    text-transform: uppercase;
    font-size: 75px;
    text-align: center;

}

.box-wrapper {
    padding: 60px 0 30px;
    display: flex;
    margin: auto;
    gap: 40px;
}

.box,
.box-open-wrapper {
    position: relative;
}

.box{
    border-radius: 30px;
}

.left-box{
    display: flex;
    align-items: center;
    background-color: white;
}

.right-box{
    display: flex;
    align-items: center;
    background-color: white;
}

.box-text {
    font-size: 21px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: black;
    text-transform: uppercase;
    font-weight: bold;
}



.box-img {
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    position: relative;
    z-index: 1;
}

.box-img-l {
    left: 0;
    order: 1;
}

.box-img-r {
    right: 0;
}

.box-img-o {
    max-width: 450px;

}

.box-open-wrapper{
    opacity: 1;
    height: 200px;
    width: 200px;

    border-radius: 30px;
    position: absolute;
}

.box-open-wrapper,
.open-box .box-img
{
    opacity: 1;
}

.open-box .box-img-l {
    left: -170px;
    transition: all 0.5s ease-in-out;
}

.open-box .box-img-r {
    right: -170px;
    transition: all 0.5s ease-in-out;
}

.open-box .box-open-wrapper {
    opacity: 1;
}


.left-box .box-open-wrapper{
    padding-left: 35px;
    padding-right: 20px;
}

.right-box .box-open-wrapper{
    padding-left: 20px;
    padding-right: 35px;
}


footer{
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
#reset {
    font-size: 26px;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 30px;
    color: #fff;
    padding: 10px 70px;
    cursor: pointer;
    background-color: #c30080;
    border-radius: 20px;
}
@media all and (max-width:720px){
    header {
        padding-bottom: 20px;
    }
    #network svg,
    #logo svg {
        width: 100px;
    }
    #time {
        font-size: 40px;
    }
    #logo {
        top: 10px;
    }
    h1{
        font-size: 56px;
    }

}
@media all and (max-width:550px){
    header {
        padding-bottom: 20px;
    }
    #network svg,
    #logo svg {
        width: 70px;
    }
    #time {
        font-size: 28px;
    }
    #logo {
        top: 5px;
    }
    h1{
        font-size: 44px;
    }
}

@media all and (max-width:480px){
    .left-box .box-open-wrapper{
        padding-left: 0;
        padding-right: 0;
    }
    .right-box .box-open-wrapper{
        padding-left: 0;
        padding-right: 0;
    }
    .box-open-wrapper{
        width: 100%;
    }
}