/* AI CSS (by chat gpt) */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2e2e2e;
    color: #f0f0f0;
}

header {
    background-color: #800000;
    color: #ffffff;
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}


button {
    justify-content: center;
    text-align: center;
    display: flex;
    margin: 0 auto;
}

.sbutton{
    display: block;
    width: fit-content; 
    margin: auto; 
    padding: 10px 20px;
    background-color: transparent;
    color: black;
    font-size: 24;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 100px;
    border-color: black;
    font-family: consolas;
    /* border-style: hidden ; */
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

nav ul li a:hover {
    color: #ff6666;
}

.text-box {
    background-color: #4d0000;
    color: #ffffff;
    padding: 20px;
    margin: 20px;
    border: 2px solid #ff6666;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
}

section#intro {
    padding: 50px;
    text-align: center;
    background-color: #4d0000;
    color: #ffffff;
}

section#features {
    padding: 50px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.feature {
    background-color: #800000;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 45%;
}

.feature h3 {
    color: #ffffff;
    margin-bottom: 20px;
}

.cube {
    width: 100px;
    height: 100px;
    position: relative;
    margin: 20px auto;
    transform-style: preserve-3d;
    transform: rotateX(-30deg) rotateY(-45deg);
    animation: spin 10s infinite linear;
}

.cube .face {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: #b30000;
    border: 2px solid #ff6666;
    box-sizing: border-box;
    text-align: center;
    line-height: 100px;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

.cube .front  { transform: translateZ(50px); }
.cube .back   { transform: rotateY(180deg) translateZ(50px); }
.cube .left   { transform: rotateY(-90deg) translateZ(50px); }
.cube .right  { transform: rotateY(90deg) translateZ(50px); }
.cube .top    { transform: rotateX(90deg) translateZ(50px); }
.cube .bottom { transform: rotateX(-90deg) translateZ(50px); }

@keyframes spin {
    0% { transform: rotateX(-30deg) rotateY(-45deg); }
    100% { transform: rotateX(-30deg) rotateY(315deg); }
}

.parallax {
    background-image: url('https://images.unsplash.com/photo-1517511620798-cec17d428bc0');
    height: 200px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 20px 0;
}

footer {
    background-color: #4d0000;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    position: sticky;
    bottom: 0;
    width: 100%;
}
