html {
    height: 100%;
}

body {
    width: 100%;
    height: 330vh;
    margin: 0;
    background-image: linear-gradient(270deg, rgb(226, 226, 226),rgb(31, 83, 114));
    
}

* {
    outline: 1px solid none; /* outline för allt*/
}

p, a {
  font-family: "Arvo", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  text-decoration: none;
  color: inherit;
}

#searchbar-background {
    display: grid;
    grid-row: 1/2;
    grid-column: 1/6;
    background-color: rgb(19, 51, 70);
    
    
}

#searchbar {
 display: grid;
 grid-column: 3/4;
 margin-top: 20px;
 grid-row:1/2;
 height: 40%;
 
  
}

#box-grid { 
   
    grid-template-rows: 80px 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-columns:25% 5% 35% 15% 20%;
    display: grid;
    margin: 0;
    height: 100vh;
    position: relative;
    
}


#sci-tull {
    display: grid;
    grid-row: 2/9;
    grid-column: 1/6;
    width: 100%;
    height: 100%;
    background-color: white;
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 85%);
    overflow: hidden;
}

#sidebar {
    position: fixed;
    top: 0;
    left: -400px; 
    width: 400px;
    height: 100%;
    background-image:linear-gradient(180deg, rgb(31, 83, 114),rgba(14, 112, 136));   
    border-right: solid 40px rgb(24, 65, 88);
    transition: left 0.3s ease;
    z-index: 2;
}

#sidebar:hover {
    left: 0; 
}

#sidebar-hover-zone {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 100%;
    z-index: 9;
}

#sidebar-hover-zone:hover + #sidebar,
#sidebar:hover {
    left: 0;
}

#mask1 { 
    bottom: 0;
    right: 0;
    z-index: 2;
    position: fixed;
    transform: scale(0.5);
    display: block;
}

#mask1:hover { 
    transform: scale(0.55);
}

/* Remove invisible clickable area around logo */
a[href="#top"] {
    display: inline-block;
    text-decoration: none;
    border: none;
    outline: none;
}

a[href="#top"]:focus {
    outline: none;
}


.menu-div {
  background: linear-gradient(135deg, rgb(55, 155, 212), rgb(31, 83, 114));
  color: white;
  border: none;
  padding: 7px;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
}

.menu-div:hover {
  animation: bounce 0.3s;
  transform: scale(0.97);
}

@keyframes bounce {
  0%   { transform: scale(0.9); }
  30%  { transform: scale(1.03); }
  50%  { transform: scale(0.99); }
  100% { transform: scale(0.97); }
}
    
    
#menu-button-grid {
    display: grid;
    grid-template-rows: 150px 1fr 1fr 1fr 1fr 1fr 1fr;
  
    
    
   
}

.menu-div {
    
display: grid;
margin-top:60px;
margin-bottom:70px;

justify-content: center;
}

#vara-program {
display: grid;
grid-row: 2/3;
}

#oppet-hus {
display: grid;
grid-row: 3/4;
}

#om-oss-button {
display: grid;
grid-row: 4/5;
}

#anmal-franvaro {
display: grid;
grid-row: 5/6;
}


.container {
     display: grid;
    grid-row: 1/2;
    grid-column: 3/4;
}
.search-bar {
    max-width: 500px;
    margin: auto auto;
 
}

