h1 {
    font-family: "Poppins";
    font-weight: 600;
    text-align: left;
    color: rgb(255, 255, 255);
    font-size: 100px;
    line-height: 1.1;
    margin-right: 120px;
}

h2.main{
    font-family: "Poppins";
    font-weight: 400;
    text-align: left;
    color: rgb(255, 255, 255);
    font-size: 50px;
}

h2.sidebar-title {
    font-family: "Poppins";
    font-weight: 500;
    text-align: center;
    font-size: 35px;
    color: yellow;
    line-height: 1.1;
}

h3 {
    font-family: "Poppins";
    font-weight: 500;
    text-align: center;
    font-size: 35px;
    color: yellow;
}


p{
    font-family: "Poppins";
    font-weight: 300;
    text-align: justify;
    font-size: 18px;
    padding: 30px;
}

table {
    width: 95%;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(29, 29, 29, 0.7);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

th, td {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    text-align: center;
    font-family: "Poppins";
    word-wrap: break-word;
    font-weight: 400;
    font-size: 14px;
    position: relative;
}

td {
    color: #ffffff;
    transition: background-color 0.3s ease;
}

td:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

th {
    background-color: rgba(255, 255, 0, 0.15);
    color: yellow;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 20px 15px;
}

tr:last-child td {
    border-bottom: none;
}

td[colspan="7"] {
    background-color: rgba(255, 255, 0, 0.05);
    font-weight: 500;
    color: yellow;
    font-size: 14px;
    padding: 12px;
}

.info-btn {
    background: transparent;
    border: 1px solid yellow;
    color: yellow;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.info-btn:hover {
    background: yellow;
    color: black;
}

@media (max-width: 768px) {
    table {
        font-size: 0.9rem;
        width: 100%;
        border-radius: 8px;
    }

    th, td {
        padding: 10px 5px;
        font-size: 12px;
    }

    td[colspan="7"] {
        font-size: 13px;
    }

    .info-btn {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

ul {
    text-align: left;
    font-family: "Poppins";
    font-weight: 300;
    font-size: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
}

li {
    margin: 20px 0;
}


div.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: calc(100% - 24.5%);
    float: left;
    box-sizing: border-box;
    transition: width 0.3s ease;
}

div.title-container {
    margin-left: 40px;
}

.glider {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

div.main-content {
    width: 96%;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50px;
}

.sidebar {
    width: 24.5%;
    font-family: "Poppins";
    position: fixed;
    background-color: rgb(44, 44, 44);
    height: 100%;
    padding: 30px;
    right: 0;
    top: 0;
    box-sizing: border-box;
    display: flex;
    border-left: 1px solid #545454;
    justify-content: center;
    align-items: center;
    z-index: 10;
    left: auto;
    opacity: 0.9;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar li {
    margin: 20px 0;
}

.sidebar a {
    text-decoration: none;
    color: white;
    font-size: 15px;
}

.picture-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.profile-picture {
    display: flex;
    align-self: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
    object-position: center top; 
    border: 5px solid black;
    box-shadow: 0 0 0 5px yellow;
}

.hamburger {
    display: none;
    position: fixed;
    top: 25px;
    right: 35px;
    width: 35px;
    height: 30px;
    z-index: 20;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 5px;
    width: 100%;
    background: yellow;
    border-radius: 3px;
    transition: 0.3s;
}

@media screen and (max-width: 768px) {
    .sidebar {
        width: 80vw;
        max-width: 320px;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100vw;
        border-left: none;
        border-top: none;
        padding: 30px;
        transition: right 0.3s;
        box-shadow: -2px 0 10px rgba(0,0,0,0.3);
        opacity: 1;
        z-index: 15;
        display: flex;
    }

    .sidebar.open {
        right: 0;
    }

    .main-container {
        width: 100% !important;
        float: none;
        margin: 0;
        padding: 10px;
    }

    h1 {
        font-size: 65px;
        margin-right: 0;
    }

    h2.main {
        font-size: 28px;
    }

    h2.sidebar-title,
    h3 {
        font-size: 22px;
    }

    .hamburger {
        display: flex;
    }
}

body {
    background-image: url('Media/background.jpg');
    background-attachment: fixed;
    background-size: 100% auto;
    background-position: center top;
    background-repeat: repeat-y;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

@media screen and (max-width: 768px) {
    body {
        background-size: auto 100vh;
        background-repeat: repeat-y;
        background-attachment: scroll;
    }
}