
body {
    margin: 0px;
    background-color: rgba(0, 0, 0, 0.9);
    font-family: "Pathway Gothic One", sans-serif;
}

html {
    scroll-behavior: smooth !important;
    margin: 0;
}

.header {

    display: flex;
    flex-direction: row;
    height: clamp(50px, 5.2vw, 100px);
    position: fixed;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    top: 0;
    background-color: rgb(36, 36, 36);
    box-shadow: 0 10px 10px -10px black;
    z-index: 99;
}


.left_section {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: clamp(15px, 1.56vw, 30px);
}

.tullangen_logo {
    width: clamp(35px, 3.75vw, 70px);
    object-fit: contain;
    transition: all ease 0.4s;
}

.tullangen_logo:hover {
    transform: scale(1.05);
    transition: all ease 0.4s;
}

.title_container {
    color: white;
    margin-left: clamp(10px, 1.04vw, 20px);
    display: flex;
    flex-direction: column;
}

.header_title {
    font-size: clamp(15px, 1.56vw, 30px);
    color: rgb(0, 153, 190);
    font-weight: 700;
    
}

.title_container p {
    margin: 0;
}


.middle_section {
    flex: 1;
    width: 30%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.textbox {
    font-family: Arial;
    border: 3.5px solid rgb(0 153 190);
    border-radius: 20px;
    width: 17vw;
    height: clamp(15px, 1.82vw, 35px) !important;
    padding-left: clamp(7.5px, 0.78vw, 15px);
    color: white;
    box-shadow: 0 0 10px rgb(0, 153, 190);
    font-size: clamp(7.5px, 0.78vw, 15px);
}

input[type="text"], textarea {
    background-color: rgba(20, 20, 20, 0.815);
}

.search_icon { 
    object-fit: contain;
    width: clamp(20px, 2.08vw, 40px);
    margin-left: 5px;
    transition: 0.15s;
}

.search_icon:hover {
    width: clamp(21.5px, 2.24vw, 43px);
    margin-left: 2px;
    cursor: pointer;
}

.right_section {
    width: 30%;
    display: flex;
     flex-direction: row;
    align-items: center;
    justify-content: right;
    padding-right: clamp(15px, 1.56vw, 30px);

}
.hamburger_menu {
    width: clamp(25px, 2.604vw, 50px);
    cursor: pointer;
}

.hamburger_menu:hover {
    width: clamp(26px, 2.71vw, 52px);
}

.second_header {
    transition: 0.3s;
    transform: translateY(-100%);
    position: fixed;
    top: 0;
    width: 100%;
    height: clamp(50px, 5.2vw, 100px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(36, 36, 36);
}

.firstHeaderLink {
    margin-left: clamp(50px, 5.2vw, 100px);
}

.second_header button {
    margin-right: clamp(15px, 1.56vw, 30px);
}

.second_header a {
    font-size: clamp(15px, 1.56vw, 30px);
    text-decoration: none;
    color: rgb(0, 153, 190) !important;
    transition: 0.2s;
    position: relative;
    cursor: pointer;
}

.second_header a::after {
    content: '';
    position: absolute;
    height: 2px;
    left: 0;
    bottom: 0;
    width: 0;
    background: rgb(0, 153, 190);
    transition: width .2s;
}

.second_header a:hover::after {
    width: 100%;
}

.main_grid {
    margin-top: clamp(50px, 5.2vw, 100px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    margin-left: clamp(50px, 5.2vw, 100px);
    margin-right: clamp(50px, 5.2vw, 100px);
    box-shadow: rgba(58, 58, 58, 0.56) 0px 22px 50px 4px;    
}

.main_grid img {
    aspect-ratio: 16/8;
    width: 100%;
    object-fit: cover;
    transition: all ease 0.5s;
    border: solid 3px;
}

.main_grid img:hover {
    transform: scale(1.05);
    transition: all ease 0.5s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
    position: relative;
}

#image1:hover {
    z-index: 54;
}
#image2:hover {
    z-index: 53;
}
#image3:hover {
    z-index: 52;
}
#image4:hover {
    z-index: 51;
}


.img_container:hover .tooltip_container {
    opacity: 1;
}

.img_container {
    position: relative;
}

.tooltip_container{
    position: absolute;
    bottom: clamp(10px, 1.04vw, 20px);
    left: clamp(15px, 1.56vw, 30px);
    background-color: rgb(0 129 162);
    padding: clamp(5px, 0.52vw, 10px);
    z-index: 60;
    opacity: 0;
    transition: 0.3s;
    cursor: pointer;
}

.tooltip_container a{
    color: white;
    font-size: clamp(12.5px, 1.3vw, 25px);
    margin: 0;
    text-decoration: none;
}


.title {
    color: white;
    font-size: clamp(25px, 4vw, 75px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.title-text {
    margin-top: clamp(75px, 7.81vw, 150px);
    margin-bottom: 0px;
    font-weight: 700;
}
.description {
    color: white;
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: clamp(5px, 0.521vw, 10px) !important;

}
.description p {
    margin-bottom: 0px;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    font-size: clamp(20px, 2.3vw, 45px);
    background-color: rgb(0 129 162);
    padding: clamp(5px, 0.521vw, 10px) clamp(10px, 1.042vw, 20px);
    white-space: nowrap; 
    font-weight: 700;
}
.p1 {
    width: clamp(115px, 9vw, 190px)!important;
    grid-row: 1;
    grid-column: 3;
}
.p2 {
    grid-column: 3;
    width: clamp(180px, 16vw, 245px) !important;
}

.glow {
  color: #fff;
  text-shadow: none;
  animation: glowPulse 6s infinite;
}

@keyframes glowPulse {
  0% {
    text-shadow: none;
  }
  40% {
    text-shadow: 0 0 8px rgb(0, 153, 190), 0 0 10px rgb(2, 113, 141), 0 0 4px #fff;
  }
  60% {
    text-shadow: 0 0 8px rgb(0 153 190), 0 0 10px rgb(2, 113, 141), 0 0 4px #fff;
  }
  100% {
    text-shadow: none;
  }
}

.divider {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(50px, 5.2vw, 100px);
    margin-top: clamp(50px, 5.2vw, 100px);

}

.divider2 {
    width: 87.5%;
    margin-left: 7.5%;
    margin-right: 7.5%;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(37.5px, 3.906vw, 75px);
}

.våra_program_text {
    color: white;
    font-size: clamp(20px, 2.3vw, 45px);
    font-weight: 700;
    margin-bottom: 0;
    margin-top: -5px;
}



.footer {
    padding: 20px 10px;
    background-color: rgba(0, 0, 0, 0.747);
    margin-top: clamp(50px, 20vw, 1000px);
    color: white;
    align-items: center;
    justify-content: center;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    position: relative;
}


.orebro_link_container a {
    text-decoration: none;
}

.orebro_link_container {
    display: inline-block;
    margin-left: clamp(10px, 1.042vw, 20px);
}

.copyright {
    position: absolute;
    bottom: clamp(5px, 1.042vw, 10px);
}

.orebro_link_container img {
    height: clamp(20px, 2.083vw, 40px);
    transition: all ease 0.5s;
}

.orebro_link_container img:hover {
    scale: 1.1;
    transition: all ease 0.5s;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.visible {
  opacity: 0.9;
  transform: translateY(0);
}