@font-face {
  font-family: 'childsplaybold';
  src: url('fonts/childsplaybold.woff2') format('woff2'),
       url('fonts/childsplaybold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Prevents FOIT */
}

html {
    background-image: url("photos/chucky city 02.jpg");
    background-attachment: fixed;
    background-color: #000;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
}

a {
    color: #eee;
    }

a:active,
a:hover {
    color: #ffbc00; /* golden yellow */
    }

/*
a:visited {
    color: #ffffff;
    }
*/

body {
    align-items: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    font-size: larger;
    justify-content: center;
    padding: 20px 40px;
    width: auto;
}

button {
    background-color: #ccc;
    border: thin solid gray;
    border-radius: 5px;
    padding: 3px;
    }

div {
    margin-bottom: 40px;
    width: auto;
}

footer {
    color: #ccc;
    font-size: smaller;
    padding: 1rem 2rem;
    }

h1 {
    font-family: 'childsplaybold', fallback-font, sans-serif;
    font-size: xxx-large;
    letter-spacing: 2px;
    }

p {
    margin-bottom: 20px;
    }

video {
    margin-bottom: 20px;
    }


/* Basic Header CSS */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
/*    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    }

a.icon {
    text-decoration: none;
}

.icon img {
    vertical-align: middle;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    }

.logo img {
    width: 150px;
    }

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    }

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    }

nav ul li a:active,
nav ul li a:hover {
    color: #f84411;
    }


/* Responsive Hamburger Menu */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    justify-content: center;
    }

.nav-links li a {
    color: #fff; /* White text for contrast */
    text-decoration: none;
    font-family: 'childsplaybold', fallback-font, sans-serif;
    font-size: large;
    transition: color 0.3s ease;
    letter-spacing: 2px;
    }

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1rem;
    }

.hamburger span {
    background-color: #fff;
    height: 3px;
    width: 25px;
    margin: 2px 0;
    transition: all 0.3s ease;
    }


/* Hamburger Animation for toggle */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    }

.hamburger.active span:nth-child(2) {
    opacity: 0;
    }

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    }

/* Header CSS end */


#about video{
    float: right;
    }

#ca,
#roadmap,
#tokenomics,
#video {
    text-align: center;
    }

.ca,
.contract-address {
    overflow: hidden;
    }

.content {
    background-color: rgba(0, 0, 0, 0.33);
    border-radius: 20px;
    padding: 10px 20px;
    max-width: 1200px;
    }


/* Roadmap CSS */

/* --- Base Styles --- */
.roadmap-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    }

/* --- Roadmap List (Flexbox for horizontal layout) --- */
.roadmap-list {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    position: relative;
    }

/* Adds the horizontal connecting line */
.roadmap-list::before {
    content: '';
    position: absolute;
    top: 36%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ddd;
    z-index: -1;
    transform: translateY(-50%);
    }

/* --- Roadmap Item Styling --- */
.roadmap-item {
    position: relative;
    flex: 1; /* Distributes space equally */
    text-align: center;
    margin: 0 15px;
    }

/* Creates the circle milestone */
.roadmap-item::after {
    content: '';
    position: absolute;
    top: 36%;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: #f84411;
    border: 4px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    }

.roadmap-content {
    background-color: rgba(0, 0, 0, 0.33);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 120px;
    transition: transform 0.3s ease;
    }

/* Optional hover effect */
.roadmap-item:hover .roadmap-content {
    transform: translateY(-10px);
    }

/* Adjusts content position for alternating layout */
.roadmap-item:nth-child(even) .roadmap-content {
    margin-top: -50px;
    }

/* --- Responsive Layout for smaller screens --- */
@media (max-width: 768px) {
.roadmap-list {
    flex-direction: column;
    padding-top: 30px;
    }

/* Removes the horizontal line for mobile */
.roadmap-list::before {
    display: none;
    }

/* Creates a vertical line instead */
.roadmap-list::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20px; /* Position line on the left */
    width: 2px;
    bottom: 0;
    background-color: #ddd;
    z-index: -1;
    }

.roadmap-item {
    margin: 0;
    text-align: left;
    padding-left: 50px; /* Space for the vertical line and circle */
    padding-bottom: 50px;
    }

.roadmap-item:nth-child(even) .roadmap-content {
    margin-top: 0;
    }
  
.roadmap-item::after {
    left: 20px;
    transform: translate(-50%, -50%);
    }

    
}


/* Mobile CSS */
@media (max-width: 768px) {

html {
    background-image: url("photos/chucky city 03.jpg");
    }
        
body {
    font-size: initial;
    padding: 10px 20px;
    }
    
header {
    align-items: flex-start;
    flex-direction: column;

    }

img {
    width: 100%;
    object-fit: contain;
    }

nav ul {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
    }

video {
    width: 100%;
    }

.ca, .contract-address {
    font-size: smaller;
    overflow: hidden;
    text-overflow: ellipsis;
    }

.content {
    border-radius: 15px;
    padding: 10px 10px;
    max-width: 100%;
}

/* --- Hamburger Menu --- */
nav {
    height: 0px;
    }

.hamburger {
    display: flex;
    }

.nav-links {
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 1rem 0;
    }

.nav-links.active {
    display: flex;
    }

.nav-links li {
    padding: 0.75rem;
    text-align: center;
    }

.nav-links li a {
    color: #f84411;
    font-size: 1.2rem;
    }


}
