body{
    background-color: black;
    padding: 5px 5%;
    display: flex;
    flex-direction: column;
}

:root{
    --main-color: rgb(255, 81, 0);
    --alt-color: rgb(255, 31, 0);
}

*{
    margin: 0;
    padding: 0;
    color: var(--main-color);
    font-family: "kanit", sans-serif;
}
.container{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.container img{
    border-radius: 50%;
    width: 100px;
    margin-top: 5%;
    border: 3px solid var(--main-color);
    animation: glow ease 5s infinite forwards;
}
footer{
    position: fixed;
    bottom: 0;
    width: 90%;
}
.End{
    margin: 15px 0;
    border: 1.5px dashed var(--main-color);
}

p{
    margin-top: 8%;
    width: 400px;
    text-align: center;
    line-height: 30px;
}

b{
    font-size: 2.5rem;
    font-weight: 500;
}

.footer{
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
}

.footer button{
    font-size: 1.1rem;
    font-weight: 600;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
}
.footer button a{
    text-decoration: none;
}
.footer button:hover{
    border-bottom: 2px solid var(--main-color);
}
ul{
    list-style-type: none;
}
ul li a{
    text-decoration: none;
}
li{
    border-bottom: 2px solid transparent;

}

ul{
    display: flex;
    gap: 20px;
    font-size: 1.1rem;
    font-weight: 600;
}

li:hover{
    border-bottom: 2px solid var(--main-color);
}

@media (max-width:300px) {
    .container{
        margin-top: 80px;
    }
    .container img{
        width: 60px;
    }

    .container h1{
        font-size: 1.8rem;
    }

    p{
        margin-top: 12%;
        font-size: 10px;
        width: 250px;
    }

    b{
        font-size: 1.5rem;
    }
}

@media (min-width:300px) and (max-width:400px) {
    .container{
        margin-top: 80px;
    }
    .container img{
        width: 65px;
    }

    .container h1{
        font-size: 1.85rem;
    }

    p{
        margin-top: 12%;
        font-size: 12px;
        width: 300px;
    }

    b{
        font-size: 1.7rem;
    }
}

@media (min-width:400px) and (max-width:500px) {
    .container{
        margin-top: 70px;
    }
    .container img{
        width: 70px;
    }

    .container h1{
        font-size: 2rem;
    }

    p{
        margin-top: 12%;
        font-size: 13px;
        width: 400px;
    }

    b{
        font-size: 1.9rem;
    }
}
@media (min-width:500px) and (max-width:600px) {
    .container{
        margin-top: 60px;
    }
    .container img{
        width: 75px;
    }

    .container h1{
        font-size: 2rem;
    }

    p{
        margin-top: 12%;
        font-size: 15px;
        width: 400px;
    }

    b{
        font-size: 2rem;
    }
}
@media (min-width:600px) and (max-width:1000px) {
    .container{
        margin-top: 10px;
    }
    .container img{
        width: 80px;
    }

    .container h1{
        font-size: 2.1rem;
    }

    p{
        margin-top: 9%;
        font-size: 16px;
        width: 400px;
    }

    b{
        font-size: 2.2rem;
    }
}


@keyframes rotate {
    0%{
        transform: rotate(0);
        opacity: 1;
        scale: 1;
    } 
    30%{
        transform: rotate(1800deg);
        opacity: 1;
        scale: 1.1;
    }
    100%{
        transform: rotate(1800deg);
        opacity: 1;
    }
}

@keyframes ani {
    0%{
        opacity: 0.8;
        scale: 1;
    }
    40%{
        opacity: 1;
        scale: 1.5;
    }
    50%{
        transform: translateX(-50px);
    }
    60%{
        transform: translateX(50px);
    }  
    70%{
        transform: translateX(50px);
    }
    80%{
        transform: translateX(-50px);
    }
    90%{
        scale: 1;
        opacity: 0.8;
    }  
}

@keyframes scaler {
    0%{
        opacity: 0.8;
        scale: 1;
        transform: translateY(0);
    }

    60%{
        opacity: 1;
        scale: 1.2;
        transform: translateY(-10px);
    }
    70%{
        opacity: 1;
        scale: 1.2;
        transform: translateY(-10px);
    }
    90%{
        opacity: 0.8;
        scale: 1;
        transform: translateY(0);
    }

    100%{
        opacity: 0.8;
        scale: 1;
        transform: translateY(0);
    }
}

@keyframes amaze {
    0%{
        scale: 1;
    }
    45%{
        scale: 1.2;
        rotate: 0deg;
    }
    47%{
        rotate: 25deg;
    }
    49%{
        rotate: -25deg;
    }
    51%{
        rotate: 25deg;
    }
    53%{
        rotate: -25deg;
    }
    55%{
        rotate: 25deg;
    }
    57%{
        scale: 1.2;
        rotate: 0deg;
    }
    100%{
        
        scale: 1;
    }
}

@keyframes beat {
    0%{
        scale: 1;
    }
    5%{
        scale: 1.2;
    }
    10%{
        scale: 1;
    }
    15%{
        scale: 1.2;
    }
    20%{
        scale: 1;
    }
    100%{
        scale: 1;
    }
}

@keyframes glow {
    0%{
        scale: 0.9;
        box-shadow: 0 0 5px var(--main-color);
        opacity: 0.5;
    }
    30%{
        scale: 1.1;
        box-shadow: 0 0 25px var(--main-color);
        opacity: 1;
    }
    50%{
        scale: 1.1;
        box-shadow: 0 0 25px var(--main-color);
        opacity: 1;
    }
    100%{
        scale: 0.9;
        box-shadow: 0 0 5px var(--main-color);
        opacity: 0.5;
    }
}