* {
  box-sizing: border-box;
}
html {
  height: 100%;
}
body {
  margin: 0;
  height: 100%;
  width: 100%;
}
 
.overall {
 
  height: 100%;
  width: 90%;
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  grid-template-rows: 25% 25% 25% 25%;
  margin-top: 25vh;
  gap: 4%;
  padding: 3%;

}
.Header {
  height: 7vh;
  width: 100vw;
  background-color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 0.5px solid rgb(196, 196, 196);
  padding: 0 20px;
}
 
.Left-section {
  display: flex;
  align-items: center;
}
 
.left-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0.5px solid rgb(165, 164, 164);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: white;
}
 
.left-picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  padding-top: 2px;
}
 
.left-Buttons, .left-picture:hover {
  cursor: pointer;
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
 
 
 
.Right-section {
  display: flex;
  align-items: center;
  gap: 10px;
}
 
.Right-Buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: black;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  transition: all 0.3s ease;
  height: 40px;
  padding-top: 20px;
  padding-bottom: 10px;
}
 
.Right-Buttons:hover {
  background-color: rgb(204, 204, 204);
  transform: scale(1.05);
  border: 1px solid aqua;
  cursor: pointer;
}
 
.Background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to bottom, #333, #111);
  z-index: -1;
  }
  .projekt{
  height: 100%;

  background: linear-gradient(60deg, #588d6a
, #03f754);
  border: solid white;
  display: grid;
  border-radius: 7px;
  grid-template-columns: 25% 25% 25% 25%;
  grid-template-rows: 25% 25% 25% 25%;
 
}
.P-bild{
  height: 100%;
  width: 100%;
  grid-row: 1/4;
  grid-column: 1/6;
  object-fit: fill;
 
 
}
.texten{
  grid-column: 1/5;
  grid-row:4;
  text-align: center;
  color: white;
  font-size: 20px;
  font-family: "Roboto", sans-serif;
}
.projekt-bild-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
 
  width: 600px;    
  height: 100px;
 
 
  margin-top: -1vh;
  margin-left: -1vw;
  background-color: white;
  border-radius: 10px; /* valfritt: rundade hörn */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* valfritt: skugga */
 
  z-index: 1;
}
.projekt-bild-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
 
  width: 600px;    
  height: 70px;
 
 
  margin-top: -30vh;
  margin-left: -1vw;
  background-color: white;
  border-radius: 10px; 
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); 
 
  z-index: 1;
}
.bild-text {
  margin-left: auto;
  margin-right: auto;
}


 
  /*-----Style för mobilen ----------------*/
  @media (max-width: 800px) {
  .overall {
  height: 100%;
  width: 90%;
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 25% 25% 25% 25% 25% 25% 25% 25%;
  margin-top: 25vh;
  gap: 4%;
  padding: 3%;
}
 
 
}
.projekt-bild {
  width: 100%;
  height: 100%;
  grid-row: 1/4;
  grid-column: 1/5;
}
.Right-Buttons {
  padding-left: 10px;
  padding-right: 10px;
  height: 60%;
  width:100px;
  padding-top: 10px;
 
}
.left-button{
  height: 50px;
 
  width: 50px;
}
 
 
.texten{
  grid-column: 1/5;
  grid-row:4;
  text-align: center;
  color: white;
  font-size: 15px;
  font-family: "Roboto", sans-serif;
}