:root{
    --image_width: 180px;
}

body{
    font-family: Oxygen;
    background-color: antiquewhite;
}

h1 {
text-align: center;
}

.semester{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    transition: 0.3s;
    border-color: lightblue;
    border-width: 5px;
    border-style: solid;
    border-radius: 50%;
    width: var(--image_width);
    height: var(--image_width);

    transition: transform 0.5s ease-in-out;
}

.semester:hover{
    border-color: blue;

    animation: spin 4s infinite linear;
}

/* SPIN */
@keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
   

.semester_div{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.semester_flex{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    margin: 5px;
}

.semester_colum{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    margin: 5px;
}

.semester_div > a{
    padding: 10px;;
}

.semester_div > h2{
    padding: 10px;
    width: var(--image_width);
    text-align: center;
}

.under_const{
    padding: 50px;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ico_png{
    background-blend-mode: screen; 
    background-color: white;
}

.button {
    display: inline-block;
    border-radius: 4px;
    background-color: #1c2623;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 28px;
    padding: 20px;
    width: 150px;
    cursor: pointer;
  }

  .button:hover{
    background-color: #131a18;
  }
  
  .weather_data {
    width: 350px;
    padding: 20px;
    border-style: solid;
    border-width: 2px;
    border-radius: 7.5%;
    border-color: rgb(0, 0, 0);
  }

  .spille_bula {
    width: 500px;
    padding: 20px;
    border-style: solid;
    border-width: 3px;
    border-radius: 7.5%;
    border-color: rgb(0, 0, 0);

  }

  .flex_container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;

  }

.nav_bar{
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    background-color: #1c2623dc;
    color: #FFFFFF;
    height: 50px;

}
.nav_bar_icon{
    width: 35px;
    border-style: solid;
    border-radius: 50%;
    border-color: white;
    border-width: 2px;
    margin: 4px;
    transition: 0.2s;
}

.nav_bar_icon:hover{
    border-width: 3px;
}

/* Popup Style */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    background-color: lightblue; /* Background color for the popup */
    border: 2px solid blue; /* Border style and color */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); /* Box shadow for a subtle effect */
    font-family: Oxygen; /* Same font as the rest of the page */
    color: #000000; /* Text color */
    text-align: center; /* Center-align text */
}

.popup h2 {
    margin-bottom: 10px; /* Space below heading */
}

.popup p {
    margin-bottom: 20px; /* Space below paragraph */
}

.popup button {
    display: block; /* Block-level button */
    margin: 0 auto; /* Center-align button */
    padding: 10px 20px; /* Padding for the button */
    border: none; /* No border */
    border-radius: 4px; /* Rounded corners for button */
    background-color: #1c2623; /* Button background color */
    color: #FFFFFF; /* Button text color */
    font-size: 18px; /* Button font size */
    cursor: pointer;
}

.popup button:hover {
    background-color: #131a18; /* Button background color on hover */
}
