.body {
  padding-bottom: 20%;
  
  display: flex;
  flex-direction: column;
  height: 100%;
}



nav {
  padding: 10px;
  background-color: rgb(211, 187, 155);
  border-radius: 8px;
}


.title {
  font-family: 'Italianno', cursive;
  font-size: 10em;
  text-align: center;
  padding: 2%;
  text-decoration: none;
  color: inherit; 
}

a {
  text-decoration: none;
  color: inherit; 
}

@media screen and (min-width: 601px) {
  div.title {
    font-size: 120px;
  }
}

@media screen and (max-width: 600px) {
  div.title {
    font-size: 70px;
    margin-top: 0,5em;
    margin-bottom: 0.1em;
  }
}

.title2 {
  font-family: 'Gruppo', sans-serif;
  font-size: 4.5em;
  text-align: center;
  padding-top: 4%;
  padding-bottom: 3%;
  
}

@media screen and (max-width: 600px) {
  div.title2 {
    font-size: 50px;
    margin-top: 1em;
    margin-bottom: 0.1em;
  }
}

.title3 {
  font-family: 'Gruppo', sans-serif;
  font-size: 2.2em;
  text-align: center;
  padding: 2%;
  padding-bottom: 1%;
  
}

.infotext {
  font-family: 'Gruppo', sans-serif;
  padding-left: 20%;
  padding-right: 20%;
  padding-top: 2%;
  padding-bottom: 3%;
  line-height: 1.5;
  font-size: 1.4em;
  text-align: center;
  justify-content: center;
  flex: 1 1 auto;
}

.infotext2 {
  font-family: 'Gruppo', sans-serif;
  padding-left: 15%;
  padding-right: 10%;
  padding-top: 3%;
  line-height: 1.5;
  font-size: 1.3em;
  text-align: center;
  flex: 1 1 auto;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 0 auto;
  padding: 0 5%;
  box-sizing: border-box;
  max-width: 100%;
}

.card {
  flex: 1 1 calc(25% - 2 * 5%); 
  margin: 5%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cardimg {
  width: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  border-radius: 5px 5px 0 0 ;
}

@media (max-width: 480px) {
  .card {
  margin: 1.9%;
  flex: 1 1 calc(100% - 2*5%);
  }
  }
  
@media (max-width: 768px) {
  .card {
  margin: 5%;
  flex: 1 1 calc(50% - 2*5%);
  }
}

@media (max-width: 1024px) {
  .card {
  margin: 5%;
  flex: 1 1 calc(30% - 3*5%);
  }
}

.card:hover {
  box-shadow: 0 10px 19px 0 rgba(0,0,0,0.4);
  cursor: pointer;
  transition: 0.2s;
}

.containercard {
 padding: 16px;
 font-family: 'Gruppo', sans-serif;
 text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

#myList {
  font-family: 'Gruppo', sans-serif;
  margin: auto;
  text-align: center;
  justify-content: center;
  display: flex;
  font-size: 1.4em;
  justify-content: space-evenly;
  background-color: rgb(211, 187, 155);
  cursor: pointer;
  border-radius: 8px;
  padding: 22px;
  list-style-type: none;
  text-decoration: none;
}

#myList a  {
  text-decoration: none;
  color: inherit;
  padding: 1px 10px;
  border-radius: 8px;
  transition: all 0.2s linear;
  align-items: center;
  justify-content: center;
}

#myList a:hover{
  background-color: rgb(153, 125, 88);
  padding: 1px 10px;
  border-radius: 8px;
  transition: all 0.2s linear;
}

.contacttitle {
  font-family: 'Gruppo', sans-serif;
  font-size: 8em;
  text-align: center;
  padding: 2%;
}

.container {
  border-radius: 50px;
  width: 400px;
  box-sizing: border-box;  
  margin: auto;
  padding-bottom: 3%;
  padding-top: 5%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  font-family: 'Gruppo', sans-serif;
  font-size: 1.2em;
}

@media screen and (max-width: 600px) {
  div.container {
    width: 350px;
    padding: 5%;
    margin-top: 1em;
    margin-bottom: 1em;
  }
}

input [type=submit] {
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 4%;
  border: 1px solid #ccc;
  border-radius: 4%;
  box-sizing: border-box;
  margin-top: 6%;
  margin-bottom: 6%;
  resize: vertical;
}

input[type=email], select, textarea {
  width: 100%;
  padding: 4%;
  border: 1px solid #ccc;
  border-radius: 4%;
  box-sizing: border-box;
  margin-top: 6%;
  margin-bottom: 6%;
  resize: vertical;
}

input[type=submit]{
  border-radius: 4px;
  background-color: rgb(211, 187, 155);
  font-family: 'Gruppo', sans-serif;
  padding: 7px 15px;
}
input[type=submit]:hover{
  background-color: rgb(153, 125, 88);;
  cursor: pointer;
}


.nyheterbilder{
  justify-content: center;
  
}

.velkommen {
  display: block;
  margin: 0 auto; 
  border-radius: 8px;
  width: 100%; 
  max-width: 50%; 
  height: auto;
  padding: 0; 
}

@media screen and (max-width: 600px) {
  .velkommen {
    width: 100%; /* Allow the image to take up the full width of its container */
    max-width: 90%; /* Remove the max-width restriction */
    height: auto;
  }
}


.picture {
  width: 22em;
  height: 22em;
  border-radius: 50%;
  margin-right: 200px;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

@media (max-width: 480px) {
  .picture {
  margin: 1.9%;
  }
  }
  

.picture:hover{
filter: none;
}

.info{
display: flex;
padding-bottom: 5%;
padding-top: 2%;
align-items: center;
justify-content: center;
box-sizing: border-box;


}

@media screen and (max-width: 480px){
.info  { 
  flex-direction: column;
  align-items: center;
}
}

@media screen and (max-width: 480px){
  .infotext  { 
    display: block; 
    height: auto;
    margin-bottom: 4em;
    padding: 1.2em;
    text-align: center;
   
  } 
}

@media screen and (max-width: 768px){
  .infotext  { 
    display: block; 
    height: auto;
    margin-bottom: 4em;
    padding: 1.2em;
    text-align: center;
    margin: auto;
   
  } 
}

.hamburger {
  display: none;
  font-size: 2em;
  cursor: pointer;
  padding: 10px;
  background-color: rgb(211, 187, 155);
  border-radius: 8px;
 
}

@media (max-width: 768px) {
  #myList {
  padding-right: 1%;
  font-size: 1.2em;
  align-items: center;
  justify-content: center;
  }

  .hamburger {
  display: none;

}
}

/*.copyright{
  text-align: center;
  font-family: 'Gruppo', sans-serif;
  text-align: center;  
  padding: 10px; 
  border-top: 1px solid #ccc;
  position: fixed;
}
*/

.copyright {
  display: flex;
  justify-content: center;
  align-items: center; 
  width: 100%; 
  background: none;
  border: none;
  font-family: 'Gruppo', sans-serif;
  text-align: center;
  padding: 2%;
  cursor: pointer;
  position: relative; 
  border-top: 1px solid #ccc;
}