*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   
}
/* Här skriver du design för mobil */

body{
    background-color:rgb(239, 237, 237);
    height:100%;
}

#top_nav{
    margin-top: 1px;
    width:100%;
    height:50px;
    background-color:rgb(252, 252, 252);
}

#top_nav a{
    line-height: 50px;
    width:100%;
    margin:2px;
    margin-left:30px;
    margin-bottom:100px;
    text-decoration: none;
    font-size:20px;
    color:black;
    display:none;

}

#top_nav_first{
    padding-left:80px;

}




#nav_menu{
    width:25px;
    height:25px;
    margin-top: 12.5px;
    display:block;
    position: absolute;
    left:90%;   
    border: none ;
    background-image:url('../Images/Icons/menu_open.png');
    background-color:rgb(255, 255, 255);
}


#menu_buttons{
    margin-top:30px;
    width:100px;
    height:20px;
    margin-left:40%;
    margin-bottom:50px;
    display: none;
    text-align: center;
}

#menu_buttons a{
    width:100%;
    position: relative;
    text-decoration: none;
    font-size:25px;
    color:black;

}

.active{
    color: rgb(131, 139, 211);
}


#nacka_icon{
    width:30px;
    height:30px;
    margin-top: 10.5px;
    display:block;
    position: absolute;
    left:2%;
    border: none ;
}

#images_holder{
    height:300px;
    margin-bottom:50px;
}

#images_holder img{
    opacity:80%;
    width: 100%;
    height:100%;
}

#heading_text{
    position:absolute;
    top:150px;
    right:30%;
    color:rgb(252, 252, 252);
    border-bottom:1px black solid;
    
}

#heading_under_text{
    position:absolute;
    top:180px;
    right:33%;
    color:rgb(252, 252, 252);
    
}

#main_container{
    background-color:rgb(244, 244, 244);

}


#container{
    background-color:rgb(244, 244, 244);
}

.contain{
    background-color:rgb(244, 244, 244);
    padding-top: 10px;
    padding-bottom: 20px;
}

.contain p{
    padding-top:10px;
    padding-bottom:10px;
}

.contain h1{
    padding-top:10px;
    padding-bottom:10px;
    margin-left:20px;
}


.chunk{
    margin-top:10px;
    background-color:rgb(244, 244, 244);
    margin-left:5%;
    width:90%;
    margin-bottom:20px;
    border-radius: 10px;
   
   

}

.chunk p{
    margin-bottom:20px;
    margin-left:5px;
    padding-top:40px;
}

.chunk_image{
    margin-top:10px;
    margin-left:5%;
    width:90%;
    margin-bottom:20px;
    border-radius: 10px;
    background-color:rgb(244, 244, 244);


}



.images{
    opacity:90%;
    width: 100%;
    height:200px;
    border-radius: 25px;
}


#website_footer{
    bottom:0;
    height:300px;
    background-color:rgb(202, 202, 202);

}

#website_footer p{

    text-align: right;
    padding-right:10px;
    height:25px;
    line-height:25px;

}


#bild_spel_container{
    width:300px;
    height:500px;
    margin-left:35px;
}

#bild_spel{
    width:100%;
    height:100%;
}

.bild_spel_button{
    width:20px;
    height:20px;
    position:absolute;
    top:730px;
    border: none;


}

#left_button{
    right:92%;
    background-image: url('../Images/Icons/leftt_arrow.png');

}

#right_button{
    left:87%;
    background-image: url('../Images/Icons/right_arrow.png');
   

}

.menu_close_animation_play{
    animation:menu_close_animation 0.75s forwards;
}
.menu_open_animation_play{
    animation:menu_open_animation 1s forwards;
}

@keyframes menu_close_animation {
    0% { opacity: 1; }
    25% {opacity: 0.75;}
    50% {opacity:0.5;}
    75% {opacity:0.25;}
    100% { opacity: 0;}
}

@keyframes menu_open_animation {
    0% { opacity: 0; }
    25% {opacity: 0.25;}
    50% {opacity:0.5;}
    75% {opacity:0.75;}
    100% { opacity: 1;}
}





@media only screen and (min-width: 600px) {


    #container{
        display:grid;
        grid-template-columns: repeat(2, 50%);
        
        padding-right:1.5%;

    }

    .contain{
        padding-right:4.5%
    }

    

    #nav_menu{
        left: 95%;
    }

    #heading_text{
        right:42.5%;
    }
    
    #heading_under_text{
        right:44%;
        
    }

    




    .chunk{
        background-color:rgb(252, 252, 252) ;
        width:95%;
    
    }

    .chunk_image{
        width:94%;

    }

    #menu_buttons{
        margin-left:45%;
    }

    #images_holder{
        height: 400px;
    }

    #heading_text{
        top:240px;
        
    }

    #heading_under_text{
        top: 270px;
    }


    #bild_spel_container{
        width:550px;
        height:600px;
        margin-left:80px;
    }
    .bild_spel_button{
        top:830px;
    }


   
}

@media only screen and (min-width: 769px) {
    #top_nav a{
        display:inline;
      
    }


    #nav_menu{
        display: none;
    }

    #images_holder{
        height: 500px;
    }

    
    #bild_spel_container{
        width:650px;
        height:600px;
        margin-left:270px;
    }
    .bild_spel_button{
        top:830px;
    }
    /* Här skriver du design för desktop */
}


