
/* Global reset and default styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, button, a {
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--color-main-bkg);
  font-family: sans-serif;
  color: var(--color-panel-title-main);
  display: flex;
  flex-direction: column;

  min-height: 500px;
  height: 100dvh;
  
  min-width:300px;
  width: 100%;
  
}

.main-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 20px;
  width: 90%;
  align-items: center;
  
  margin: 0 auto;
}

.header {
  font-family: "Oswald", sans-serif;
  /*font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;*/
  /*font-family: Impact, sans-serif;*/

  /*font-family: "Anton", sans-serif;*/
  /*font-family: 'Bebas Neue', sans-serif;*/
  letter-spacing: 3px;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  padding-top: 15px;
  padding-bottom: 20px;
}

.footer {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  padding-bottom: 15px;
  cursor: pointer;
}

.corner-img {
  
  border-radius: 50%;
  padding: 2px;
  flex: 0 0 8vh; /* Fixed width for the icon */
  width: auto;
  height: 8vh;
  object-fit: cover;
  cursor: pointer;
  aspect-ratio: 1; /* Ensures the aspect ratio remains 1:1 */  
  justify-self: left;
}

.card {
    display: flex;
    flex-direction: column;
    padding-top: 10vh;
    padding-bottom: 10vh;
    justify-items: center;
    align-items: center;
    width: 60%;
    margin-bottom: 10px;
    min-height: 100px;

    flex: 1; /* Equal width for all elements */
    background-color: var(--color-panel-btn-bkg);
    border: 2px solid var(--color-panel-stroke);
    border-radius: 5px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}


.card:hover {
    /*transform: scale(1.01);*/
    /*background-color: var(--base-color-honey);*/
    filter: brightness(1.5);
    transform: scale(1.02);
}


.card img {
  width: 10vh; 
  height: auto;
  /*width: 15vh;
  height: 15vh;*/
  object-fit: contain;
  flex: 10;
}

.card-text {
  font-size: 4vh;
  text-align: center;
  margin-top: 8px;
  color: var(--color-panel-btn-text);
  flex: 2;
}



.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: none;
  flex-direction: column;
  justify-content: space-between;
}
.overlay-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
}
.overlay-content iframe {
  width: 90%;
  height: 80%;
}
.overlay-footer {
  color: var(--color-panel-title-main);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}


.bottom-right-button{
  position: fixed;
  padding: 5px;
  bottom: 0px;
  right: 0px;
  overflow: hidden;
  aspect-ratio: 1;  
 
  background-color: rgba(255, 255, 255, 0);
  border-color: rgba(255, 1, 1, 0);
  font-size: 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;  
  border-radius: 50%;
}

.bottom-right-button:hover {
  transform: scale(1.1);
}


.top-right-button {
  position: fixed;
  padding: 5px;

  top: 0px;
  right: 0px;
  
  border-radius: 50%;
  aspect-ratio: 1;
  overflow: hidden;
  color: white;

  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  
  background-color: rgba(0, 0, 0, 0);
  border-color: rgba(0, 0, 0, 0);
  font-size: 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease; 
}

.top-right-button:hover {
  transform: scale(1.1);
  /*filter: brightness(1.5);*/
}


/* Dropdown Menu */
.info-dropdown-menu {
  position: fixed;
  bottom: 50px; /* Adjust based on button size */
  right: 10px;
  background-color: rgb(19, 19, 100);
  box-shadow: 0px 0px 40px 40px rgba(0,0,0,0.5);

  color: var(--color-panel-btn-text);
  border: 2px solid var(--color-panel-stroke);
  border-radius: 10px;
  width: auto;
  overflow: hidden;
  
  display: none; /* Hidden by default */
  flex-direction: column;
  z-index: 999;
}


.user-dropdown-menu {
  position: fixed;
  top: 50px; /* Adjust based on button size */
  right: 10px;
  background-color: rgb(19, 19, 100);
  color: var(--color-panel-btn-text);
  border: 2px solid var(--color-panel-stroke);
  border-radius: 10px;
  width: auto;
  overflow: hidden;
  
  box-shadow: 0px 0px 40px 40px rgba(0,0,0,0.5);
  display: none; /* Hidden by default */
  flex-direction: column;
  z-index: 999;
}


.popupbtn {
  font-size: 1rem;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}


.alert{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: auto;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 10px;
    background-color: var(--color-panel-invbk);
    transform: translate(-50%, -50%);
    z-index: 9999;
    color:var(--color-panel-btn-bkg);
    text-align: center;
}

.alert p {
  padding-bottom: 10px;
}

.close-btn {
  cursor: pointer;
}



.menu-item {
  padding: 10px 20px;
  /*font-size: 2rem;*/
  font-size: 3vh;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  /*border-bottom: 1px solid var(--color-panel-stroke);*/
}

.menu-item-head {
  cursor: pointer;
  font-family: "Oswald", sans-serif;
  /*font-family: 'Bebas Neue', sans-serif;*/
  padding: 10px 5px 10px 10px;
  font-size: 3vh;
  /*font-weight: bold;*/
  letter-spacing: 2px;
  gap: 20px;

  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  display: flex;
  background-color: var(--color-panel-btn-bkg);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.menu-item-head:hover {
  /*transform: scale(1.05);*/
  filter: brightness(1.5);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:first-child {
  border-bottom: none;
}
.menu-item a {
  text-decoration: none;
  color: var(--color-panel-btn-text);
}
.menu-item:hover {
  transform: scale(1.05)
}

.hidden {
  display: none;
}