.search-bar .input-group {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.search-bar .form-control {
    border: none;
    padding-left: 20px;
    outline: none;
    width: 400px;
}

.search-bar .btn {
    border: none;
    padding: 10px 20px;
}
.tull-quote {
    margin-bottom: 0px;
    margin-top: 0px;
    padding-left:0px;
    padding-bottom: 20px;
    padding-right:75px;
    padding-top:5px ;
    background-color: #0081a2;
    box-shadow:10px 0 0 #0081a2,-10px 0 0 #0081a2;
    box-sizing: border-box;
    color: white;
    display: inline-block;
    
    font-size: 36px;
    font-weight:300;
   
    

}
.tull-quote2{
margin-bottom: 10px;
    
    padding-left:0px;
    padding-bottom: 20px;
    padding-right:75px;
    padding-top:5px ;
    background-color: #0081a2;
    box-shadow:10px 0 0 #0081a2,-10px 0 0 #0081a2;
    box-sizing: border-box;
    color: white;
    display: inline-block;
    
    font-size: 36px;
    font-weight:300;
    
    
    
    grid-column:3/4 ;
    grid-row:4/5;

   

}
.text-innehåll{
    display: inline-block;
    display: grid;
    grid-column: 3;
    grid-row: 6/8;
    z-index: 2;
}

.tull-quote-container1 {
    margin-top: 30px;
    display: inline-block;
}

.tull-quote-container2 {
    margin-bottom: 30px;
    margin-top: -20px;
    display: inline-block;
}
.kontakta-oss{
margin-bottom: 0px;
    margin-top: 0px;
    padding-left:0px;
    padding-bottom: 10px;
    padding-right:50px;
    padding-top: 10px;
    background-color: #0081a2;
    box-shadow:10px 0 0 #0081a2,-10px 0 0 #0081a2;
    box-sizing: border-box;
    color: white;
    font-size: 40px;
    font-weight:300;
    height: 100%;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;

}

.kontakt-divmini {
    grid-column: 2/3;
    grid-row: 1/4;
    justify-self: center;
    align-content: center;
    width: 100%;
    height: 100%;
}

.kontakt-background {
    display: grid;
    grid-row: 1/4;
    grid-column: 1/4;
    background-color: rgb(31, 83, 114);
}

.kontakt-grid2{
   height: 100%;
    display: grid;
    grid-template-columns: 25% 50% 25%;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    grid-row: 1/2;
    grid-column: 1/4;
}

/* Program Section */
#program-content {
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 248, 255, 0.9));
    backdrop-filter: blur(10px);
    margin-top: 50px;
}

.program-section {
    max-width: 1200px;
    margin: 0 auto;
}

.program-section h2 {
    text-align: center;
    color: #1f5372;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.programs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.program-item {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(31, 83, 114, 0.15);
    border: 1px solid rgba(31, 83, 114, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.program-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31, 83, 114, 0.25);
}

.program-image {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.program-text {
    margin-top: 15px;
    margin-right: 30px;
}

.program-name {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f5372;
    text-align: center;
    background: #fafafa;
    transition: all 0.3s ease;
}

.program-name:focus {
    outline: none;
    border-color: #0081a2;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 129, 162, 0.1);
}

.program-name::placeholder {
    color: #999;
    font-weight: 400;
}

/* öppet-hus */
.öppethus-grid {
    height: 30%;
    display: grid;
    grid-template-columns: 15% 70% 15%;
    grid-template-rows: 1fr 1fr 1fr 1fr;

}

.öppethus-div {

background-color: rgb(255, 255, 255);
border: solid;
border-color: #0081a2;
border-width: 5px;
display:flex;
justify-content: center;
align-items: center;
width: 800px;
height: 200px;
margin: 0 auto;
margin-top: 50px;
padding: 10px;
display: grid;
grid-row: 2/3;
grid-column: 2/3;

}
.öppethus-innehåll {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    
    
}

#hus-knapp {
   background: linear-gradient(135deg, rgb(55, 155, 212), rgb(31, 83, 114));
  color: white;
  border: none;
  padding: 7px;
  font-size: 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); 
  transform: scale(0.9);
  margin-top: 60px;
  justify-content: center;
  display: grid;
  grid-row: 3/4;
  grid-column: 1/4;
  width: 60%;

}

#hus-knapp:hover {
  animation: bounce 0.3s;
  transform: scale(0.97);
}
/* Kontakt Section */
.kontakt-div {
    background-color: rgb(255, 255, 255);
    border: solid;
    border-color: #0081a2;
    border-width: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 800px;
    height: 200px;
    z-index: 1;
    margin: 30px auto;
    padding: 10px;
    grid-row: 2/3;
    grid-column: 2/3;

}

.kontakt-innehåll {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    
}
.kontakt-grid{
    height: 40%;
    display: grid;
    grid-template-columns: 15% 70% 15%;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    
   
}

.om-div {
    background-color: rgb(255, 255, 255);
    border: solid;
    border-color: #0081a2;
    border-width: 5px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 800px;
    min-height: 300px;
    z-index: 1;
    margin: 30px auto;
    padding: 20px;
    display: grid;
    grid-column:2/3;
    grid-row: 3/4;
    margin-top: 80px;
}

.om-innehåll {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}

