@font-face {
    font-family: 'MyFont';
    src: url(/fonts/PlusJakartaSans-SemiBold.ttf);
}

@font-face {
    font-family: 'MyFont2';
    src: url(/fonts/Poppins-SemiBold.woff);
}

@font-face {
    font-family: 'MyFont3';
    src: url(/fonts/Poppins-Light.woff);
}

@font-face {
    font-family: 'MyFont5';
    src: url(/fonts/Poppins-ExtraBold.woff);
}

body {
    margin: 0;
    padding: 0;
    font-family: MyFont3;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    width: 100%;
}

h1 {
    font-family: MyFont5;
    color: #2b00ff;
    font-size: 2.5em;
    margin-bottom: 10px;
    text-align: center;
}

h1::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #6782ff, #2b00ff);
    margin: 10px auto;
    border-radius: 2px;
}

h2 {
    font-family: MyFont2;
    color: #2b00ff;
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
}

h3 {
    font-family: MyFont;
    color: #444;
    font-size: 1.4em;
    margin-top: 30px;
}

h4 {
    font-family: MyFont;
    color: #555;
    font-size: 1.2em;
    margin-top: 25px;
}

p {
    margin-bottom: 15px;
    font-size: 16px;
}

ul {
    margin-bottom: 20px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.logo-text {
    font-family: MyFont5;
    color: #2b00ff;
    font-size: 1.5em;
    margin-bottom: 0px;
    text-align: center;
}
li {
    margin-bottom: 0;
    max-width: 800px;
}

a {
    color: #2b00ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #6782ff;
    text-decoration: underline;
}

strong {
    font-family: MyFont2;
    color: #444;
}

/* Container for better readability */
.privacy-container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Definition Items */
li p {
    margin: 8px 0;
}

li strong {
    display: block;
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #2b00ff;
}

/* Special styling for definition sections */
h3 + ul, 
h4 + ul {
    background-color: #f8f9ff;
    padding: 20px 30px;
    border-radius: 8px;
    border-left: 4px solid #2b00ff;
    list-style-type: none;
}

/* Cookies section special styling */
h4 + ul li {
    background: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

/* Types of Cookies section */
h4 + ul li strong + p {
    color: #666;
    font-size: 0.95em;
    margin-top: 5px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 0 10px;
    }

    .pc-nav {
        display: none;
    }

    .privacy-container {
        padding: 20px 15px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }

    h4 {
        font-size: 1.1em;
    }

    /* Definition sections responsive */
    h3 + ul, 
    h4 + ul {
        padding: 15px;
    }

    li {
        margin-bottom: 15px;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }
}

@media screen and (max-width: 480px) {
    .privacy-container {
        padding: 15px 10px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.3em;
    }

    p, li {
        font-size: 14px;
    }

    h3 + ul, 
    h4 + ul {
        padding: 10px;
    }
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

/* Side Menu Responsive Styles */
#side-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 250px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    z-index: 1001;
    padding-top: 20px;
}

#side-menu.active {
    left: 0;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

#overlay.active {
    display: block;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.17);
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h2 {
    font-family: MyFont5;
    font-size: 20px;
    color: #000000;
    margin-left: 20px;
    margin-top: 0;
    margin-bottom: 0;
}

/* PC Navigation */
.pc-nav ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
}

.pc-nav li a {
    text-decoration: none;
    margin: 10px;
    font-family: MyFont;
    color: rgb(17, 0, 255);
}

.nav-item {
    --nav-width: 0%;
}

.nav-item::after {
    content: '';
    display: block;
    width: var(--nav-width);
    height: 3px;
    border-radius: 20px;
    background: linear-gradient(90deg, #6782ff, #2b00ff);
    transition: width 0.4s ease-in-out;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item a:hover {
    color: #000000;
}

#side-menu ul li a {
    --nav-width: 0%;
    display: block;
    padding: 15px 20px;
    color: #000;
    text-decoration: none;
    font-size: 18px;
    width: max-content;
    position: relative;
}

#side-menu ul li a::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 20px;
    width: var(--nav-width);
    height: 4px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='4' viewBox='0 0 100 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 0 2 Q 25 0, 50 2 T 100 2' stroke='%232b00ff' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 50px 4px;
    transition: width 0.3s ease;
}
