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

#grid{
    width: 100%;
    background-color: rgb(9, 68, 9);
    display: grid;
    grid-template-columns: 30% 30% 20% 20%;
    grid-template-rows: 10vh 17vh 35vh 25vh 13vh;
    grid-template-areas: "header header header header"
               "me me me me"
               "info info info aside"
               "img . . aside"
               ". . . ." ;
}

#Förstah1{
    border: 2px solid lime;
    line-height: 8vh;
    text-align: center;
    background-color: rgba(128, 255, 0, 0.582);
    grid-area: header;
    margin: 10px;
    height: 8vh;
    background-image: url("Pankaka.webp");
    color: #419e49;
    
   
    
}

#info{
  grid-area: info;
  background-color: midnightblue;
  height: 245px;
  margin-right: 20px;
  margin-top: 30px ;
  margin-left: 10px;
  border: solid black 3px;
  background-image: url(Pankaka.webp);
  color: antiquewhite;
  font-size: 11px;
}

#menu{
    margin-top: 10px;
    background-color: #419e49;
    width: 100vw;
    grid-area: me;
   
    
}
#menu nav{
  grid-template-columns:100px 100px 100px 90px;
  display: grid;
  justify-content: space-around;
}
.a{
 
    text-decoration: none;
    border: solid black 2px;
    margin-top: 40px;
    text-align: center;
    font-size: 17px;
}

#go{
    text-align: center;
    align-content: space-between;

}

li{
    display: inline-block;
    border: solid black 2px;
    
}

#andrah1{
    text-align: center;
    border: solid black;
    grid-area: rah; 
}

aside{
    border: solid black 3px;
    grid-area: aside;
    margin-top: 15px;
    font-size: 15px;
}

  .cent{
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    background-color: rgb(7, 35, 71);
    color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%;
  }
  
  ul{
    list-style-type: none;
  }
#balls{
  grid-area: img;
}
img{
  width: 300px;
  height: 180px;
}

button{
  height: 40px;
  width: 50px;
}

#B{
  position: absolute;
  right: 23%;
  grid-area: B;
}

#A{
  grid-area: A;
}

#a5{
  font-size: 12px;
  color: lightseagreen;
}

/*Modell sidan*/
#boody{
  background-color: rgb(22, 17, 38);
  display: grid;
  grid-template-rows: 70vh 10vh 20vh;
  grid-template-areas: "M"
                       "T"
                       "S";
}
#Modell{
  height: 100%;
  width: 100%;
  grid-area: M;
  border: 2px solid black;
  margin: 20px;
  margin-right: 10px;
}

#quibi{
  background-color: darkred;
  font-size: 22px;
  grid-area: S;
  border: 4px solid rgb(49, 3, 3);
  margin: 5px;
}

#Tillbaks{
  grid-area: T;
  justify-content: center;
  background-color: black;
  width: 150px;
  height: 50px;
  color: white;
}

/*Om Oss sidan*/
#om_oss{
  display: grid;
  height: 100vh;
  background-color: black;
  grid-template-columns: 1fr;
  grid-template-rows: 12vh 22vh 22vh 22vh 22vh;
  grid-template-areas: "H"
                       "P1"
                       "P2"
                       "P3"
                       "P4";
}

#huvud{
  color: rgb(127, 255, 212);
  background-color: rgba(0, 255, 255, 0.301);
  height: 100px;
  grid-area: H;
  text-align: center;
}

#backa{
  background-color: aqua;
  width: 150px;
  height: 50px;
  text-align: center;
  color: black;
  font-size: 20px;
  margin-left: 50px;
}

.Personer{
  background-color: rgb(23, 5, 127);
  border: 2px solid rgb(35, 255, 255);
  margin: 50px;
  height: 175px;
  border-radius: 20px;
  color: orangered ;
  font-size: 20px;
}

#Person1{
  grid-area: P1;
}

#Person2{
  grid-area: P2;
}

#Person3{
  grid-area: P3;
}

#Person4{
  grid-area: P4;
  height: 130px;
}

/*Problem och Lösningar Sidan*/
#Idop{
                       display: grid;
                       height: 100vh;
                       background-color: black;
                       grid-template-columns: 1fr;
                       grid-template-rows: 12vh 22vh 22vh 22vh 22vh;
                       grid-template-areas: "H"
                                            "I1"
                                            "I2"
                                            "I3"
                                            "I4";
}

#huv{
  color: rgb(78, 0, 0);
  grid-area: H;
  text-align: center;
  background-color: rgba(43, 3, 3, 0.642);
  color: crimson;
}

#backa{
  background-color: rgb(66, 4, 4);
  width: 150px;
  height: 50px;
  text-align: center;
  color: rgb(255, 255, 255);
  font-size: 20px;
  margin-left: 50px;
}

.Ideer{
  background-color: rgb(84, 8, 8);
  border: 2px solid rgb(48, 2, 2);
  margin: 50px;
  height: 120px;
  border-radius: 20px;
  color: white;
  font-size: 12px;
}

