body {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    background-color: #2f2f2f;
    font-family: Arial, Helvetica, sans-serif;
    color:#1d1d1f;
}

#main_frame{
    height: 40rem;
    width: 100%;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin: 0;
}

a {
    text-decoration: none;
    color: rgba(77, 46, 0, 0.9);
}

#container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1920px;
    border-radius: 25px;
    box-sizing: border-box;
}

#top {
    display: flex;
    flex-direction: row;
    background: rgb(255, 211, 144);
    width: 100%;
    max-width: 1920px;
    max-height: 100px;
    border-radius: 25px 25px 0 0;
}

#logo {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 250%;
    text-shadow: 2px 2px 3px #fdd889, 2px 2px 3px #1d1d1f;
    font-family: 'Courier New', Courier, monospace;
    width: 100%;
    max-width: 100px;
    height: 6.2rem;
    border: 1px solid rgba(77, 46, 0, 0.9);
    border-radius: 25px 0 0 0;
}

#color_menu{
    color:#1d1d1f;
    font-weight: bold;
}

#phone_view_menu{
    display: none;
}

#menu {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1920px;
    align-items: center;
    visibility: visible;
    border: 1px solid rgba(77, 46, 0, 0.9);
    border-radius: 0 25px 0 0;
    z-index: 1;
}

.menu {
    display: flex;
    align-items: center;
    color: rgba(77, 46, 0, 0.9);
    width: 13.5rem;
    font-size: 1.55rem;
    text-shadow: 2px 2px 3px #fdd889, 2px 2px 3px #8b8b9a;
    transition: color 0.3s;
    overflow-x: auto;
    box-sizing:content-box;
}

.menu:hover {
    color: rgba(199, 119, 0, 0.9);
    cursor: pointer;
}

ul {
    display: flex;
}

li {
    display: flex;
    align-items: center;
    width: fit-content;
}

.main_list_info{
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.list_info{
    display: none;
    position: absolute;
    height: auto;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 2;
    margin: 0;
    padding: 0;
    border-radius: 15px;
}

.list_info li{
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    background-color: #f5d3a4;
    border: 1px solid #2f2f2f;
    height:fit-content;
    width: 11.5rem;
}

#main_list_info:hover #list_info,
#main_list_info:active #list_info
#main_list_info:focus #list_info{
    display: block;
}

#main_list_info_first:hover #list_info_first,
#main_list_info_first:active #list_info_first{
    display: block;
}

.list_info li:hover{
    background-color: #f1f1f1;
}

#footer {
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height: 200px;
    background-color: #252323;
    background: linear-gradient(10deg, rgba(36,17,0.1) 0%, rgba(25, 25, 25) 35%, rgba(25, 25, 25) 100%);
    border-radius: 0 0 25px 25px;
    box-sizing: border-box;
}

#left_footer,
#right_footer {
    display: flex;
    align-items: center;
    width: 40%;
    height: 100%;
}

#ul_footer_left {
    flex-direction: column;
    width: 400px;
    margin: 0;
    padding: 0;
}

#footer_right {
    display: flex;
    flex-direction: row;
    width: 800px;
    margin: 0;
    padding: 0;
}

#foot_right_top,
#foot_right_bot {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 15rem;
    height: 100%;
}

.li_footer {
    display: flex;
    color: rgba(255, 253, 208, 0.9);
    font-size: 1.25rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    align-items: center;
    transition: color 0.3s;
}

.li_footer:hover {
    color: rgba(255, 211, 144, 0.9);
    cursor: pointer;
}

.li_footer:hover .social_bottom_icon{
    opacity: 70%;
}

.social_bottom_icon {
    width: 40px;
    border-radius: 5px;
}

.social_bottom_icon:hover {
    opacity: 70%;
}

.social_bottom_icon:hover .li_footer{
    color: rgba(255, 211, 144, 0.9);
    cursor: pointer;
}

.bottom_p_info{
    color: #AAA;
    font-size: 0.75rem;
}

.bottom_p_info b{
    font-size: 0.80rem;
}

@media only screen and (max-width: 1250px) {
    #phone_view_menu{
        display: flex;
    }

    #desctop_menu_view{
        display: none;
    }

    .menu:hover {
        color: rgba(199, 119, 0, 0.9);
        transform: none;
        cursor: pointer;
    }

    .bottom_p_info {
        color: #AAA;
        font-size: 0.60rem;
    }
    .bottom_p_info b {
        font-size: 0.70rem;
    }

}


@media screen and (max-width: 767px) {
    body {
        font-size: 14px;
    }

    #container {
        max-width: 24rem; /* Zmieniono maksymalną szerokość kontenera na procenty */
        margin-top: 1rem;
    }

    #main_frame{
    height: 33rem;
}

    /* Dodano media query dla pozostałych elementów, aby dostosować je do mniejszych ekranów */
    #top {
        max-height: 7.5rem;
    }

    #logo {
        max-width: 80px;
        height: 7.45rem;
    }

    #menu {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .menu {
        display: flex;
        height: 5rem;
    }

    ul {
        flex-wrap: wrap;
    }

    li {
        margin:0;
        padding: 0.25rem;
        font-size: 1.3rem;
    }

    #footer {
        height: 12rem; /* Zmieniono wysokość footera na auto, aby dostosować do różnych ekranów */
    }

    #ul_footer_left {
        width: 100%; /* Zmieniono szerokość na 100%, aby dostosować do różnych ekranów */
    }

    .li_footer {
        font-size: 1rem;
    }

    #footer_right{
        flex-direction: column;
        margin-left: 3rem;
    }

    #foot_right_bot{
        overflow-x: auto;
    }

    .social_bottom_icon {
        width: 25px;
    }

    .bottom_p_info {
        color: #AAA;
        font-size: 0.50rem;
    }

    .bottom_p_info b {
        font-size: 0.60rem;
    }
}



