@import url('https://fonts.googleapis.com/css2?family=Zen+Loop&display=swap');
/*html {
    box-sizing: border-box;
}

html *,
html *::before,
html *::after {
    box-sizing: inherit;
    padding: 0;
    margin: 0;
}*/

/*body {
    margin: 0;
    display: flex;
    /*height: 100vh;*
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgb(38, 37, 41);
    color: #fff;
    font-family: "Saira Extra Condensed", sans-serif;
    background: #011237;
}*/
.E{
    margin: 0;
    display: flex;
    /*height: 100vh;*/
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgb(38, 37, 41);
    color: #fff;
    font-family: "Saira Extra Condensed", sans-serif;
    background: #170346;
}

.h1-ilaya {
    font-family: 'Zen Loop', cursive;
    font-size: 60px;
    color: #043fbd;
}

.ileya-img{
    margin-top: 10px;
    border-radius: 5px;
}
.img-cover{
    border-radius: 20px;
}

.ileya-p{
    font-size: 20px;
}

.ileya-p2{
    margin-top: 10px;
    font-size: 25px;
    color: #c35f0d;
}

.clock {
    margin-top: 35px;
    margin-bottom: 30px;
    display: grid;
    padding: 0 15px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 2px;
    min-width: 200px;
    height: 210px;
    border-radius: 30px;
    background-image: linear-gradient( rgb(34, 34, 54) 0%, rgb(31, 2, 88) 20%, rgb(2, 2, 65) 50%, rgb(26, 26, 58) 100%);
    box-shadow: 0 0 6px rgb(202 228 225 / 92%), 0 0 30px rgb(202 228 225 / 34%), 0 0 12px rgb(30 132 242 / 52%), 0 0 21px rgb(30 132 242 / 55%), 0 0 34px rgb(30 132 242 / 0%), 0 0 54px rgb(30 132 242 / 7%);
}

.flipper {
    position: relative;
    width: 100%;
    min-width: 95px;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1600px;
}

.gear {
    position: absolute;
    top: calc(230px / 3);
    width: 12px;
    height: calc(150px / 3);
    background: linear-gradient( to bottom, #252d78 0%, #666666 17%, #7f7f7f 52%, #7f7f7f 52%, #4553ee 53%, #595959 87%, #131313 100%);
    outline: 3px solid #000;
    z-index: 99;
    transform-style: preserve-3d;
    transform: translateZ(10px);
    perspective: 0;
}

.gear:nth-child(2) {
    left: calc(95% - 12px);
}

.top,
.bottom {
    box-shadow: 0 6px 6px 1px rgba(16, 16, 55, 0.844), 0 2px 2px 1px rgba(255, 255, 255, 0.15);
    border-top: 2px solid rgb(102, 103, 110);
    border-bottom: 2px solid #000;
}

.top {
    position: relative;
    width: 95%;
    height: calc(50% - 15px);
    background-image: linear-gradient(rgb(48, 49, 53) 0%, rgb(56, 57, 62) 100%);
    margin-top: 10px;
    margin-bottom: 5px;
    border-top-left-radius: calc( 30px * 0.65);
    border-top-right-radius: calc( 30px * 0.65);
}

.bottom {
    position: relative;
    width: 95%;
    height: calc(50% - 15px);
    background-image: linear-gradient(rgb(57, 58, 63) 0%, rgb(65, 65, 71) 100%);
    margin-top: 5px;
    margin-bottom: 10px;
    border-bottom-left-radius: calc( 30px * 0.65);
    border-bottom-right-radius: calc( 30px * 0.65);
}

.text {
    font-size: 85px;
    display: block;
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    line-height: 193px;
    text-align: center;
    text-shadow: 0 0 6px rgba(202, 228, 225, 0.92), 0 0 30px rgba(202, 228, 225, 0.34), 0 0 12px rgba(30, 132, 242, 0.52), 0 0 21px rgba(30, 132, 242, 0.92), 0 0 34px rgba(30, 132, 242, 0.78), 0 0 54px rgba(30, 132, 242, 0.92);
}

.bottom .text {
    line-height: 0;
}

.top.new,
.bottom.new {
    position: absolute;
    left: 0;
    z-index: 12;
}

.top.new {
    top: 0;
    z-index: 1;
}

.top.new .text {
    backface-visibility: hidden;
}

.bottom.new {
    position: absolute;
    top: 0;
    height: calc(100% - 0px);
    transform: rotateX(0.5turn);
    z-index: 1;
    opacity: 0;
}

.flipper.flipping .top.new {
    transform-origin: bottom center;
    animation: rotate 0.55s 1 ease-in-out forwards;
}

.flipper.flipping .bottom.new {
    animation: rotatebottom 0.55s 1 ease-in-out forwards;
}

@keyframes rotatebottom {
    0% {
        opacity: 0;
    }
    49% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@keyframes rotate {
    0% {
        transform: rotateX(0) translateY(0px);
    }
    100% {
        transform: rotateX(-180deg) translateY(-10px);
    }
}

.link-edt{
    margin-top: 20px;
}

.link-btns{
    margin-top: 10px;
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #334;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    margin-left: -20px;
    display: inline-block;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-radius: .8rem;
    background: linear-gradient(to right, #dd8237 0%, #043fbd 100%);
}

/* Media Query for very small screens */
@media (max-width: 360px) {
    .h1-ilaya {
        font-size: 36px;
    }
    
    .clock {
        height: 140px;
        grid-column-gap: 5px;
    }
    
    .text {
        font-size: 70px;
        line-height: 100px;
    }
    
    .link-btns {
        padding: 6px 15px;
        font-size: 12px;
    }
}