#Idé1{
  grid-area: I1;
}

#Idé2{
  grid-area: I2;
}

#Idé3{
  grid-area: I3;
  height: 200px;
  margin-top: 15px;
}

#Idé4{
  grid-area: I4;
  font-size: 10px;
}

/*Framtiden sida*/

#Fram{
background-color: rgb(20, 10, 77);
}

#Framtiden{
  height: 70vh;
  font-size: 13.3px;
  margin: 10px;
  border: solid black 2px;
  background-color: lightslategray;
  border-radius: 20px;

}

/*Eko sidan*/

#EkoEko{
  background-color: aqua;
}

#Ekol{
  height: 70vh;
  font-size: 12.5px;
  margin: 10px;
  border: 2px solid black;
  border-radius: 20px;
  background-color: darkcyan;
}



@media only screen and (min-width: 600px) {
    /* Här skriver du design för tablet */
   #grid{
    
    grid-template-columns: 30% 30% 20% 20%;
    grid-template-rows: 10vh 17vh 35vh 25vh 13vh;
    grid-template-areas: "header header header header"
                         "me me me me"
                         "info info info aside"
                         " img img . aside"
                         " A B . ." ;
              }


  #info{
    grid-area: info;
    background-color: midnightblue;
    height: 350px;
    margin-right: 20px;
    margin-top: 30px ;
    margin-left: 10px;
    border: solid black 3px;
    background-image: url(Pankaka.webp);
    color: antiquewhite;
    text-align: center;
    font-size: 19px;
  }

  #B{
    right: 31%;
  }

  img{
    width: 350px;
    height: 200px;
    margin-left: 100px;
    margin-top: 70px;
  } 
  
  #Modell{
    height: 100%;
    width: 100%;
    grid-area: M;
    border: 2px solid black;
    margin: 20px;
    margin-right: 10px;
  }

  #Tillbaks{
    height: 75px;
    width: 150px;
    font-size: 25px;
  }

  #quibi{
    background-color: darkred;
    font-size: 28px;
    height: 100%;
    grid-area: S;
    border: 4px solid rgb(49, 3, 3);
    margin: 5px;
  }

  #Ekol{
    height: 70vh;
  font-size: 19px;
  margin: 10px;
  border: 2px solid black;
  border-radius: 20px;
  background-color: darkcyan;
  }

  #Framtiden{
    font-size: 20.5px;
  }
}
@media only screen and (min-width: 769px) {
    /* Här skriver du design för desktop */
    #grid{
    
      grid-template-columns: 30% 30% 20% 20%;
      grid-template-rows: 10vh 17vh 35vh 25vh 13vh;
      grid-template-areas: "header header header header"
                           "me me me me"
                           "info info info aside"
                           " . img . aside"
                           " . . . ." ;
                }

                .Personer{
                  font-size: 30px;
                }


                #info{
                  grid-area: info;
                  background-color: midnightblue;
                  height: 350px;
                  margin-right: 20px;
                  margin-top: 30px ;
                  margin-left: 10px;
                  border: solid black 3px;
                  background-image: url(Pankaka.webp);
                  color: antiquewhite;
                  font-size: 25px;
                }
              
                .Go{
                  height: 70px;
                }
                
                #B{
                  right: 31%;
                }
              
                #testi{
                  width: 450px;
                  height: 250px;
                  left: 50px;
                  margin-top: 80px;
                  grid-area: img;
                  position: relative;
                }  

                .a{
                  font-size: 23px;
                }

                #a5{
                  font-size: 26px;
                }

                #Modell{
                  height: 100%;
                  width: 100%;
                  grid-area: M;
                  border: 2px solid black;
                  margin: 20px;
                  margin-right: 10px;
                }

                #Idé4{
                  font-size: 20px;
                }
                
                #Tillbaks{
                  width: 200px;
                  height: 80px;
                  font-size: 30px ;
                }
                #quibi{
                  background-color: darkred;
                  font-size: 27px;
                  grid-area: S;
                  border: 4px solid rgb(49, 3, 3);
                  margin: 5px;
                }

                .Ideer{
                  font-size: 22px;
                }

                #Ekol{
                  height: 70vh;
                font-size: 30px;
                margin: 10px;
                border: 2px solid black;
                border-radius: 20px;
                background-color: darkcyan;
                }

                #Framtiden{
                  height: 70vh;
                  font-size: 29px;
                  margin: 10px;
                  border: solid black 2px;
                  background-color: lightslategray;
                  border-radius: 20px;
                
                }
                

                @media only screen and (min-width: 2140px) {
                  /* Här skriver du design för chonky desktop */
                  
                  #testi{
                    width: 350px;
                    height: 200px;
                    margin-left: 340px;
                    margin-top: 80px;
                    grid-area: img;
                  }  


 }
}