* {
    scroll-behavior: smooth;
    transition: all 100ms ease-in-out;
    --fontColor: #8a8a8a;
    --fontHover: #dcdcdc;
    --backgroundColor: #111111;
    --primaryColor: #242424;
    --textColor: black;
    --textColorLight: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    background: url(img/dot.svg) no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #000000;
    color: var(--fontColor);
    font-family: 'Sansation', sans-serif;
}

.container {
    display: flex;
    justify-content: center;
}

.profile {
    width: 118px;
    height: 118px;
    background-image: url(img/Logo.jpeg);
    background-size: cover;
    background-position: center;
    position: relative;
    top: 5px;
    left: calc(50% - 59px);
    border-radius: 10%;
}

.content {
    margin-top: 37px;
    padding-top: 35px;
    width: 330px;
    height: 235px;
    background-image: url(img/bg.gif);
    border-radius: 21px;
}

.text {
    text-align: center;
    margin: 0 auto;
    color: var(--textColor);
}

.text a {
    text-decoration: none;
    color: inherit;
}

.text h2 {
    padding-top: 20px;
    margin: 0 auto;
    font-family: 'Misans Lao', sans-serif;
    font-style: normal;
    font-weight: 900;
    font-size: 24px;
    color: var(--textColor);
}

.text p {
    margin: 0 auto;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    color: var(--textColor);
}

.content2 {
    margin-top: 25px;
}

.button {
    display: block;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    width: 330px;
    height: auto;
}

.btn img {
    margin-top: 20px;
}

.profile3 {
    left: calc(50% - 59px);
    border-radius: 50%;
}

.content3 {
    width: 330px;
    height: 150px;
    border-radius: 21px;
}

.text3 {
    text-align: center;
    margin: 0 auto;
    color: var(--textColorLight);
}

.text3 a {
    text-decoration: none;
    color: inherit;
}

.text3 h2 {
    padding-top: 20px;
    margin: 0 auto;
    font-family: 'Misans Lao', sans-serif;
    font-style: normal;
    font-weight: 900;
    font-size: 24px;
    color: var(--textColorLight);
}

.text3 p {
    margin: 0 auto;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    color: var(--textColorLight);
}

.font {
    font-family: "Noto Sans Lao";
}

@media (max-width: 768px) {
    .profile {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        left: calc(50% - 75px);
    }
}

.box {
    position: relative;
    width: 380px;
    height: 420px;
    background: var(--backgroundColor);
    border-radius: 8px;
    overflow: hidden;
}

.box::before, .box::after {
    content: '';
    z-index: 1;
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    transform-origin: bottom right;
    background: linear-gradient(0deg, transparent, #4000ff, #1e00ff);
    animation: animate 6s linear infinite;
}

.box::after {
    background: linear-gradient(0deg, transparent, #ff0055, #1900ff);
    animation-delay: -3s;
}

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* ปุ่มเล็กๆ ด้านขวามือ */
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffffff;
    color: white;
    border: none;
    border-radius: 50%; 
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    text-decoration: none;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.floating-button:hover {
    background-color: #b2b2b2;
}

.floating-button img {
    width: 30px;
    height: 30px;
}