* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow: visible;
    min-height: 60vh;
}
main{
    min-height: 70vh;
}
img {
    -webkit-user-drag: none;
}
h1 {
    color: #333;
}
.yellow{
    color: #f3a30b;
}
input[type="file"] {
    margin: 10px 0;
}
.file-input::file-selector-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}
.file-input::file-selector-button:hover {
    background-color: #0056b3;
}
.file-input {
    border: 1px solid rgb(124, 124, 124);
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    margin-top: 10px;
}
.actions {
    margin-top: 10px;
}
.add-button, .edit-button, .delete-button {
    padding: 8px 16px;
    margin-bottom: 8px;
    margin-top: 8px;
    font-size: 0.9rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    color: white;
}
.add-button {
    background-color: #28a745;
}
.edit-button, .delete-button {
    padding: 5px 10px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 3px;
    color: white;
}
.edit-button {
    background-color: #007BFF;
}
.edit-button:hover {
    background-color: #0056b3;
}
.delete-button {
    background-color: #dc3545;
}
.delete-button:hover {
    background-color: #c82333;
}
.add-button:hover, .edit-button:hover, .delete-button:hover {
    opacity: 0.9;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
table, th, td {
    border: 1px solid #ccc;
}
th, td {
    padding: 10px;
    text-align: left;
}
th {
    background-color: #f2f2f2;
}
form {
    width: 700px;
    margin: 20px;
    padding: 20px;
    justify-self: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    margin-bottom: 20px;
}
label {
    display: block;
    margin-top: 10px;
}
input[type="text"], input[type="number"], textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-top: 5px;
}
button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #0056b3;
}
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
   }
    h2 {
        font-size: 1.5rem;
   }
    p {
        font-size: 1rem;
   }
    form {
        padding: 15px;
        width: 400px;
   }
    textarea {
        font-size: 0.9rem;
   }
    button {
        font-size: 0.9rem;
        padding: 8px 16px;
   }
    .add-button, .edit-button, .delete-button {
        padding: 6px 12px;
        font-size: 0.8rem;
   }
}
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
   }
    h2 {
        font-size: 1.3rem;
   }
    p {
        font-size: 0.9rem;
   }
    form {
        padding: 10px;
        width: 350px;
   }
    textarea {
        font-size: 0.8rem;
   }
    button {
        font-size: 0.8rem;
        padding: 6px 12px;
   }
    .add-button, .edit-button, .delete-button {
        padding: 4px 8px;
        font-size: 0.7rem;
   }
}
a {
    display: inline-block;
    margin-top: 10px;
    color: #007BFF;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
header {
    background: linear-gradient(90deg, #34495e, #125988);
    padding: 10px 20px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 100px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-width: 320px;
}
.logo img {
    height: 75px;
    width: auto;
}
.profile-section {
    display: flex;
    align-items: center;
    min-width: 150px;
}
.profile-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}
.profile-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    margin-left: 20px;
    transition: transform 0.3s ease;
}
.profile-picture:hover {
    transform: scale(1.1);
}
.auth-buttons {
    display: flex;
    gap: 10px;
}
.login-button, .signup-button {
    padding: 8px 16px;
    background: linear-gradient(40deg, #28a745,#28a787);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}
.login-button:hover  {
    background: linear-gradient(40deg, #187d46,#28a787);
}
.signup-button{
    background: linear-gradient(40deg, #f3a30b, #bc620d);
}
.signup-button:hover{
    background: linear-gradient(40deg, #c28107, #944b07);
}
nav {
    background-color: #34495e;
    padding: 10px 20px;
    text-align: center;
    position: sticky;
    top: 100px;
    z-index: 999;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
}
nav a:hover {
    text-decoration: underline;
    color: rgb(255, 234, 2);
    transition-duration: 0.5s;
}
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}
.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    transition: max-height 0.1s ease-out, padding-bottom 0.1s ease-out, opacity 0.1s ease-out 0.2s;
    overflow: hidden;
    max-height: 500px;
    opacity: 1;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
   }
    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        opacity: 0;
   }
    .nav-links.active {
        max-height: 100vh;
        padding-bottom: 10vh;
        opacity: 1;
   }
    header {
        height: 100px;
        padding: 10px;
   }
    nav {
        top: 100px;
   }
    .logo img {
        height: 60px;
        width: auto;
   }
    .profile-section .logo img{
        height: 50px;
        width: auto 
   }
    .profile-link {
        display: none;
   }
    .auth-buttons{
        flex-direction: column;
        gap: 4px;
   }
    .signup-button, .login-button{
        margin: 1px;
        font-size: 12px;
        padding: 4px 8px;
        text-align: center;
   }
}
.content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
footer {
    background: linear-gradient(90deg, #34495e, #125988);
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}
.footer-links a:hover {
    text-decoration: underline;
    color: rgb(255, 234, 2);
}
.social-media .facebook-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #3b5998;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}
.social-media .facebook-button img {
    width: 24px;
    height: 24px;
}
.social-media .facebook-button:hover {
    background-color: #344e86;
}
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        gap: 2px;
   }
    .footer-links a {
        font-size: 14px;
   }
    .social-media .facebook-button {
        font-size: 14px;
        padding: 8px 16px;
   }
}

.hero h1, .hero h2, .hero h3{
    animation: fadeIn 1s ease-in-out;
}
.hero p, .hero a{
    animation: slideIn 1s ease-in-out;
}
  
@keyframes fadeIn {
    from {
        opacity: 0;
   }
    to {
        opacity: 1;
   }
}
@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
   }
    to {
        transform: translateY(0);
        opacity: 1;
   }
}

#copyright{
    color: white;
    font-size: clamp(0.5rem, 2vw, 1rem);
}
