html {
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.wrapper {
    position: relative;
    min-height: 100vh;
}

.footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 30px 50px;
    background: #C4684F;
    margin-top: 100px;
}

.footer-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-panel-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
}

.footer-panel {
    background: #E08168;
    border-radius: 20px;
    border: 1px solid #F9987E;
    padding: 15px;
    height: 150px;
}

#phone-panel {
    padding: 30px 50px;
}

.footer-panel-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-title {
    font-family: "Unbounded";
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
}

.footer-icon {
    width: 25px;
    height: 20px;
    margin-left: 90px;
}

#list-icon {
    width: 18px;
    height: 16px;
    margin-left: 60px;
}

.footer-line {
    background: rgba(255, 255, 255, .5);
    border-radius: 5px;
    width: 100%;
    height: 1px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.footer-nav-container {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-btn {
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, .75);
    transition: 300ms;
}

.footer-btn:hover {
    transform: translateX(5px);
    color: #fff;
}

.footer-phone {
    font-family: "Unbounded";
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
}

.footer-opening-hours {
    font-weight: 400;
    font-size: 18;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 200px;
}

.footer-social-container {
    position: absolute;
    right: 0;
    top: 0;
}

.footer-social-title {
    font-family: "Unbounded";
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
}

.footer-social-text {
    font-weight: 500;
    font-size: 16;
    color: rgba(255, 255, 255, .75);
    max-width: 170px;
}

.footer-social-btn-container {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social-btn {
    width: 48px;
    height: 48px;
    background: #E08168;
    border-radius: 50%;
    border: 1px solid #F9987E;
    display: flex;
    align-items: center; 
    justify-content: center; 
    text-decoration: none; 
    transition: 300ms;
}

.footer-social-btn:hover {
    transform: scale(105%);
    background: #e08971;
}

.footer-social-icon {
    width: 25px;
    height: 25px;
}

.footer-right-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 100px;
}

.footer-right-title {
    font-weight: 700;
    font-size: 12px;
    color: #fff;
    text-transform: uppercase;
    margin-left: 30px;
}

.footer-right {
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, .5);
}

.footer-document-container {
    display: none;
}

.footer-document-nav {
    display: flex;
    flex-direction: column;
}

#document-btn {
    font-size: 10px;
}

.footer-whatsapp-container {
    display: none;
    margin-top: 30px;
}

.footer-whatsapp-btn {
    font-size: 12px;
    background: #11e682;
    border: 1px solid #2dc980;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

@media (max-width: 1350px) {
    .footer-panel-container {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
        height: auto;
        align-content: flex-start;
    }

    .footer-panel-container > *:last-child {
        margin-top: auto;
        width: 100%;
    }
    
    .footer-social-container {
        position: relative;
        width: 100%;
    }

    .footer-social-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .footer-social-text {
        font-size: 12px;
        font-weight: 400;
        color: #fff;
        max-width: 230px;
        margin-top: 10px;
    }

    .footer-social-btn {
        border-radius: 12px;
        border: none;
    }

    .footer-social-btn-container {
        margin-top: 0;
    }

    .footer-social-line {
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, .5);
        margin: 15px 0 15px 0;
    }
}

@media (max-width: 900px) {
    #politika {
        display: none;
    }

    #phone-panel {
        padding: 15px;
    }

    .footer-panel-container {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        flex-wrap: wrap;
        height: auto;
        align-content: flex-start;
    }

    .footer-panel-container > *:last-child {
        margin-top: auto;
        width: 100%;
    }

    .footer-panel-container {
        padding: 0;
    }
    
    .footer-right-title {
        margin-left: 0;
    }

    .footer-document-container {
        display: flex;
    }
}

@media (max-width: 768px) {
    #pc-document {
        display: none;
    }

    .footer-whatsapp-container {
        display: inline;
    }

    .footer-whatsapp-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-whatsapp-btn {
        width: 100%;
    }

    .footer-panel-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: start;
    }

    .footer-panel-container > .footer-panel:nth-child(-n+2) {
        width: 100%;
        min-width: 0;
    }

    .footer-social-container {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 20px;
    }

    .footer-right-container {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 680px) {
    .footer-icon {
        margin-left: 10px;
    }
}

@media (max-width: 615px) {
    .footer-panel {
        min-width: 165px;
    }
}

@media (max-width: 600px) {
    .footer-phone {
        font-size: 12px;
    }

    .footer-opening-hours {
        font-size: 12px;
        text-align: left;
        align-items: start;
        max-width: 120px;
        margin-top: 10px;
    }

    .footer-btn {
        font-size: 12px;
    }

    .footer-social-btn {
        width: 35px;
        height: 35px;
    }

    .footer-social-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 530px) {
    .footer-container {
        padding: 0;
    }
}

@media (max-width: 440px) {
    .footer-panel {
        max-width: none;
        width: 100%;
        min-width: 165px;
    }
    
    .footer-panel-container {
        grid-template-columns: minmax(165px, 1fr) minmax(165px, 1fr);
    }

    .footer-container {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .footer {
        padding: 0;
        padding-top: 20px;
        padding-bottom: 20px;
        border-radius: 20px 20px 0px 0px;
    }

    .footer-right-container {
        padding-left: 30px;
        padding-right: 20px;
    }

    .footer-right {
        font-size: 10px;
    }
}