:root {
  --background-color: #f0f0f0;
  --text-color: #363636;
  --text-color-inversed: #fff;
  --text-days: #898989;
  --text-days-future: #c2c2c2;
  --container-bg-color: #fff;
  --button-bg-color: #ebebeb;
  --button-hover-bg-color: #e6e6e6;
}

[data-theme="dark"] {
  --background-color: #292929;
  --text-color: #fff;
  --text-color-inversed: #444;
  --text-days: #c2c2c2;
  --text-days-future: #8a8a8a;
  --container-bg-color: #363636;
  --button-bg-color: #666;
  --calendar-bg-color: #333;
  --button-hover-bg-color: #777;
  --input-bg-color: #555;
  --input-text-color: #fff;
  --input-border-color: #666;
}

[data-theme="dark"] .logo img {
  filter: invert(100%);
}

body {
  font-family: 'Lexend', sans-serif;
  justify-content: center;
  align-items: center;
  margin: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#modalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent black */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999; /* Ensure the overlay is on top */
}


#shareAlert {
  background-color: var(--container-bg-color);
  padding: 1.25em;
  border-radius: 0.625em;
  box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1000; /* Ensure the alerts are on top of the overlay */
  max-width: 90%;
  text-align: center;
}

.github-logo {
  fill: var(--container-bg-color); 
  color: var(--text-color); 
  position: absolute; 
  top: 0; 
  border: 0; 
  right: 0; 
}

.appContainer {
  background-color: var(--container-bg-color);
  padding: 1.875em; 
  padding-bottom: 1.6em;
  border-radius: 2.5em; 
  box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.1); 
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  width: auto; 
}

.profileContainer {
  background-color: var(--background-color);
  border-radius: 1.875em;
  padding-top: 0.60em !important;
  padding: 1.40em;
  margin-bottom: 2em;
  margin-top: 1em;
  box-shadow: 0 0.125em 0.225em rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 40rem;
}

.copyButton {
  background-color: var(--button-bg-color);
  color: var(--text-color);
  border: none;
  border-radius: 0.375em;
  padding: 0.3125em 0.625em;
  margin-top: 0.75em;
  cursor: pointer;
  box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.1);
  font-family: 'Lexend', sans-serif;
}

.copyButton:hover {
  background-color: var(--button-hover-bg-color);
  color: var(--text-color);
}

.shareButton {
  background-color: var(--button-bg-color);
  color: var(--text-color);
  border: none;
  border-radius: 0.5em;
  padding: 0.625em 1.25em;
  cursor: pointer;
  box-shadow: 0 0.125em 0.25em rgba(0, 0, 0, 0.1);
  font-family: 'Lexend', sans-serif;
  font-size: 1em;
  display: inline-block; 
}

.shareButton:hover {
  background-color: var(--button-hover-bg-color);
  color: var(--text-color);
}

.description {
  font-size: 1em;
  text-align: center;
  margin: 0;
  padding: 0.375em;
}

.description a {
  color: var(--text-color);
  text-decoration: none;
  border-bottom: 0.07em solid var(--text-color);
}

.buttonContainer {
  margin-bottom: 0.4em;
}

.shareButton:last-child {
  margin-right: 0;
}


.logo {
  text-align: center;
} 

.logo img {
  filter: none; 
}

.switch {
  position: relative;
  display: inline-block;
  width: 2.5em;
  height: 1.5em;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--background-color);
  transition: 0.4s;
  border-radius: 1.5em;
}

.slider:before {
  position: absolute;
  content: "";
  height: 1.125em;
  width: 1.125em;
  left: 0.1875em;
  bottom: 0.1875em;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--background-color);
}

input:checked + .slider:before {
  transform: translateX(1em);
}

#countdownContainer {
  padding: 0.625em;
  margin-top: 0em;
  text-align: center;
  font-size: 1em;
  min-height: 3em;
}

.profileDetails {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-bottom: 0.8px solid var(--text-color);
  padding-bottom: 10px;
  font-size: 0.9em;
}

.leftSection {
  display: flex;
  align-items: center;
}

#profilePicture {
  width: 3.25em;
  height: 3.25em;
  border-radius: 20%;
  margin-right: 0.625em;
}

#logoPicture {
  margin-left: 0.625em;
  max-width: 6.25em;
  max-height: 3em;
}

.briefContent p {
  display: inline;
  margin: 0;
  padding: 0;
  padding-top: 10px;
}

.profileName {
  margin-bottom: 0.25em;
}

.profileEmail {
  margin-top: 0;
}

.black-fill {
  filter: grayscale(100%) ;
}
  

[data-theme="dark"] .black-fill {
  filter: grayscale(100%) invert(100%) brightness(130%);
}



@media (max-width: 480px) {


.profileContainer {
  background-color: var(--background-color);
  border-radius: 1.4em;
  box-shadow: 0 0.125em 0.225em rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 20rem;
}
body {
  justify-content: flex-start;
  align-items: flex-start;
  height: auto;
  margin-top: 0; 
  background-color: var(--container-bg-color);
}

.logo {
  margin-top: 0em; /* Remove or reduce the top margin */
}

.appContainer {
  background-color: transparent;
  box-shadow: none;
  border: none;
  width: auto;
  padding-bottom: 0em;
}


    .shareButton {
        margin-bottom: 1.875em;
    }

    #countdownContainer {
        padding: 0em;
        text-align: center;
        margin-top: 0em;
        margin-bottom: 0em;
    }

    #countdown {
        margin-top: 0.25em;
        margin-bottom: 0em;
    }

    .github-logo {
      fill: var(--background-color);
      color: var(--text-color);
      position: absolute;
      top: 0;
      border: 0;
      right: 0;
      aria-hidden="true";
  }
  #countdownContainer {
    text-align: center;
    font-size: 1em;
  }

.leftSection {
  display: flex;
  align-items: center;
}

#profilePicture {
  width: 3.25em;
  height: 3.25em;
  border-radius: 20%;
  margin-right: 0.625em;
}

#logoPicture {
  margin-left: 0.625em;
  max-height: 2.4em;
  max-width: 4.80em;
  display:initial;  
}

.briefContent p {
  display: inline;
  margin: 0;
  padding: 0;
  padding-top: 10px;
}

.profileName {
  margin-bottom: 0.25em;
}

.profileEmail {
  margin-top: 0;
}

.profileDetails {
  display: inherit;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  border-bottom: 0.8px solid var(--text-color);
  font-size: 0.8em;
}

.leftSection {
  display: ;
  align-items: ;
}

#profilePicture {
  width: 3.25em;
  height: 3.25em;
  border-radius: 20%;
  margin-right: 0.625em;
}

.briefContent p {
  display:;
  margin: 0;
  padding: 0;
  padding-top: 10px;
}

.profileName {
  margin-bottom: 0.25em;
}

.profileEmail {
  margin-top: 0;
}
}