@charset "UTF-8"; /* Informs of keyboard layout to secure CSS */

/* This is to center and position my picture*/
img.tlogo { 
  overflow: hidden;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

/* This centers the audio player under the navbar */
div.alignunnav {
  position: relative;
  margin-left: 25%;
  margin-right: 25%;
  align-items: center;
  width: 25%;
  padding-top: 2rem;
  padding-left: 15rem;
}

/* This is to center the Navigation bar*/
div.navcen {
  float: none;
  margin-top: 1rem;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* This centers the paragraphs according to the page */
p.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* This set a calss for the font */
p.setfont {
  font-family: Rubik, sans-serif;
  font-size: 16px;
  color: #81f0e0;
  padding-top: 1rem
}

/* This removes bullets from the Navigation bar */
ul.removebullets, li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Sets a class to make a grid layout */
.info-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

/* Sets the size and position of the dropdown menu */
.dropdown {
    width: 100%;
    margin-top: 2rem;
    height: 2rem;
    font-family: Gerogia, sans-serif;
    font-size: 1rem;
}

/* This centers the text in an element */
.center-text {
    text-align: center;
}

/* This sets the form rows in the table with a flexible width of 250px and margins automatic */
.form-row {
    display: flex;
    width: 250px;
    margin: 0 auto;
}

/* This sets the position of the thumbnails */
.content {
    max-width: 15%;
    margin: auto;
    background-color: transparent;
    margin-top: 1rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
	flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Makes the images into thumbnails */
.thumbnail {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Sets the display of the thumbnails when clicked */
.resource-img {
    width: 65%;
    height: 65%;
}

/* This makes the navbar on one line, sets the width, and centers it */
nav {
  display: inline-block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;  
}

/* Makes the lists centered */
ul {
  display: flex;
  justify-content: center;
}

/* Formats the text for lists */
li {
  font-family: Georgia, sans-serif;
  font-size: 20px;
}

/* Formats the navbar */
li a {
  display: block;
  padding: 12px;
  background-color: dimgrey;
  color: white;
}

/* Fomats the paragraphs */
p {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 30%;
  text-indent: 2em;
}

/* Adds a fixed background image to the page and removes x-axis scroll bar */
body {
  background-image: url("./images/Circuit_Board.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  overflow-x: hidden
}

/* Formats the main text section */
main {
  font-family: Rubik, sans-serif;
  font-size: 16px;
  color: #d2d2d2;
  padding-top: 1rem
}

/* Formats h1 html tag */
h1 {
  font-family: Spectral, serif;
  font-size: 46px;
  color: white;
  text-align: center;
  font-weight: bold;
}

/* Formats h2 html tag */
h2 {
  font-family: Spectral, serif;
  font-size: 28px;
  color: white;
  text-align: center;
  font-weight: bold;
}

/* Formats h3 html tag */
h3 {
  font-family: Spectral, serif;
  font-size: 28px;
  color: #d2d2d2;
  text-align: center;
  font-weight: bold;
}

/* Formats and positions the footer */
footer {
  position: static;
  left: 0px;
  bottom: 0px;
  width: 100%;
  height: 10%;
  color: white;
  text-align: center;
  font-weight: bold;
}