html {
    cursor: grab;
}

body {
    margin: 0;
    height: 100%;
    padding: 20px 20px;
    background-color:aliceblue;
    
    background-color: #fef8e7;
    background-image: url(../graphics/background.png);
    background-size: 200px;

    font-family: Helvetica;
    font-size: 14px;
}

nav {
    justify-self: center;

}

.navbar { /*ul*/
    display: flex;
    flex-wrap: wrap;

    justify-content: center; /*how the items distrbiute over the main axis (horizontal axis is main by default)*/

    /* align-items: center; how the items distrbiute over the cross-axis */

    margin: 0;

    list-style: none;

    padding:0px;
    row-gap: 10px;
    column-gap: 20px; /*gaps entre columnes*/
}

.navbar li{

    text-align: center;
    padding: 10px 20px;

    border: 1px solid #e04088;
    border-radius: 6px;

    box-shadow: 1px 3px 1px white inset, -2px -2px #a9a9a9 inset, 2px 3px 1px #dda0dd;
}

@media (max-width: 850px) {
    .navbar li{
        flex-basis: 20%;
    }
}

@media (max-width: 600px) {
    .navbar li{
        flex-basis: 30%;
    }
}

.navbar a {
    color:black;
    text-decoration: none;
}

.navbar:hover {
    color: #cb2a8f;
}


#bigbox {
    display: flex;
    flex-direction: column;
    gap: 20px;

    border: 1px solid #c71585;
    box-shadow: 3px 3px white inset;

    border-radius: 10px;

    background-color: #ffffbf;
    background-image: url(../graphics/dots.png);
    /* background-size: 100px; */

    max-width: 960px;
    margin: 0 auto;
    padding: 15px;

    box-sizing: border-box;
}

.funnybox {
    display: flex;
    justify-content: flex-start;

    align-items: center;

    background-image: url(../graphics/s.gif);

    background-size: 200px;

    border: 1px solid #fd6e8d;
    border-radius: 10px;
    
    padding: 10px 10px 10px 0px;

    overflow: hidden;
}


.thirds {
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
    
    padding: 0;

    text-align: center;

    display: flex;
    column-gap: 10px;
    row-gap: 10px;
    
}

.twothirds {
    border-radius: 5px;
    border: 1px solid #fecd2f;

    flex:2;

    background-color: #fef8e7;

    padding: 20px;
    box-sizing: border-box;

    box-shadow: 3px 3px white inset, -1px -1px #d6d6d4 inset, 0.5px 0.5px #fecd2f, 5px 5px #dda0dd;
}

.onethird {
    border-radius: 5px;
    border: 1px solid #87d7fd;

    flex:1;

    background-color: #f0fafe;

    padding: 20px;
    box-sizing: border-box;

    box-shadow: 3px 3px white inset, -1px -1px #d6d6d4 inset, 0.5px 0.5px #85d2f7, 5px 5px #dda0dd;
}
