*{
padding:0px;
margin:0px;
box-sizing: border-box;

}





    
body {
min-width: 300px;
    background-color: rgb(255, 198, 151);
    
}


header > h1 {
    
    color:rgb(85, 247, 171);
    background-color:rgb(255, 228, 171);
    text-align: center;
    
    
    font-size: 3rem;


}
header > h2{
text-align: center;
padding: 10px;
border: 3px solid rgb(51, 211, 179);
box-sizing: border-box;
font-size:  2.5rem;
text-align: center;

}


header >h1 > header > h2{
    color: aqua;
    padding: 0px 20px;
    font-family:Courier, monospace;
background-color: blueviolet;

}




nav > ul{
    list-style-type: none;
    display: flex;
    flex-direction: column;
 
}



main  > article > section > div > img{
width: 100%;



}





main{

    min-height: 500px;
    background-color: aquamarine;
    
    }

    main >img{
        width:100%
    }
main > table{

    width: 100%;
}
main > table> tbody >tr > th{
width:33%;

}

main > table, 
main > table> tbody >tr > th,
main > table> tbody >tr > td{

    border:solid #ffffff 1px;
    /* border-radius: 14px; */
    border-collapse: collapse;
    /* background-color: aqua; */
    text-align: center;
    color: aliceblue;
}



main > table> tbody >tr {
    background-color: rgb(241, 109, 224);
    
    }
    main > table> tbody >tr:nth-child(even) {
        background-color: rgb(95, 193, 231);
        
        } 

main>article{
    padding: 10px 15px;


}

main>section>table{
    border-spacing: 0px;
}

main>section>table>tbody>tr>.bigred{

background-color: rgb(255, 0, 0);
width:400px;
height:300px;


}
main>section>table>tbody>tr>.smalred{

    background-color: rgb(255, 0, 0);
    width:300px;
height:300px;


    }


main>section>table>tbody>tr>.cross{

        background-color: rgb(255, 179, 0);
        width: 100px;
        height: 100px;
        border-spacing: 0px;
}



main>article>section{
max-width: 100%;
image-resolution: 600px, auto;


}
footer{
color:#241707;
text-align: center;
padding: 20px;
}

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
  }
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }
  
  /* Caption text */
  .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
  }
  

  
  /* The dots/bullets/indicators */
  .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active, .dot:hover {
    background-color: #717171;
  }
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

  
.topnav {
    background-color: rgb(17, 38, 156);
    overflow: hidden;
  }
    .topnav a {
    float: left;
    display: block;
    color: #f0f0f0;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }
  
  /* Change the color of links on hover */
  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }
  
  /* Add an active class to highlight the current page */
  .topnav a.active {
    background-color: #003e79;
    color: white;
  }
  
  /* Hide the link that should open and close the topnav on small screens */
  .topnav .icon {
    display: none;
  }

/* Surfplatta*/

@media screen and (min-width: 678px) {

    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block}

    header>h1, header>h2{

background-color: rgb(45, 139, 163);   
 
}
main{
    max-width: 700px;
    margin:auto;
    background-color:rgb(84, 156, 204);
}


nav>ul{
    
        
    flex-direction: row;    
    justify-content: space-evenly;
    
}

nav>ul>li>a {
    padding: 40px 10px;
    text-size-adjust: 4px;
    font-size: 2.5rem;


}


main > article > p {

    text-align: center;
    font-size: 2rem;

color:aqua;


}



}




/* dator*/

@media screen and (min-width: 1024px)  {
  
    body{
        margin:auto;
        background-image: url(../img/coolcolorbackground.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        max-width: 1024px;
    }
    header>h1, header>h2{
    background-color: rgb(255, 52, 52);
    
    
    }

   

    
    nav > ul{
        flex-direction: row;

    }
    nav>ul>li{

max-width: 100%;

    }
    main{
    max-width: 1800px;
    /* background-image: url(../img/coolcolorbackground.jpg); */
    display: flex;
    background-color: rgb(180, 40, 30);
    

    }
    nav>ul>li>a {
    padding: 20px;     
    }
    main>article>section>div>p {
        color: aliceblue;
    }
    main>article{
max-width: 300px;
color: aliceblue;


    }
   


    }
    main  > article> section > img{
    width: 30%;

    }
    main > article > section > div > img{

    width: 30%;
    }



    


