@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body, html {
    background-color: #28282B;
    padding: 10px;
    color: white;
    font-family: "Kanit", sans-serif;
    height: 100%;
    background-color: #111;
}

html {
    scroll-behavior: smooth;
}

.content {
    color: white;
    padding-top: 90px;
}

.content h1 {
    text-align: center;
    font-size: 40px;
}

.content p {
    padding-top: 15px;
    font-size: 18px;
    margin: 15px;
}

.bg-t {
    padding-top: 250px;
}

.footer {
    color: white;
    text-align: center;
    font-size: medium;
    padding: 10px;
    border-top: white solid 3px;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    bottom: 0;
    margin-top: 200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

i {
    margin-right: 10px;
}

p {
    word-wrap: break-word;
}

.item {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    border-bottom: white solid 3px;
}

#aboutme {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

img {
    max-width: 100%;
    height: auto;
}

#aboutme li {
    font-weight: 300;
    font-style: normal;
    font-size: large;
}

#aboutme img {
    padding-bottom: 2px;
}

#dc {
    max-width: 100%;
    height: auto;
    float: right;
    margin: 15px;
}

@media (max-width: 1100px) {
    #dc {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 80%; /* Adjust this value as needed to ensure it doesn't overlap text */
    }
    .footer {
        margin-top: 150px;
    }
    #aboutme, .item, .footer {
        /* margin-top: 100px; */
        width: 100%;
    }

    /* .col-sm {
        width: 250px !important; 
        
    }

    .card {
        width: 220px !important; 
    } */
}



#loginpanel {
    max-width: 400px;
}

#loading {
    position: absolute;
    top: 50%;
    left: 48.5%;
    transform: translate(-50%, -50%);
    z-index: 1050; /* Make sure it's above other elements */
}

.card {
    margin-bottom: 10px;
}

.card > img {
    height: 170px;
}

#nav > a {
    margin: 5px;
    padding: 5px;
}