/* General Reset and Global Styles */
*,
:after,
:before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #45556d;
    background-color: #fff;
}

header {
    background-color: #685a1d;
    padding: 20px 0;
    position: relative;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

nav .menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: #fff;
    margin: 4px 0;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: url('backg.jpg') no-repeat center center/cover;
    color: #ffffff;
    padding: 100px 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero img {
    border-radius: 50%;
    width: 200px; /* Increase the image size */
    height: 200px;
    object-fit: cover;
    object-position: top; /* Adjust to show more of the head */
    margin-right: 20px;
    border: 5px solid #685a1d; /* Add white border */
}

.hero-text {
    text-align: left;
}

.hero h1,
.hero p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Add black outline */
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
}

main {
    padding: 20px;
}

section {
    margin-bottom: 40px;
    text-align: center;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

section p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

section ul {
    list-style: none;
    text-align: center;
    padding: 0;
}

section ul li {
    margin: 10px 0;
}

section ul li a {
    text-decoration: none;
    text-align: center;
    color: #1DAEEF;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #685a1d;
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero {
        text-align: center;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero img {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    nav {
        justify-content: space-between; /* Ensure the menu toggle is aligned to the right */
    }

    nav ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #685a1d;
        display: none; /* Hide menu by default */
    }

    nav ul.showing {
        display: flex; /* Show menu when toggled */
    }

    nav .menu-toggle {
        display: flex;
    }
}


.gif-wrapper {
  text-align: center;
  margin-top: 20px;
}

.container {
  max-width: 700px;   /* Adjust this width to make it narrower or wider */
  margin: 0 auto;     /* This centers it horizontally */
  padding: 20px;      /* Optional spacing inside the container */
}