:root {
  --portfolio-text-color: white;
  --portfolio-body-color: #161E3E;
  --portfolio-header-color: rgb(20,25,35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.search_sticky {
	text-align: center;
	position: sticky;
	top: 0;
  	color: #E8EAEC;
  	border-style: none none solid none;
	}

.search_default {
	position: sticky;
	top: 0;
  	background: #161E3E;
  	color: #E8EAEC;
}

.text_standard {
	color:#E8EAEC;
	text-align: center;
}

.text_index {
	color:#E8EAEC;
}

.bg_standard {
	background:#161E3E;
}

.bg_head {
	background:#2B386C;
}

.poke_head_img {
		width: 40%;
	}

.poke_table_img {
	min-width:40% !important;
	min-height:40% !important;
}

.poke_table {
    text-align: center;
    background-color:#161E3E;
    color:#E8EAEC;
}

.table-border {
	border-left: 2px inset;
}

.cell-wrap {
	width: 1% !important;
}

.text_adjust {
	text-size-adjust: auto;
}

.head_border {
	border-style: none none solid none;
}

.table-font {
	font-size: 1.5vw;
}

.thead-font {
	font-size: 1.5vw;
}

.table-name-font {
	font-size: 1vw;
	color:#E8EAEC;
}

.unstyled-list {
	list-style-type: none;
}

.navbar-brand {
	align-self: flex-start;
}


.navbar a {
  font-size: max(1vw, 12px);
}

.nav a {
  font-size: max(1vw, 12px);
}

.body_text-size {
		font-size: max(1vw, 15px);
	}

.index-size {
		font-size: max(0.7vw, 15px);
	}

.poke-img-width {
	width: 100%;
}

.popover {
  max-width: 500px;
}

/*.popover-header {
    background-color: grey;
    color: blue;
    font-size: 15px;
}
.popover-body {
    background-color: yellow;
    color: red;
    font-size: 10px;
}*/

#img-cont {
  display: flex;
  flex-direction: row;
  padding: 0px;
  margin: 0px;
}

#img-cont img {
  width: 1000px;
  padding: 0px;
  margin: 0px;
}

#stat-cont {
  display: flex;
  flex-direction: row;
  text-align: center;
  align-items: center;
  justify-content: space-evenly;
}

.stats {
  padding: 2px 40px;
  font-size: 120%;
  text-align: center;
  border: 1px solid black;
}

.speed-stat {
  text-align: center;
  margin: auto;
  width: 50%;
  font-size: 120%;
  border: 1px solid black;
}

.stats-head {
  font-size: 300%;
  text-align: center;
}

/*	ul {
    text-align: center;
    list-style-position: inside;
}*/

@media screen and (min-height:700px) and (orientation:portrait) {
	.poke-img-width {
		width: 300%;
		object-fit: contain;
	}
}

@media screen and (min-width:700px) and (min-height:700px) {
	.index-blurb {
		font-size: max(1vw, 20px);
	}
}

@media screen and (max-width:700px) and (orientation:portrait) {
	.table-font {
		font-size: 9px;
	}
}

@media screen and (max-width:700px) and (orientation:portrait) {
	.table-name-font {
		font-size: 1.6vw;
		color:#E8EAEC;
	}
}

@media screen and (max-width:700px) and (orientation:portrait) {
	.thead-font {
		font-size: 8px;
	}
}

#form_contents {
  font-size: max(1vw, 12px);
  width: fit-content;
  block-size: fit-content;
}

#col_link {
	font-size: max(1vw, 12px);
}

#match {
	font-size: max(1vw, 25px);
}

#ID {
	font-size: max(1vw, 12px);
}

#Name {
	font-size: max(1vw, 12px);
}

.poke-select-form {
  margin-top: 50px;
}

.poke-error {
  padding-top: 25vh;
  color:#E8EAEC;
  margin: auto;
  text-align: center;
}

.poke-form-btn {
  margin: 10px;
  padding: 5px 5px 5px 5px;
  background: rgb(241,200,82);
  border: 1px solid rgb(241,200,82);
  border-radius: 5px;
}

.poke-select-btn {
  margin-top: 10px;
  padding: 5px 30px 5px 30px;
  background: rgb(241,200,82);
  border: 1px solid rgb(241,200,82);
  border-radius: 5px;
}



/* -------------------- */
/* ART GALLERY PAGE CSS */
/* -------------------- */

#gallery {
	width: 100%;
  margin: 10px auto;
  text-align: center;
  max-width: 1500px;
}

#gallery img {
  width: 400px;
  height: 400px;
  border-radius: 3%;
  object-fit: cover;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-gap: 1.5rem;
  margin: 0px 30px 100px 30px;
}

