.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #d463cd;
    color: rgb(255, 255, 255);
    padding: 12px 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.dropbtn:hover {
    background-color: #bc73bc;
}

.home-content {
    display: none;
    position: absolute;
    background-color: #f0e8ee;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 4px;
    margin-top: 5px;
}

.home-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.home-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .home-content {
    display: block;
}

/* General page styles */
body {
    font-family: Inter, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-top: 20px;
}

h5 {
    text-align: center;
    color: #34495e;
}

.home,
.about,
.projects,
.contact {
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

p {
    text-align: justify;
    max-width: 800px;
    margin: 0 auto;
}
img {
    display: block;
    margin: 20px auto; /* Center the image horizontally */
    max-width: 100%; /* Ensure image is responsive */
    height: auto;
    border-radius: 8px; /* Add a slight rounding to the corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease; /* Smooth transition for hover effect */
}
footer {
    background-color: #f4f4f9;
    text-align: center;
    padding: 10px 20px;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    margin-top: 20px;
}

.visitor-counter-container {
    margin: 0;
    padding: 2px 5px; /* Smaller padding */
    font-size: 14px;
    color: #333;
    text-align: right;
}
.admin-container, .email-container {
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    font-family: Inter, sans-serif;
}

.admin-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-container input {
    padding: 8px;
    font-size: 16px;
}

.email-container table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.email-container th, .email-container td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

.email-container th {
    background-color: #f2f2f2;
}
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 8px;
    z-index: 1000;
    display: none;
    text-align: center;
}

.popup h3 {
    margin: 0;
    margin-bottom: 10px;
}

.popup p {
    font-size: 14px;
    text-align: center;
    font-family: Inter, sans-serif;
    line-height: 1.5;
}

.popup button {
    background-color: #d463cd;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.popup button:hover {
    background-color: #bc73bc;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}
