@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

nav {
    background-color: #d63e18;
    padding: 30px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.nav-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    font-family: "Manrope", sans-serif;
}

.nav-list li {
    margin: 0 15px;
}

.nav-list li a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s;
}

.nav-list li a:hover {
    background-color: #800020;
    border-radius: 5px;
}

nav img {
    height: 60px;
    width: auto;
    border-radius: 10px;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    color: #FFFFFF;
    font-size: 35px;
    cursor: pointer;
}

:root {
    --yellow: #FFBD13;
    --blue: #4283FF;
    --blue-d-1: #3278FF;
    --grey: #AAA;
    --white: #FFF;
    --shadow: 8px 8px 30px rgba(0, 0, 0, .50);
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0e3b2e;
}

.menu {
    padding: 60px 20px;
    text-align: center;
    color: #f3e7c9;
}

.title {
    font-size: 60px;
    margin-bottom: 40px;
    letter-spacing: 3px;
    font-family: 'Raleway', sans-serif;
}

.menu-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    padding: 0 20px;
}

.menu-container::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 6px;
    height: 100%;
    transform: translateX(-50%);
    background: #e8d9a8;
    border-radius: 3px;
}

.item {
    display: flex;
    align-items: center;
    margin: 40px 0;
    position: relative;
}

.left {
    justify-content: flex-start;
}

.right {
    justify-content: flex-end;
}

.item img {
    width: 140px;
    height: 140px;
    min-width: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #0e3b2e;
    z-index: 2;
}

.info {
    background: #1d5a46;
    padding: 20px;
    border-radius: 20px;
    width: 100%;
    max-width: 280px;
    text-align: left;
    z-index: 1;
}

.left .info {
    margin-left: 20px;
}

.right .info {
    margin-right: 20px;
}

.info h3 {
    margin: 0 0 10px;
    color: #fff;
}

.info p {
    margin: 0;
    font-size: 14px;
    color: #d9d9d9;
}

@media (max-width: 900px) {
    .title {
        font-size: 45px;
    }
}

@media (max-width: 768px) {
    .menu-container::before {
        display: none;
    }

    .item {
        flex-direction: column;
        text-align: center;
    }

    .info {
        max-width: 90%;
    }

    .left .info,
    .right .info {
        margin: 15px 0 0 0;
    }

    nav {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        padding: 15px;
        align-items: center;
    }

    .menu-icon {
        display: block;
    }

    .nav-list {
        width: 100%;
        background: #d63e18;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .nav-list li {
        margin: 15px 0;
    }

    .menu-toggle:checked~.nav-list {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 32px;
    }

    .item img {
        width: 120px;
        height: 120px;
    }

    .info {
        padding: 15px;
    }
}