/*File: DiceWarePassphraseGenerator.html
/*Project: Intro Cybersecurity Project Dice Ware Passphrase Generator. 
/*Author: Jose Ron Coka
/*History: Version 1.0 December 10, 2022. First Fully working prototype-->*/

/* ||CSS Reset*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}







/* ||General Styles */

header {
  /*background-color: gray;*/
  background-color: rgb(12, 98, 163);
  padding: 1rem 1rem;
  /*display: flex;*/
  /*justify-content: space-between;
  align-items: center;
  text-decoration: none;*/

  h2 {
    color: white;
    text-decoration: none;
    margin: 0 auto;
  }
}

body {
  font-family:
    "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans",
    Arial, sans-serif;
  font-size: 1.1rem;
  text-align: justify;
  background-color: lightgray;
  /*background-color: whitesmoke;*/

  h1 {
    text-align: center;
  }
}

footer {
  /*display: flex;*/
  align-items: center;
  justify-content: center;
  background-color:  rgb(12, 81, 133);
  /*padding: 1rem 1rem;*/
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  width: 100%;
}

nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

nav a {
  text-decoration: none;
  background-color: darkgray;
  background-color: rgb(12, 81, 133);
  color: white;
  padding: 1em 1em;
  /*8px 5px;*/
  border-radius: 5px;
  text-align: right;

 /* h2{
    color: white;
    margin: 0.5rem;
    text-decoration: none;
    font-size: 50px;
    text-align: left;}*/
}
  
h2{
  font-size: 1.8rem;
}

/* Style the list items in the steps section */
li{
  margin-bottom: 1rem;
}

input {
  font-size: 1rem;
  background-color: gray;
  color: white;
  caret-color: white;
 
}

#throws{
  caret-color: white;
}

input[type="button"] {
  padding: 1rem 2rem;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  display: block;
  margin: auto;
}






/* ||Layout Utilities */

/*Content Wrapper*/
.content{
  width: 100%;
  max-width: 1000px;
  /*min-width: 350px;*/
  margin: 0 auto;
  /*border: red solid 2px;*/
  padding: 1rem 0.5rem;
}

.divFlexContainer {
  /*border: solid rgb(23, 138, 226);*/
  display: flex;
  /* space between panels */
  gap: 1rem;
  padding: 0.25rem 0.25rem;
  width: 100%;
  justify-content: flex-end;
  /* centre them horizontally */
  align-items: center;

}
.divPanel {
  padding: 0.5rem 1rem;
  border: 2px solid gray;
  border-radius: 5px;
  width: 100%;
  text-align: left;
}

/*
.contentNav{
  width: 100%;
  max-width: 1000px;
  min-width: 350px;
  margin: 0 auto;
  border: red solid 2px;
  display:flex;
  justify-content: flex-end;
  align-items: center;
}*/



.navTitle a{
  text-decoration: none;
  color: white;
  /*border: solid black 1px;*/
  font-weight: bold
}

.navTitle a:hover{
  color: white;
}

.navbar a {
  text-decoration: none;
  color: white;
  border: solid black 1px;
  font-weight: bold;
}

/*
.navbar a:hover {
  background-color: lightgray;
  color: gray;
}*/



footer div {
  /*display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;*/
  text-align: justify;
  padding: 0.25rem 0.25rem;
  /*border: 2px black solid;*/
  width: 100%;
  text-decoration: none;

  a {
    text-decoration: none;
    color: white;
    margin-bottom: 0.5rem;
  }

  p{
    margin-bottom: 0.5rem;
  }
}

.footerDivColumn{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: justify;
  padding: 0.25rem 0.25rem;
  /*border: 2px black solid;*/
  width: 100%;
  text-decoration: none;
  margin:0;
}

.footerLink {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center; /*Horizontal alignment for logo links*/
  align-items: center; /*Vertical alignment for logo links*/
  gap: 1rem;
}

.footerNav hover{
  text-decoration: underline;
}

/*
footer div a img {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}*/




a:hover {
  /*color: lightgray;*/
  text-decoration: underline;
}



/*||Sections Classes*/

.introduction {
  width: 100%;
  /*padding: 1rem 1rem;*/

  p {
    text-align: justify;
  }
}

.introduction p a {
  text-decoration: underline;
  color: black;
}

.steps {
  width: 100%;
  /*padding: 1rem 1rem;*/
  background-color: whitesmoke;
}


.generator {
  /*display: flex;
  gap: 20px;
  padding: 1rem 1rem;*/
  width: 100%;
}

.entropy {
  /*font-size: 1rem;*/
  background-color: whitesmoke;
  /*padding: 1rem 1rem;*/
}

.whiteSection {
  width: 100%;
  /*padding: 2rem 1rem;*/
  background-color: whitesmoke;

  p {
    text-align: justify;
    margin-bottom: 1rem;
  }

  h2{
    margin-bottom: 1rem;
  }
}

.graySection {
  width: 100%;
  /*padding: 1rem 1rem;*/
  background-color: lightgrey;

  p {
    text-align: justify;
    margin-bottom: 1rem;
  }

   h2{
    margin-bottom: 1rem;
  }
}

.bold {
  font-weight: bold;
}

.button {
  font-weight: bold;
}

.button:hover {
  background-color:  rgb(160, 160, 160);
  color: white;
  text-decoration: underline;
}



.center {
  text-align: center;
}

.left {
  text-align: left;
}




.result {
  color: white;
  background-color: grey;
  padding: 1rem;
}

.divCenter{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Image css */
.image-container {
  display: flex;
  gap: 1rem;
  /* space between images */
  justify-content: center;
  /* centre them horizontally */
  align-items: center;
  /* align them vertically */
}

.image-container img {
  width: 30%;
  /* each image takes up 30% of container */
  max-width: 300px;
  /* never gets bigger than 300px */
  height: auto;
  /* maintains aspect ratio */
  border-radius: 8px;
  /* optional — rounds corners */
}

@media (max-width: 600px) {
  .divFlexContainer{
    flex-direction: column;
    /* stack panels vertically on small screens */
  }
}
