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


/* FONTS - TAKEN IN THE OFFICIAL MAKE DONALD'S WEBSITE */
@font-face {
    font-family: Speedee-Regular;
    src: url("../fonts/Speedee_A_Rg.783d9e1.ttf");
}

@font-face {
    font-family: Speedee-Bold;
    src: url("../fonts/Speedee_A_Bd.2be351e.ttf");
}


/* PAGE'S CONFIGS */
body {
    font-family: Speedee-Regular;
    overflow-x: hidden;
}


/*  HEADER ELEMENT'S CONFIGS */
header {
    position: fixed;
    width: 100%;
    box-shadow: 0em 0em 0.6em rgba(0, 0, 0, 0.13);
    background-color: white;
    z-index: 1000;
    top: 0;
}

.header-org {
    padding: 0 10%;
    display: inline-flex;
}

.brand_logo {
    display: inline-flex;
    height: 100%;
}

.brand_logo a {
    margin-right: 10px;
}

.nav-externs-links {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-intern-links {
    display: inline-flex;
}

.nav-externs-links nav ul,
.nav-intern-links nav ul {
    list-style-type: none;
    display: flex;
}

.nav-externs-links nav ul li a {
    color: #606060;
    font-size: 14px;
    text-decoration: none;
    padding: .5rem .75rem;
    white-space: nowrap;
}

.nav-intern-links nav ul li a {
    color: #292929;
    font-size: 18px;
    text-decoration: none;
    padding: .5rem .75rem;
    white-space: nowrap;
}

.final-extern {
    display: inline-flex;
    align-items: center;
}

.app-links a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #606060;
    font-size: 14px;
    padding: .5rem .75rem;
    white-space: nowrap;
}

.app-links a i {
    margin-right: 10px;
    font-size: 1rem;
    color: #292929;
}

.order-button {
    padding: .5rem .75rem;
    padding-right: 0;
}

.order-button a img {
    max-height: 30px;
    margin-right: 10px;
}

.order-button a {
    font-size: 1rem;
    text-decoration: none;
    color: rgba(0, 0, 0, .7);
    ;
    display: inline-flex;
    text-align: center;
    align-items: center;
    background-color: #ffbc0d;
    height: 48px;
    min-width: 114px;
    cursor: pointer;
    padding: 20px;
    border-radius: 4px;
    white-space: nowrap;
}

.order-button a:hover {
    background-color: #c08b00;
}

.sidebar {
    display: none;
}

/* MAIN CONFIGS */
.mcdonalds-app {
    margin:120px 10% 40px;
}

.mcapp-lyt{
    position: relative;
}

.mcapp-lyt img {
    width: 100%;
    height: 100%;
    
}

.mcapp-text {
    position: absolute;  
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    width: 41%;
    height: calc(100% - 50px);
    left: 50px;
    right: 50%;
}

.mcapp-text h1 {
    font-family: Speedee-Bold;
    font-size: 54px;
    margin-bottom: 13px;
}


.apps-download {
    padding: 0px 10% 80px;
    display: flex;
}

.and-ios-stores {
    display: flex;
    flex-direction: column;
    border: 1px solid #e1e1e1;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, .07);
    border-radius: 6px;
    margin:1.25rem;
}

