@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;1,400&display=swap');

@font-face{
    font-family:'digital-clock-font';
    src: url('/fonts/digital-7.ttf');
}


@keyframes gradientAnimation {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}


/*global*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    margin: 0;
    padding: 0;
    color: #e0e1dd; 
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    /*animation*/
    background-color: #333533; 
    background: linear-gradient(45deg, #57602d, #895818, #036d9a);
    background-size: 400% 400%; 
    animation: gradientAnimation 10s ease infinite; 
}

/*navbar*/
.kukoologo{
    width: 6rem;
    margin-right: 3%;
    margin-bottom: 3%;
}
header {
    position: absolute;
    top: 10%;
    width: 90%; 
    max-width: 600px; 
    height: 3.75rem;
    background: #242423;
    border-radius: 1.875rem; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: top 0.3s;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    padding: 0 1rem; 
}

.navbar a {
    position: relative;
    font-size: 1.4rem;
    color: #CFDBD5;
    font-weight: 500;
    margin: 0 2rem;
    text-decoration: none;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.clock-title {
    font-size: 1.4rem;
    margin: 0;
    position: absolute;
    top: 18%; 
    height: 60px; 
    display: flex;
    justify-content: center;
    align-items: center;
    color: #CFDBD5;
}

.kukoo-logo {
    font-size: 2rem;
    margin: 0;
    position: absolute;
    top: 3%; 
    height: 60px; 
    display: flex;
    justify-content: center;
    align-items: center;
    color: #CFDBD5;
}

.header-elements .kukoo-logo {
    font-size: 25px;
    margin: 0;
    position: absolute;
    top: 5%; 
    height: 60px; 
    display: flex;
    justify-content: center;
    align-items: center;
    color: #CFDBD5;
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 0.125rem;
    background: #F5CB5C;
    transition: .3s;
}

.navbar a:hover::before {
    width: 100%;
}

@media (max-width: 1538px) {
header {
    top: 10%;
    width: 90%; 
    max-width: 600px;
    height: 7.6%;
}

.navbar a {
    font-size: 1em;
    margin: 0 2.4rem;
}

.kukoologo{
    width: 3.2rem;
}

.kukoo-logo {
    font-size: 1.2rem;
    height: 5%; 
}

.clock-title {
    font-size: 0.8rem;
    height: 10%;
}
}

@media (max-width: 1024px) {
header {
    top: 10%;
    width: 90%; 
    max-width: 600px;
    height: 7.6%;
}

.navbar a {
    font-size: 1em;
    margin: 0 2.4rem;
}

.kukoologo{
    width: 3rem;
}

.kukoo-logo {
    font-size: 1rem;
    height: 5%; 
}

.clock-title {
    font-size: 0.8rem;
    height: 6%;
}
}

@media (max-width: 768px) {
header {
    top: 10%;
    width: 90%; 
    max-width: 600px;
    height: 7.6%;
}

.navbar a {
    font-size: 1em;
    margin: 0 2.2rem;
}

.kukoologo{
    width: 2.8rem;
}

.kukoo-logo {
    font-size: 1rem;
    height: 5%; 
}

.clock-title {
    font-size: 0.8rem;
    height: 10%;
}
}

@media (max-width: 427px) {
header {
    top: 10%;
    width: 90%; 
    max-width: 600px;
    height: 6.5%;
}

.navbar a {
    font-size: .8em;
    margin: 0 1.8rem;
}

.kukoologo{
    width: 34px;
}

.kukoo-logo {
    font-size: 1rem;
    height: 5%; 
}

.clock-title {
    font-size: 0.6rem;
    height: 5%;
}
}

@media (max-width: 321px) {
header {
    top: 10%;
    width: 90%; 
    max-width: 600px;
    height: 6.5%;
}

.navbar a {
    font-size: .8em;
    margin: 0 .8rem;
}
}
















