@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@500&display=swap');

* {
    font-family: "Kanit", "sans-serif";
    margin: 0;
    padding:0;
    box-sizing: border-box;
}

.background {
    background-image: url("../images/background.png");
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-size: 100%;
    position: fixed;
    background-repeat: no-repeat;
}

/* .background-box {
    top: 2%;
    left: 3%;
    width: 94%;
    height: 96%;
    background-color: #fff;
    position: absolute;
    opacity: 0.08;
    border: 10px solid #fff;
    border-radius: 25px;
} */

@keyframes fade-down
{
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

.header {
    position: fixed;
    top : 0;
    left:0;
    width: 100%;
    padding: 20px 100px;
    /* background: #e59ff5d4; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 40px;
    font-weight: 600;
    text-decoration: none;
    color: #f58c36;
}

.introduction a
{
    color:hsl(5, 100%, 59%);
}

.navbar a{
    position: relative;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    margin-left: 110px;
}

.navbar.Home::before {
    background:#ff8800;
    width: 100%;
} 

.navbar a::before {
    position: absolute;
    content: '';
    background:#fff;
    width: 0;
    height:3px;
    top:100%;
    left:0;
    transition: .3s;
}

.navbar a:hover::before {
    width:100%;
}

.introduction h1 {
    top: 25%;
    left: 100px;
    width: 350px;
    position: absolute;
    font-size: 30px;
    color: #fff;

    animation: fade-down 0.5s;

    -webkit-line-clamp: 8;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.credits :first-child {
    bottom: 3%;
    position: absolute;
    font-size: 15px;
    color: antiquewhite;
    left: 100px;
}

.credits :last-child {
    bottom: 3%;
    position: absolute;
    font-size: 15px;
    color: antiquewhite;
    right: 100px;
}

