/* 1. The "Box-Sizing" Reset - Essential for modern layouts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: fuchsia;
    color: darkmagenta;
    line-height: 1.6;
    padding: 20px; /* Gives the content some breathing room */
}

header {
    margin-bottom: 30px;
}

h1 {
    color: #FFFFFF;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* --- Layout Structure --- */
main {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto; /* Centers the whole container */
}

.profile-box, .hobbies-box {
    flex: 1; /* Instead of width: 50%, this makes them equal size automatically */
    background-color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- Elements --- */
img {
    max-width: 100%; /* Ensures the image never spills out of its box */
    height: auto;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
}

a {
    display: inline-block;
    margin-top: 10px;
    color: fuchsia;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

a:hover {
    color: blue;
    transform: scale(1.05); /* Adds a little "pop" effect */
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    main {
        flex-direction: column;
    }

    .profile-box, .hobbies-box {
        width: 100%; /* Fixed the typo here: changed semicolon to colon */
    }
}

.contact-container {
    background-color: #911aa1;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
    margin-top: 15px;
}

form {
    display: flex;
    flex-direction: column;
}

input, textarea {
    margin-bottom: 15px;
    padding: 25px;
    border: #2da141;
    border-radius: 10px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

button {
    background-color: #c963ae;
    color: aqua;
    padding: 25px;
    border: black;
    border-radius: 10px;
    font-weight: bold;
    cursor: all-scroll;
}

button:hover {
    background-color: #3f69bc;


}