body {
    
    background-image: url(img/kd.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 1000px;
    font-family: "Poppins", sans-serif;
    color: #ffffff;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    animation: transitionIn 0.75s;
}

hr {
    all: unset; 
    display: block;
    width: 100%; 
    height: 2px; 
    background-color: white; 
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    color: white;
}

h1 {
    font-size: 4em;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(197, 197, 197, 0.7);
    margin: 80px 0 0 40px;
}

nav {
    text-transform: uppercase;
    padding: 160px 0 30px 0; /* Adjusted padding to account for header size */
   
    align-items: center;
    margin-left: auto;
    margin-right: 200px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 18px;
    padding: 8px 15px;
    display: block;
    transition: background-color 0.4s, transform 0.3s ease;
    
}

nav ul li a:hover {
    background-color: #444;
    color: white;
    border-radius: 5px;
    transform: scale(1.2);
}

nav ul li a.active {
    background-color: #3c3c3c;
    border-radius: 5px;
    color: white;
}

p {
    font-size: 3em;
    margin: 240px 100px 0;
    font-weight: 300;
    word-spacing: 5px;
    opacity: 1;
}

@keyframes transitionIn {
    from {
        opacity: 0;
        transform: rotateX(-10deg);
    }
    to {
        opacity: 1;
        transform: rotateX(0);
    }
}