.img-aios {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.img-aios img {
    width: 100%;
    height: 100%;
}

.img-aios h4 {
    margin-top: 20px;
}

.download-btt {
    text-align: center;
    align-items: center;
    margin: 30px 0;
}

.download-btt a{
    margin: 15px auto;
    color: #292929;
    background-color: #ffbc0d;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 6px;
    height: 48px;
    min-width: 114px;
}

.download-btt a:hover{
    background-color: #c08b00;
}


/* FOOTER CONFIGS */

footer {
    width: 100%;
}




.footer-links-ly {
    padding: 0 10%;
    margin: 15px 0;
}

.links-lyt {
    display: flex;
    color: #292929;
}

.direction-link {
    padding: .75rem;
    margin-right: 16px;
    display: block;
    flex-basis: 0;
    flex-grow: 1;
    flex-shrink: 1;

}

.link-title {
    padding-bottom: 1rem;
}

.nav-footer-links nav ul li {
    list-style-type: none;
    padding: .40rem 0;
}

.nav-footer-links nav ul li a {
    text-decoration: none;
    color: #6f6f6f;
}


/* Social Medias Layout */
.social-medias {
    padding: 0 10%;
    margin-bottom: 1.6rem;
}

.socialm-lyt {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.social-medias-links {
    display: flex;
}

.social-medias-links div {
    padding: .75rem;
}

.facebook svg:hover {
    fill: blue;
    transition: 0.5s;
}

.twitter svg:hover {
    fill: #40bee2;
    transition: 0.5s;
}

.instagram svg:hover {
    fill: palevioletred;
    transition: 0.5s;
}

.youtube svg:hover {
    fill: red;
    transition: 0.5s;
}


.download-app {
    display: flex;
}

.download-app div {
    padding: .25rem;
    cursor: pointer;
}

.download-app div img {
    width: auto;
    height: 40px;
}

/* Last content */
.last-content {
    padding: 0 10%;
}

.last-lyt {
    display: flex;
    justify-content: space-between;
    color: #606060;
}

.link-privaticity nav ul {
    display: flex;
}

.link-privaticity nav ul li {
    list-style-type: none;
    padding: .25rem;
}


.link-privaticity nav ul li a {
    text-decoration: none;
    color: #292929;
}

.copyrigthh {
    display: flex;
    text-align: center;
    align-items: center;
}

.copy-img {
    margin-right: 5px;
}

.copy-img img {
    height: 30px;
    width: auto;
}

/* Resposivity for 768px devices */
@media (max-width: 768px) {


    /* SIDEBAR */
    .sidebar {
        position: fixed;
        top: 0;
        display: none; /* Display flex when click on menu svg */
        z-index: 1000;
        width: 100%;
        height: 100%;
        background-color: white;
        flex-direction: column;
        overflow-x: hidden;
    }

    .sidebar-header {
        display: flex;
        align-items: center;
        flex-direction: row;

    }

    .close-svg {
        flex-grow: 1;
        display: flex;
        justify-content: flex-end;

    }

    .mc-logo {
        display: flex;
        justify-content: flex-end;
        flex-grow: 1;

    }

    .close-svg i,
    .link-internos i {
        color: #292929;
        font-size: 1.5rem;
    }

    .mc-logo a img {
        width: 43px;
        height: 38px;
    }


    .intern-links {
        display: flex;
        flex-direction: column;
        padding: 10px 18px 10px 68px;

    }

    .intern-links nav ul li {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .cardapio-list, .quemsomos-list, .familia-list, .promocoes-list, .pravc-list, .mcdia-list{
        display: none; /* Change to flex when animation is on */
        flex-direction: column;
        gap: 15px;
        margin-bottom: 10px;
    }

    .cardapio-list nav ul, .quemsomos-list nav ul, .familia-list nav ul, .promocoes-list nav ul, .pravc-list nav ul, .mcdia-list nav ul{
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .all-cardapio {
        text-decoration: none;
        color: #292929;
        border: 1px solid #dbdbdb;
        border-radius: 4px;
        padding: 14px 30px;
        height: 44px;
        box-shadow: 0 2px 4px 0 #d6d6d6;
        width: 144px;
        text-align: center;
    }

    .cardapio-list nav ul li a, .quemsomos-list nav ul li a, .familia-list nav ul li a, .promocoes-list nav ul li a, .pravc-list nav ul li a, .mcdia-list nav ul li a{
        text-decoration: none;
        color: #292929;
        font-size: 12px;

    }

    .intern-links nav {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .intern-links nav ul li,
    .extern-links nav ul li {
        list-style-type: none;
        font-size: 14px;
    }


    .link-internos {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 0;
    }

    .link-internos a {
        color: rgb(41, 41, 41);
        text-decoration: none;
    }

    .extern-links {
        display: flex;
        flex-direction: column;
        padding: 10px 18px 10px 68px;

    }

    .mclinks {
        padding: 10px 0;
    }

    .mclinks img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }

    .mclinks a {
        color: #606060;
        text-decoration: none;
        font-size: 12px;
        display: flex;
        align-items: center;
    }


    /* HEADER */

    .header-org {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 2%;
    }

    .brand_logo {
        display: flex;
        align-items: center;
    }

    .brand_logo img {
        width: 43px;
        height: 38px;
    }

    .menu-svg i {
        color: black;
        font-size: 1.5rem;
        display: block;
    }

    .contact-links,
    .app-links {
        display: none;
    }

    .order-button {
        display: block;
    }

    .order-button a {
        padding: 5px;
        height: 33px;
        font-size: 14px;
    }

    .order-button a img {
        width: 20px;
        height: 20px;
    }

    .nav-intern-links {
        display: none;
    }

    .molho-style {
        display: none;
    }

    /* MAIN */
    .mcapp-text h1 {
        font-size: 40px;
    }

    .mcapp-text p {
        font-size: 14px;
    }
    .apps-download {
        flex-direction: column;
    }



    /* FOOTER */

    .footer-links-ly {
        padding: 0 10%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .text-f h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .text-f p {
        font-size: 12px;
    }

}

@media (max-width: 425px) {
    /* MAIN */
    .mcdonalds-app {
        margin-top: 80px ;
    }
    .mcapp-text {
        height: 100%;
        left: 10%;
    }
    .mcapp-text h1 {
        font-size: 20px;
    }

    .mcapp-text p {
        font-size: 8px;
    }

    /* FOOTER */
    .direction-link {
        padding: 0;
        margin: 0;
    }

    .nav-footer-links nav ul li a {
        font-size: 12px;
    }

    .footer-links-ly {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
    }

    .links-lyt {
        gap: 10px;
    }

    .socialm-lyt {
        justify-content: center;
        align-items: center;
    }

    .download-app div img {
        width: 100%;
        height: auto;
    }

    .last-content {
        padding: 0 5px;
        width: 90%;
    }

    .link-privaticity nav ul li a, .copy-text {
        font-size: 10px ;
    }

    .last-lyt {
        font-size: 12px;
        white-space: nowrap;
    }
}