.gallery-container a {
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 3%;
  padding: 15px;
  font-size: 1.3rem;
}

.gallery-container #img-div {
  background: black;
  color: white;
  text-decoration: none;
  border-radius: 3%;
  padding: 15px;
  font-size: 1.3rem;
}


@media only screen and (max-width: 1380px) {
	.gallery-container {
		grid-gap: 1rem;
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}
  #gallery img {
  width: 250px;
  height: 250px;
  border-radius: 3%;
  object-fit: cover;
}
}

.gallery-container a p {
  margin: auto;
  padding-top: 10px;
}


/* -------------------- */
 /* PORTFOLIO PAGE CSS */
/* -------------------- */

 /* Dropdown Button */
.dropbtn {
  background-color: var(--portfolio-header-color);
  color: white;
  border: none;
  text-decoration: underline;
  cursor: pointer;
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
  background-color: var(--portfolio-header-color);
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  font-family: Monaco, sans-serif;
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--portfolio-header-color);
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  font-family: Monaco, sans-serif;
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.show {display:block;} 

#portfolio-main-doc {
  background:var(--portfolio-body-color);
  color: var(--portfolio-text-color);
  font-family: Monaco, sans-serif;
}

#portfolio-navbar {
  position: fixed;
  width: 100vw;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px 10px 30px;
  top: 0;
  background: var(--portfolio-header-color);
}

#portfolio-logo img {
  border: 1px solid rgb(16,20,26);
  border-radius: 150px;
}

#portfolio-navbar ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
}

#portfolio-navbar ul li {
  padding: 0px 30px 0px 30px;
}

#portfolio-main-doc a {
  color: var(--portfolio-text-color);
}

@media (max-width:900px) {
  #portfolio-navbar {
    flex-direction: column;
  }
  #portfolio-navbar ul {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0px;
  }
  #portfolio-welcome-section {
    margin-top: 50px;
  }
  #portfolio-logo {
    justify-content: center;
    align-items: center;
  }
}

@media (max-width:1500px) {
  #portfolio-header-img {
    width: 100px;
  }
}

#portfolio-logo {
  display: flex;
  width: 50%;
}

#portfolio-header-img {
  max-width: 200px;
  max-height: 200px;
}

#portfolio-welcome-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  text-align: center;
  font-size: 2rem;
  background: linear-gradient(var(--portfolio-header-color) 30%, var(--portfolio-body-color) 100%);
}

#portfolio-projects {
  width: 100%;
  margin: auto;
  text-align: center;
  max-width: 1500px;
}

.portfolio-project-tile img {
  width: 100%;
  border-radius: 3%;
  object-fit: cover;
}

#portfolio-projects h1 {
  margin: auto;
  padding-top: 150px;
  padding-bottom: 30px;
}

#portfolio-projects h2 {
  margin: auto;
  padding-top: 50px;
  padding-bottom: 30px;
  text-decoration: underline;
}

#portfolio-projects h3 {
	padding-bottom: 20px;
}

.portfolio-project-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 300px));
  grid-gap: 3rem;
  margin: 0px 30px 100px 30px;
}

.portfolio-project-container a {
  background: var(--portfolio-header-color);
  text-decoration: none;
  border-radius: 3%;
  padding: 10px;
  font-size: 1.3rem;
  max-width: 300px;
}

.portfolio-project-container a p {
  margin: auto;
  padding-top: 10px;
}

@media (max-width:1200px) {
  .portfolio-project-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: auto;
  }
  .portfolio-project-tile {
    width: 75%;
    margin: auto;
    padding: 0px;
  }
  #portfolio-js-heading  {
	padding-top: 100px;
	padding-bottom: 10px;
}
}

.fa {
  text-decoration: none;
  padding: 20px;
}

#portfolio-contacts {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  margin: auto;
  padding: 250px 0px 100px 0px;
}

#portfolio-contacts a span {
  font-size: 2rem;
  padding-left: 10px;
}

#portfolio-footer {
  border-top: 1px solid var(--portfolio-text-color);
  padding: 10px 0px 10px 50px;
}

#portfolio-footer p {
  margin: 0px;
}

/* art gallery modal */

 /* Style the Image Used to Trigger the Modal */
#img {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#img:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  /* padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

#modal-img-cont {
  margin: auto;
  max-width:50vw;
  max-height: 100vh;
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
/*  width: 50%;*/
  max-height: 100vh;
  object-fit: contain;
  background-color: rgba(0,0,0,0.0); /* Black w/ opacity */
/*  margin-top: 100px;*/
}

@media (max-width: 700px) {
  #modal-img-cont {
    max-width: 100vw;
  }
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}