/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f4f4f4;
    background-image: url('img/background.jpg');
    background-size: cover;
    background-attachment: fixed; /* Keeps background fixed */
}

/* Header */
header {
    background-color: #8B0000; /* Cornell Red */
    color: white;
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
}

/* Bio Section */
.bio {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Profile Picture (Zoomed Out, Circular) */
.profile-pic {
    width: 180px;  /* Slightly bigger for zoom-out effect */
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center; /* Moves image to reveal more face */
    transition: box-shadow 0.3s ease-in-out;
}

/* Hover Glow Effect */
.profile-pic:hover {
    box-shadow: 0px 0px 15px rgba(65, 105, 225, 0.8);
}

/* Magic Mouse Trail */
.trail {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    animation: fadeOut 0.5s ease-out;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Fun Feature Section */
.fun-feature {
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

#random-dog {
    max-width: 100%;
    border-radius: 10px;
}

#dog-button {
    display: block;
    margin: 10px auto;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    background-color: royalblue;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 200px;
}

#dog-button:hover {
    background-color: darkblue;
}

/* Projects Section */
.projects {
    background: #FF8C00; /* Sunset Orange */
    color: black;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    text-align: left;  /* Ensures left alignment */
}

.projects h2 {
    text-align: center;
    margin-left: 20px;
}

.projects ul {
    padding-left: 40px; /* Moves bullets correctly */
}

.projects li {
    margin-bottom: 10px;
}

/* Guess My Teams Section */
.guess-my-teams {
    background: linear-gradient(to right, #0066ff, #ff6600); /* Gradient effect */
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
}

.guess-my-teams h2 {
    text-align: center;
}

/* Style for details dropdown (the 3 sports) */
details {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px;
    margin: 10px auto;
    max-width: 600px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

/* Distinct style for the explanation details */
.info-details {
    background: rgba(255, 255, 255, 0.25);
}

/* When details are expanded */
details[open] {
    background: rgba(255, 255, 255, 0.2);
}
.info-details[open] {
    background: rgba(255, 255, 255, 0.3);
}

/* Style the summary (clickable part) */
summary {
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
}

/* Style for hidden content */
details p {
    padding: 10px;
    margin: 0;
    font-size: 16px;
    border-top: 1px solid white;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 10px;
    margin-top: 20px;
}
