body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f2f3f2;
}


header {
  width: 100%;
  background-color: #8fbda7;
  color: #fff;
  padding: 10px 0;
}

nav {
  width: 100%;
  height: 100px;
  margin: auto;
}

nav a {
    text-align: center;
    color: #915571;  /* Make it slightly red to grab attention */
    font-weight: bold;
}

h1 {
  text-align: center;
}



.output {
  width: 100%;
  margin: auto;
}

.hidden {
  display: none;
}


.description {
  width: 100%;
  background-color: #cfcfe3;
  color: #000000;
  border-radius: 10px;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
  margin: 20px auto;
  margin-top:0;
  padding: 20px;
  font-size: 0.9em;
}

.description p{
  padding-right: 10px;
}

.description li{
  margin: 10px 0;
}

.description a{
  color: #915571;
}

.no-data {
  text-align: center;
  color: #915571;  /* Make it slightly red to grab attention */
  font-weight: bold;
}

.copy-icon {
  cursor: pointer;
  margin-left: 10px;
}

.content-container {
  display: flex;
  align-items: flex-start;
}

.ad-container-left, .ad-container-right {
  width: 15%;
  min-width: 150px;
  padding: 20px 0;
  margin: 0 auto; /* Center the ad containers */
}

.options label {
  display: inline-block;
  margin-right: 10px;  /* add some spacing between the checkboxes */
}

/* Styles for the passphrase generator */
.generator {
  width: 80%;
  margin: 20px auto; /* Center the container */
  padding: 40px;
  background-color: #e5e5e5; /* Slight gray background for contrast */
  border-radius: 10px;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
  text-align: center; /* Center the contents */
}

#generateBtn {
  padding: 10px 20px;
  font-size: 1em;
  background-color: #8fbda7;
  color: #000000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}

.generator-button:hover {
  background-color: #7aa396; /* Slight darkening on hover */
}

#copyBtn {
  padding: 10px 20px;
  font-size: 1em;
  background-color: #8fbda7;
  color: #000000;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  margin-left: 10px; /* a small space between the two buttons */
}

#copyBtn:hover {
  background-color: #7aa396; /* Slight darkening on hover */
}

#outputPassphrase {
  font-size: 1.5em; /* Make the passphrase prominent */
  margin-top: 20px;
  padding: 10px;
  border: 2px dashed #7a5768; /* A subtle border around the passphrase */
  border-radius: 5px;
  word-wrap: break-word; /* Ensure longer passphrases break nicely */
}


.ad-container-bottom {
  width: 100%;
  padding: 20px 0;
}

#toast {
  visibility: hidden;
  width: 70%;
  color: #fff;
  background-color: #8fbda7;
  text-align: center;
  border-radius: 10px;
  padding: 16px;
  position: fixed;
  z-index: 1000;
  bottom: 30px;
  left: auto;
  right: auto;
  margin-left: auto;
  margin-right: auto;
}

#toast.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}


@media (max-width: 600px) {


  .content-container {
    display: flex;
    flex-direction: column-reverse;
  }


  .ad-container-left, .ad-container-right {
    width: 100%;
    min-width: 0;
    margin-bottom: 20px;
  }

  .generator {
    width: 80%; /* Increase width for better usage on mobile */
  }

  .passphrase-display, .generator-button {
    font-size: 1.2em; /* Adjusting font size for mobile view */
  }
  nav {
    height: 100px;
  }

  .description {
    width: 100%;
    font-size: medium;
  }

  .description p{
    padding-right: 40px;
  }
  .description li{
    padding-right: 40px;
  }

  header {
    width:100%;
    height: 150px;
  }

  body {
    font-size: 1.2em;
    overflow-x: hidden;
  }

  .options {
    text-align: left;  
    margin-left:30%;
}

.options label {
    display: block;
}


  .ad-container {
    width: 100%;
    min-width: 0;
  }
}