/*Estilos generales*/

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

@font-face {
    font-family: 'Roboto-Regular';
    src: url(../fonts/Roboto-Regular.ttf);
}

html{
    font-size: 62.5%;
}

body{
    font-family: 'Roboto-Regular';
    font-size: 2rem;
    background-color: #f3f3f3;
}

/*Header*/

ul{
    list-style-type: none;
}

a{
    text-decoration: none;
    color:#f3f3f3;
}

header{
    background-color: #222;
    display: flex;
    justify-content: space-between;
    height: 25vh;
    
}

header .navbar{
    display:flex;
    align-items: center; /*centra eje y*/
    text-align: center;
}

.navbar ul{
    display: flex; /*links en eje x*/
}

.links li{
    padding: 1rem;
}

.fa-bars{
    display: none;
}

.logo{ /*Foto pizza + h1*/
    display: flex;
    align-items: center;
    font-size: 1.8rem;
}

.logo img{ /* Foto pizza*/
    height: 130px;
    width: 130px;
}


h1, h3{ /*"Pizza&Front"*/
    color: #f3f3f3;
    padding: 1.5rem;
}

.pizza{ /*h1*/
    color: #39B24A;
}

.front{ /*h1*/
    color: #FC200C;
}


/*Main*/

.container{
    display: flex;
    margin: 3rem 2rem;
}

.envio{
    background-image: url(../img/delivery.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 700px;
    height: 450px;
    border-radius: 5px;
    margin: .5rem;
    padding: 1rem;
    
}

.envio>h3{
    color: #FC200C;
}

.envio .comprando{
    color: #f3f3f3;
    align-items: center;
}

.podio{
    padding: 4.5rem;
    width: 650px;
    height: 450px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: white;
    border-radius: 5px;
    margin: .5rem;
    font-weight: 900;
}

.ranking h3{ /*"Podio de pizzas"*/
    color: #FC200C;
    font-size: 3rem;
    position: relative;
    left: 90px;
    bottom: 40px;
}

.ranking h4{
    font-size: 2.6rem;
    margin-bottom: 3rem;
}

.ranking ol li{
    margin: .6rem;
}

/*Footer*/

footer{
    background-color: #222;
    height: 30vh;
    display: flex;
    justify-content: space-between;
    align-items: center; /*centra eje y*/
    padding: 2rem;
}

.links-footer ul li{
    margin: 1.2rem;
}

.logo-footer{
    display: flex;
}

/*Responsive*/

@media screen and (max-width: 768px) { /*Vista Tablet*/
    .logo img{
        height: 90px;
        width: 90px;
    }
    #home, #ranking, #promo, #contact{
        display: none;
    }
    .fa-bars{ /*Hamburguesa*/
        display: unset;
        padding-right: 2rem;
        font-size: 3.5rem;
    }
    .container{
        flex-direction: column;
        align-items: center;
    }
    footer{
        height: 32vh;
    }
    .links-footer ul li{
        display: inline;
        margin: .5rem;
    }
}

@media screen and (max-width: 480px) { /*Vista mobile*/
    .container{
        margin: 1rem;
    }
    .envio{
        width: 100%;
        height: 300px;
        border-radius: 5px;
    }
    .podio{
        padding: 2rem;
        width: 100%;
        height: 45rem;
        margin: .5rem;
        font-weight: 900;
    }
    footer{
        height: 18vh;
    }
    .links-footer{
        font-size: 1.3rem;
    }
    .logo-footer img{
        display: none;
    }
}