@font-face {
    font-family: 'MyCustomFont';
    src: url("mayfield/mayfield.ttf") format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MyCustomFont2';
    src: url("noyh-r-semilight-maisfontes.2288/noyh-r-semilight.ttf") format('woff2');
    font-weight: normal;
    font-style: normal;
}

*{
    margin: 0px;
    padding: 0px;
}
body {
    background-image: url("https://i.redd.it/n5tuw4gg76731.jpg");
    /* background-position: center; */
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
    box-sizing: border-box;
    /* background: rgba(110, 79, 23, 0.9); */
    box-shadow: inset 0 0 0 2000px rgba(110, 79, 23, 0.9);
    backdrop-filter: blur(9px);
}

.header {
    display: flex;
    /* justify-content: space-between;*/
    justify-items: self-start;
    align-items: center;
    padding: 10px 30px;
    width: 95%;
    height: auto;
    position: absolute;
    z-index: 1000;


}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #ffa31a;
    margin-right: 40px;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
    flex: 1;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffa31a;
}

.header-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.search-box {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 5px;
    padding: 5px 10px 5px 30px;
    color: white;
    font-size: 14px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/622/622669.png');
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: 8px center;
    flex-shrink: 0;
}

.search-box::placeholder {
    color: #ccc;
}

.sign-up {
    background: #ffa31a;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    color: black;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
    flex-shrink: 0;
}

.sign-up:hover {
    background: #cc8500;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 50px 50px;
    /* box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.4); */
    height: 100vh;
    /* width: 100vh; */
}

.character-info {
    max-width: 30%;
    color: #e0e0e0;
    flex-shrink: 0;
}

.character-info h1 {
    font-size: 48px;
    color: #ffa31a;
    margin: 0px;
}

.character-info h2 {
    font-size: 48px;
    margin: 0px;
}

.character-info p {
    font-size: 18px;
    line-height: 1.8;
    margin: 0px;
    /* margin-top: 15px; */
}

.des {
    margin-top: 40px;
}

.character-image {
    width: 350px;

    text-align: center;
    flex-shrink: 0;

}

.character-image img {
    width: 100%;

    /* border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7); */
}

.additional-nav {
    max-width: 20%;
    min-width: 200px;
    text-align: right;
    padding-right: 20px;
}

.additional-nav ul {
    list-style: none;
    padding: 0;
}

.additional-nav ul li {
    margin-bottom: 15px;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    /* Transparent color for inactive items */
    cursor: pointer;
    position: relative;
    /* For positioning the dot */
    transition: color 0.3s, font-size 0.3s;
}

.additional-nav ul li.active {
    font-size: 26px;
    /* Increased font size for active item */
    color: white;
    /* White color for active item */
    font-weight: bold;
}

.additional-nav ul li.active::before {
    content: '';
    position: absolute;
    left: -15px;
    /* Adjust dot position closer to text */
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: white;
    /* White dot */
    border-radius: 50%;
}

.additional-nav ul li:hover {
    color: #ffa31a;
    /* Highlighted color on hover */
}

#system {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; 
    height: 100%; 
    overflow: hidden; 
}

.petal {
    position: absolute;
    width: 25px;
    height: 20px;
    background-image: url('https://djjjk9bjm164h.cloudfront.net/petal.png');
    background-size: cover;
    opacity: 0.6;
    transform-origin: center center;
    pointer-events: none;
}

@media (max-width: 768px) {
    .header {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        margin-bottom: 10px;
    }

    .header-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .additional-nav {
        max-width: 100%;
        text-align: center;
    }
}