@font-face {
    font-family: "Baloo";
    src: url(assets/fonts/Baloo-Regular.ttf);
}


body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    display: flex;
    place-items: center;
    flex-direction: column;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    display: none;
}

#hero {
    margin: 0 200px;
    display: grid;
    place-items: center;
}

#clock {
    font-family: Baloo;
    font-size: 14em;
    word-spacing: -75px;
    display: flex;
    word-spacing: -75px;
    transform: translateX(70px);
    user-select: none;
}

#clock div:nth-child(1) {
    z-index: 1;
    color: #FFAF45;
    transform: rotate(5deg);
}

#clock div:nth-child(2) {
    z-index: 2;
    transform: translateX(-35px);
    color: #FB6D48;
}

#clock div:nth-child(3) {
    z-index: 3;
    transform: translateX(-70px);
    color: #979797;
}

#clock div:nth-child(4) {
    z-index: 4;
    transform: translateX(-105px);
    color: #D74B76;
}

#clock div:nth-child(5) {
    z-index: 5;
    transform: translateX(-140px) rotate(5deg);
    color: #673F69;
}

.clock-digit {
    opacity: 95%;
    text-shadow: 2px 2px 25px #101010;
    text-rendering: geometricPrecision;
    position: relative;
    display: inline-block;
    line-height: 1em;
}

#title {
    top: 23%;
    text-align: center;
    line-height: 8px;
    margin-top: 150px;
}

#title h1 {
    font-family: Baloo;
    font-size: 2.3em;
}

#title p {
    font-family: Arial, Helvetica, sans-serif;
    opacity: 0.7;
}

#info {
    text-align: center;
    z-index: 10;
}

#info button {
    border: none;
    font-family: Arial, Helvetica, sans-serif;
    padding: 15px 50px;
    border-radius: 99px;
    font-weight: bold;
    cursor: pointer;
    transition: filter 0.2s ease-out;
}

#info button:hover {
    background: #c7c7c7;
}

#info button:active {
    filter: blur(1px);
}

#os {
    margin-top: 20px;
    font-size: 0.8em;
    opacity: 0.7;
    font-weight: lighter;
}

#terms {
    margin-top: 20px;
    font-size: 0.8em;
    opacity: 0.7;
    font-weight: lighter;
}

a {
    color: rgb(168, 168, 255);
}

#mockup-container {
    z-index: -2;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

#mockup-container img {
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
}

#download {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#download h3 {
    font-size: 2em;
}

.btn {
    border: none;
    font-family: Arial, Helvetica, sans-serif;
    padding: 15px 50px;
    border-radius: 99px;
    font-weight: bold;
    cursor: pointer;
    transition: filter 0.2s ease-out;
    color: #000;
    background-color: #fff;
    text-decoration: none;
}

.btn:hover {
    background: #c7c7c7;
}

.btn:active {
    filter: blur(1px);
}

#about {
    text-align: left;
    padding: 42px 32px;
    background-color: #191919;
    margin: 20px 50px 0 50px;
    border-radius: 12px;
    box-shadow: 0 0 15px #191919;
}

#themes {
    margin-top: 20px;
    text-align: center;
}

#themes-container {
    display: flex;
    gap: 20px;
}

.theme {
    width: 300px;
    height: 150px;
    overflow: hidden;
    display: flex;
    place-items: center;
    border: 2px solid #97979793;
    box-shadow: 2px 2px 15px #313131;
    border-radius: 12px;
    transition: 0.2s ease-out;
}

.theme:hover {
    box-shadow: 2px 2px 45px #313131;
    transform: scale(1.02);
}

.theme img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.theme:active {
    transform: scale(0.98);
    filter: blur(1px);
}

#footer {
    background-color: #191919;
    padding: 12px;
    width: inherit;
    display: flex;
    justify-content: center;
    flex-wrap:wrap;
    line-height: 40px;
}

#footer a {
    margin: 0 12px;
}

@media (max-width: 500px) {
    body {
        overflow-x: hidden;
    }

    #clock {
        margin: 0px;
        font-size: 9em;
        transform: translateX(30px);
    }

    #clock div:nth-child(1) {
        z-index: 1;
        color: #FFAF45;
        transform: rotate(5deg);
    }
    
    #clock div:nth-child(2) {
        z-index: 2;
        transform: translateX(-15px);
        color: #FB6D48;
    }
    
    #clock div:nth-child(3) {
        z-index: 3;
        transform: translateX(-30px);
        color: #979797;
    }
    
    #clock div:nth-child(4) {
        z-index: 4;
        transform: translateX(-45px);
        color: #D74B76;
    }
    
    #clock div:nth-child(5) {
        z-index: 5;
        transform: translateX(-60px) rotate(5deg);
        color: #673F69;
    }

    #mockup-container {
        width: 400px;
        height: 200px;
        margin-top: 10px;
    }

    #about {
        width: 300px;
        padding: 21px 16px;
    }

    #themes-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 320px) {
    #info {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }
}