@media (min-width:800) {
    body {
        font-family: 'Comic Sans';
        margin: 0;
        padding: 0;
        background-color: #f7e3b1;
        display: grid;
        grid-template-columns: repeat(
                auto-fit,
                minmax(150pxpx,2fr)
            );
    }

    .menu1{
        width:100%;
        float:left;
        position:relative;
        box-sizing:border-box;
        border-radius:10px;
        background-color:#ffb1a5;
        border:2px solid #d2582d;
        display: grid;
        grid-template-columns: repeat(
                auto-fit,
                minmax(150px,2fr)
            );
    }

    .articulos{
        width: 20px;
        height: 50px;
    }
    
}

body {
    font-family: 'Comic Sans';
    margin: 0;
    padding: 0;
    background-color: #f7e3b1;
    
}

header {
    /*background-color: #bd1717;*/
    background-image: url(bannerinicial.jpeg);
    padding: 300px 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-repeat: no-repeat;
    background-size: 100% 120%;
    background-color:#ffb1a5;
    border:2px solid #d2582d;
    
}


section {
    padding: 100px;
}

.menu1{
    width:100%;
    float:left;
    position:relative;
    padding:20px 20px 20px 20px;
    box-sizing:border-box;
    border-radius:10px;
    background-color:#ffb1a5;
    border:2px solid #d2582d;
    
}

.menu1 a{
    color:black;
    float:left;
    display:block;
    text-align: center;
    text-decoration:none;
    margin:15px 0px 15px 25px;
    padding:0px 0px 0px 0px;
    border-radius: 10%;
    border: #fefefe 5px dotted;
    font-size:22px;
    font-family:  A Std, 'monospace';
}

.menu1 a:hover{
    background-color:white;
    color:#d2582d;
    padding:10px 10px 10px 10px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    padding-top: 5px;
    text-align: center;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px 40px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    height: 1000px;
    position: relative;
    text-align: left;
}



.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #ff0000;
    cursor: pointer;
}

.modal-btn {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
}

.modal-btn:hover {
    background-color: #333;
    color: #fff;
}

.modal-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 16px;
}

.box{
    border: #d2582d 5px dotted;
    height: 550px;
    width: 550px;
    position: relative;
    float: left;
    display: grid;
    grid-template-columns: repeat(
            auto-fit,
            minmax(150pxpx,2fr)
        );
            

}

.facebook{
    height: 1100px;
    width: 500px;
    position: relative;
    float: left;
}

.abc{
    position:relative;
    width:15%;
    list-style:none;
    float:left;
    text-align: center;
    background-color:#ffb1a5;
    border:2px solid #d2582d;
    box-sizing:border-box;
    padding: 0.2em 0.5em;
    overflow:hidden;
    border-radius:10px;

}

.img1{
    background-image: url(k1.png);
    height: 550px;
    width: 550px;
    background-size: cover;
    display: inline-block;
    position: relative;
    background-repeat: no-repeat;

}

.img2{
    background-image: url(k2.png);
    height: 550px;
    width: 550px;
    background-size: cover;
    display: inline-block;
    position: relative;
    background-repeat: no-repeat;

}

.img3{
    background-image: url(k3.png);
    height: 550px;
    width: 550px;
    background-size: cover;
    display: inline-block;
    position: relative;
    background-repeat: no-repeat;
}

.img4{
    background-image: url(k4.png);
    height: 550px;
    width: 550px;
    background-size: cover;
    display: inline-block;
    position: relative;
    background-repeat: no-repeat;

}

footer {
    background-color:#ffb1a5;
    border:2px solid #d2582d;
    text-align: center;
    padding: 1px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size:15px;

}

.articulos{
    position: static;
    float: left;
    margin-left: 18%;
    width: 1000px;
    height: 1000px;
}

@media screen and (max-width:1280px) {
    .menu1 abc{
        padding: 0;
        align-items: center;
    }

    .menu1 abc a{
        margin-right: -3px;
        display: inline-block;
        text-align: center;
        width: 25%;
    }

    .menu1 a{
        display: list-item;
        text-align: center;
    }
}

@media screen and (max-width:1024px) {
    .menu1 abc{
        padding: 0;
    }

    .menu1 abc a{
        margin-right: -3px;
        display: inline-block;
        text-align: center;
        width: 50%;
    }

    
}
