* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff;
}

figure.background-figure {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    margin: 0;
}

figure.background-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.container {
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-template-rows: auto 1fr auto;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#header {
    grid-column: 1 / -1;
    background-image: url(cityNight1.webp);
    background-blend-mode: overlay;
    background-repeat: no-repeat;
    background-position: right 20% top 21%;
    background-size: cover;
    color: #14568A;
    padding: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 720;
    height: 405;
}

#header h1 {
    background-color: rgba(255, 255, 255, 0.8);
    text-align: end;
    margin: 0;
    border-radius: 10px;
}

.sidebar {
    background-color: rgba(255, 255, 255, 0.4);
    color: white;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.sidebar h2 {
    color: #14568A;
}

.navbar-links {
    list-style: none;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s;
    background-color: #14568A;
    margin: 5px 0;
}

.navbar-links a:hover {
    background-color: #2980b9;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    list-style: none;
    background-color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
    width: 200px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    background-color: #f8f8f8;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #e0e0e0;
}

.dropdown-menu.active {
    display: block;
}

.hamburger-menu {
    display: none;
    background-color: #333;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    left: 20px;
    margin-bottom: 5px;
    z-index: 1000;
}

.content {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.content h1 {
    font-size: x-large;
    text-align: center;
}

.content p a {
    color: #14568A;
}

.content p a:hover {
    color: #971B79;
}

.content img {
    display: block;
    max-width: 100%;
    width: 150px;
    height: auto;
    border-radius: 40%;
    margin: 40px 10px 5px 0;
    float: left;
    shape-outside: circle(40%);
    clip-path: circle(75px at 75px 75px);
}

section {
    flex: 3;
    padding: 15px;
}

.courses {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.courses ul {
    margin: 10px 0;
    padding-left: 20px;
}

.courses ul li {
    margin-bottom: 5px;
    list-style-type: disc;
}

.courses p {
    margin: 10px 0;
    font-size: 1rem;
    color: #333;
}

hr {
    border: none;
    border-top: 2px solid #ccc;
    margin: 20px 0;
}

#footer {
    grid-column: 1 / -1;
    text-align: center;
    background-color: #255579;
    color: white;
    padding: 10px;
    border-radius: 10px;
}

#footer p a {
    color: #FBFE43;
}

#footer p a:hover {
    color: #C4FDEA;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .content {
        text-align: center;
        padding: 10px;
    }
    
    .content img {
        display: block;
        max-width: 100%;
        width: 100px;
        height: auto;
        border-radius: 40%;
        margin: 40px 10px 5px 0;
        float: left;
        shape-outside: circle(50%);
        clip-path: circle(50px at 50px 50px);
    }
    
    .hamburger-menu {
        display: block;
        position: fixed;
        top: 20px;
        left: 15px;
        background-color: #333;
        color: white;
        padding: 5px;
        cursor: pointer;
        border-radius: 5px;
        z-index: 1000;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        margin-top: 40px;
        left: -80%;
        width: 80%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.4);
        z-index: 999;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .sidebar h2 {
        color: #3498db;
        margin-top: 25px;
        font-weight: bold;
        text-align: left;
        background-color: rgba(255, 255, 255, 0.6);
    }
    
    .sidebar.open {
        left: 0;
    }
    
    .navbar-links {
        display: flex;
        flex-direction: column;
        padding: 10px 0;
        margin: 0;
    }
    
    .navbar-links li {
        margin: 0;
    }
    
    .navbar-links a {
        display: block;
        padding: 10px 15px;
        text-align: left;
        color: white;
        font-size: 14px;
        background-color: rgba(31, 216, 142, 1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        transition: background-color 0.3s ease;
        border-radius: 30px;
    }
    
    .navbar-links a:hover {
        background-color: rgba(19, 116, 207, 1);
    }
    
    .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        border-radius: 10px;
    }
    
    .dropdown-menu a {
        background-color: rgb(239, 27, 27);
    }
    
    .dropdown-menu.active {
        display: block;
    }
}

@media (max-width: 480px) {
    .navbar-links a {
        font-size: 12px;
        padding: 8px 10px;
    }
}