@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:wght@500;700&display=swap');
body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: url('images/bg-stars.svg') , linear-gradient(0.25turn, hsl(234, 16%, 14%), hsl(234, 17%, 12%));
    font-family: 'Red Hat Text', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.header{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vw;
    width: 100%;
}
.header span{
    letter-spacing: 0.4em;
    transform: scaleX(1.25) scaleY(1.3);
    color: white;
}

.container{
    user-select: none;
    font-size: 1vw;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 40%;
    width: 70%;
    z-index: 1;

}
.box{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 22vw;
    width: 10vw;
}
.panelBox{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 9vw;
/*     background: hsl(234, 17%, 12%); */
    border-radius: 0.5vw;
    padding-bottom: 10px;
    box-shadow: inset 1px 2px 0px 0px hsla(235, 18%, 12%, 0.8),
                inset -1px -5px 0px 0px hsla(235, 18%, 12%, 0.8) ;
}

.cont{
    position: relative;
    overflow: hidden;
    display: flex;
    height: 50%;
    width: 100%;
    background: hsl(236, 21%, 26%);
    border-radius: 0.5vw;
    box-sizing: border-box;
}
.top{
    box-shadow: inset 0 -1px 0px 0px rgba(255, 255, 255, 0.1);
    animation-name: turnDownTop;
    animation-timing-function: ease-in-out;
    animation-delay: 0.5s;
    animation-iteration-count: infinite;
    filter: brightness(90%);
}
@keyframes turnDownTop {
    0%{
        transform-style: preserve-3d;
        transform-origin: bottom;
        transform: rotateX(0deg);
    }
    50%{
        z-index: -1;
    }
    100%{
        transform-style: preserve-3d;
        transform-origin: bottom;
        transform: rotateX(-360deg);
    }
}
.bottom{
    box-shadow: inset 0 1px 0px 0px rgba(255, 255, 255, 0.1),
    0 10px 0 0 hsl(234, 17%, 12%);
    animation-name: turnDownBottom;
    animation-timing-function: ease-in-out;
    animation-delay: 0.5s;
    animation-iteration-count: infinite;
    z-index: 0;
}
@keyframes turnDownBottom {
    0%{
        transform-style: preserve-3d;
        transform-origin: top;
        transform: rotateX(0deg);
        box-shadow: inset 0 1px 0px 0px rgba(255, 255, 255, 0.1),
                          0 10px 0 0 hsl(234, 17%, 12%);

    }
    50%{
        box-shadow: inset 0 1px 0px 0px rgba(255, 255, 255, 0.1),
                          0 1px 0 0 hsl(234, 17%, 12%);
        z-index: -1;
    }
    100%{
        transform-style: preserve-3d;
        transform-origin: top;
        transform: rotateX(360deg);
        box-shadow: inset 0 1px 0px 0px rgba(255, 255, 255, 0.1),
        0 10px 0 0 hsl(234, 17%, 12%);
    }
}

.numbers{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(hsl(345, 95%, 68%) 0% 49.5%, transparent 50%, hsl(345, 95%, 68%) 50.5% 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5vw;
    letter-spacing: 0.2vw;
}
.front{
    bottom: -100%;
}
.back{
    top: -100%;
}

.panel{
    height: 100%;
    width: 50%;
    background: hsl(234, 17%, 12%);
    z-index: 1;
}
.tl{
    clip-path: circle(7.0% at 0% 100%);
}
.tr{
    clip-path: circle(7.0% at 100% 100%);
}
.bl{
    clip-path: circle(7.0% at 0 0);
}
.br{
    clip-path: circle(7.0% at 100% 0);
}

.label{
    transform: translateY(-350%);
    margin-top: 10%;
    width: 14vw;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.label span{
    width: 100%;
    height: 100%;
    text-align: center;
    color: hsl(237, 18%, 59%);
    letter-spacing: 0.3em;
    transform: scaleX(1) scaleY(1.1);
}

.svgFooter{
    bottom: 0;
    left: 0;
    height: 25%;
    width: 100%;
    background: url('images/pattern-hills.svg');
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
}
.btnBox{
    width: 15vw;
    height: 8vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
button{
    background: transparent;
}
.icon{
    width: 24px;
    height: 24px;
    transform: translateY(50%);
    padding : 0;
    margin: 0;
    box-shadow: none;
    border: none;
    cursor: pointer;
    background: hsl(237, 18%, 59%);
    background-size: 100% 100%;
    background-position: center;
}
.fb{
    clip-path: path("M22.675 0H1.325C.593 0 0 .593 0 1.325v21.351C0 23.407.593 24 1.325 24H12.82v-9.294H9.692v-3.622h3.128V8.413c0-3.1 1.893-4.788 4.659-4.788 1.325 0 2.463.099 2.795.143v3.24l-1.918.001c-1.504 0-1.795.715-1.795 1.763v2.313h3.587l-.467 3.622h-3.12V24h6.116c.73 0 1.323-.593 1.323-1.325V1.325C24 .593 23.407 0 22.675 0z");
}
.prst{
    clip-path: path("M12 0C5.373 0 0 5.372 0 12c0 5.084 3.163 9.426 7.627 11.174-.105-.949-.2-2.405.042-3.441.218-.937 1.407-5.965 1.407-5.965s-.359-.719-.359-1.782c0-1.668.967-2.914 2.171-2.914 1.023 0 1.518.769 1.518 1.69 0 1.029-.655 2.568-.994 3.995-.283 1.194.599 2.169 1.777 2.169 2.133 0 3.772-2.249 3.772-5.495 0-2.873-2.064-4.882-5.012-4.882-3.414 0-5.418 2.561-5.418 5.207 0 1.031.397 2.138.893 2.738a.36.36 0 01.083.345l-.333 1.36c-.053.22-.174.267-.402.161-1.499-.698-2.436-2.889-2.436-4.649 0-3.785 2.75-7.262 7.929-7.262 4.163 0 7.398 2.967 7.398 6.931 0 4.136-2.607 7.464-6.227 7.464-1.216 0-2.359-.631-2.75-1.378l-.748 2.853c-.271 1.043-1.002 2.35-1.492 3.146C9.57 23.812 10.763 24 12 24c6.627 0 12-5.373 12-12 0-6.628-5.373-12-12-12z");
}
.inst{
    clip-path: path("M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z");
}
.icon:hover{
    background: hsl(345, 95%, 68%);
    transition: 1s;
}