/*body of page*/
body {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  background-color: #ffffff;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  align-items: center;
  justify-content: center;
  align-content: center;
}
* {
  box-sizing: border-box;
}
/* container to keep margins & content centered*/
.flex-container {
	  display:flex;
    flex-wrap:wrap;
    max-width: 850px;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin: auto;
  }  
/* controls default grid layout when desktop or tablet screen */
.grid-container {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) minmax(200px, 2fr);
  padding: 10px;
	width:100%;
  height: auto;
  object-fit: contain;
  justify-content: center;
  align-content:space-evenly;
  align-items: center;
  column-gap:10px;
  min-width: 0;
} 
/* logo and nav bar links */
.logo-navbar {
  grid-area: 1 / 1 / 1 / 1;
  font-size: clamp(.8rem, 1.5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  min-width: 0;
  flex-basis: 300px;
  max-width: 100%;
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  align-content: center;
  margin-bottom: 20px;
}
.logo-navbar-img {
  vertical-align: center;
  padding: 10px;
  width: 100%;
  max-width: 100%;
}
.page-links {
  display: flex;
  flex-wrap: wrap;
  font-family: 'Lucida Sans Unicode', 'Lucida Grande','Tahoma', 'Geneva', sans-serif;
  font-size: clamp(.75rem, 1vw, 1.5rem);
  list-style-type: none; 
  align-items: center;
  justify-content:center;
  align-content:center;
  text-align: center;
}
li a {
  text-decoration: none;
  color: black;
  padding: 1dvw;
  font-weight: bold;
}
li a:link, a:visited, a:active {
  text-decoration: none;
  color: black;
}
li a:hover {
  text-decoration: none;
  color: rgb(200,5,5);
}

/*controls SLIDESHOW at top of page */ 
.top-slideshow {
  grid-area: 1 / 2 / 1 / 2;
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
  flex-shrink: 1;
  align-items: center;
  justify-content: center;
  align-content:center;
  margin: auto;
  width: 90%;
	max-width:90%;
  height: auto;
  min-width: 0;
  object-fit: contain;
  margin-bottom: 25px;
}
.rounded {
  object-fit: cover;
  aspect-ratio: 16 / 9;
  border-radius: 25px;
  border: 5px solid black;
}

/* controls layout of page content */
.main-content {
  grid-area:  2 / 1 / 2 / 3;
  display: flex;  
  border: solid;
  border-width: 4px;
  border-radius: 25px;
  border-color: black;
  padding: min(5em, 3%); 
  max-width: 100%;
  min-width:0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content:center;
  text-overflow: hidden;
  text-align: justify;
}
.about-width {
  max-width: 100%;
  margin-left: 20%;
  margin-right: 20%;
}



/* controls RESPONSIVE LAYOUT for MOBILE ONLY */
@media only screen and (max-width: 600px) {
.grid-container {
  display: grid;
  grid-template-columns: 1fr;
}
.logo-navbar {
  grid-area:  2 / 1 / 2 / 1;
  display: flex;
  flex-basis: 180px;
  width: 100%;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  align-content:center;
  align-self: center;
  padding-left: 5px;
  padding-right: 5px;
}
.page-links {
  display: flex;
  /* flex-wrap: wrap; */
  font-family: 'Lucida Sans Unicode', 'Lucida Grande','Tahoma', 'Geneva', sans-serif;
  font-size: 1rem;
  list-style-type: none; 
  align-items: center;
  justify-content:center;
  align-content:center;
  text-align: center;
}
.top-slideshow {
  grid-area:  1 / 1 / 1 / 1;
    text-align: center;
    max-width: 350px;;
}
/* Displaying logo too big but fix later */
.logo-navbar-img {
  vertical-align: center;
  width: 70%;
  max-width: 300px;
  flex-shrink: 1;
}
.main-content {
  grid-area:  3 / 1 / 3 / 1;
  display: flex;  
  border: solid;
  border-width: 4px;
  border-radius: 25px;
  border-color: black;
  padding: min(5em, 3%); 
  min-width:350px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content:center;
  text-overflow: hidden;
  text-align: justify;
}
/* FIX the non centering of GRID ISSUE */
.project-content {
  grid-area:  3 / 1 / 3 / 1;
  display: flex;  
  padding-left: min(5em, 3%); 
  padding-right: min(5em, 3%); 
  width: 100%;
  max-width: 100%;
  min-width:350px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content:center;
  text-overflow: hidden;
  text-align: justify;
  border-width: 4px;
  border-radius: 25px;
  border-color: white;
}
/* .project-box {
  display: flex;
  flex:100%;
  max-width: 100%;;
} */
/* .project-box-column {
  flex: 100%;
  max-width: 100%; 
  align-items: flex-start;

} */
.proj-row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
}
.proj-col {
  -ms-flex: 100%;
  flex: 100%;
  max-width: 100%;
  columns: 300px 1;
  padding: 0 4px;
  
}

#proj-item0 {
  order: 2;
}
#proj-item1 {
  order: 0;
}
#proj-item2 {
  order: 3;
}
.about-width {
max-width: 100%;
margin-left: 2%;
margin-right: 2%;
}

}



/* General TEXT and LINK style*/
  h1 {
    font-size: 1.5rem;
    color: rgb(150, 6, 6);
  }
  h2 {
    font-size: clamp(.2rem, calc(2vw + 1 rem), 1.25rem);
    text-align: left;
  }
  h3 {
  font-size: clamp(.1rem, calc(2vw + 1 rem), 1rem);
  }

  .content-text {
  display: inline-block;
  text-align:left;
  font-size: 1rem;
  flex-direction: column;
  color:black;
  }
  .content-text a:link, a:visited, a:active {
  color: rgb(91, 39, 39);
  font-weight: bold;
  text-decoration: none;
  display: inline;
  margin: 0;
  } 
 .content-text a:hover {
  font-weight: bold;
  text-decoration: none;
  color: rgb(200,5,5);
  margin: 0;
  display: inline;
  }
  
/* TABS style for content box*/
  .tab {
    overflow: hidden ;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: center;
    align-content: center;
    border: none;
    height: 50px;

  }
  .tab button {
    background-color: inherit;
    border-radius: 5px;
    border-color: white;
    color: black;
    display: flex;
    justify-content: space-between;
    text-align: center;
    outline: none;
    row-gap: 10px;
    transition: 0.3s;
  }
  .tab button:hover {
    color: rgb(200,5,5);
  }
  .tab button.active {
    background-color: #dfdcdc;
  }
  .tabcontent-text {
    display: inline-block;
    text-align:left;
    font-size: clamp(.5rem, .75rem, 1rem);
    flex-direction: column;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    }
  .tabcontent {
    display:flex;
    flex-direction: column;
    width: 100%;
    padding: 10px;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    text-align: justify;
  } 
  .tabcontent-text a:link, a:visited, a:active {
    color: black;
    text-decoration: none;
    display: inline;
    margin: 0;
  }
.tabcontent-text a:hover {
  text-decoration: none;
  color: rgb(200,5,5);
  margin: 0;
  display: inline;
  }

/*IMAGE styling in main content box*/
.content-image {
  display: flex;
  align-items: center;
  justify-content: center;
  align-content:center;
  max-width:80%;;
  max-height: auto;
  border: 2px solid black;
}

/* content-box for PROJECTS */
.project-content {
  grid-area:  2 / 1 / 2 / 3;
  display: flex;  
  flex-direction: column;
  max-width: 100%;
  /* width:100%; */
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content:center;
  min-width:0;
  padding-left: min(5em, 3%); 
  padding-right: min(5em, 3%); 
  border-width: 4px;
  border-radius: 25px;
  border-color: white;
}

.project-box {
  display: flex;
  width: 100%;
  max-width: 100%;
  /* min-width: 220px; */
  flex-wrap: wrap; 
  align-items: flex-start;
  justify-content: center;
  align-content:center; 
  flex-basis: 400px; 
  border: 4px solid black;
  border-radius: 25px;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 20px;
  break-inside: avoid-column;
}

.proj-row{
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
  margin: 0;
}

.proj-col{
  columns:  350px 2;
  /* -ms-flex: 100%; */
   /* IE10 */
  flex: 100%;
  max-width: 100%;
  padding: 0 4px;
  column-gap: 30px;
}

.project-img {
  border: 1px solid black;
  width: 100%;
  margin-bottom: 20px;
}
.project-text {
  color: rgb(0, 0, 0);
  text-align: justify;
  padding:10px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: .75rem;
}
.project-box a:link, a:visited, a:active {
  color: rgb(91, 39, 39);
  text-decoration: none;
  display: inline;
  margin: 0;
}
.project-box a:hover {
text-decoration: none;
color: rgb(200,5,5);
margin: 0;
display: inline;
}
  
#proj-item0 {
  order: 0;
}
#proj-item1 {
  order: 1;
}
#proj-item2 {
  order: 2;
}
#proj-item3 {
  order: 3;
}
#proj-item4 {
  order: 4;
}
#proj-item5 {
  order: 5;
}
#proj-item6 {
  order: 6;
}

  /* Styling for proj Slideshow  */
.proj_Slides {display: none}
/* proj Slideshow container */
.project-slides-container {
  max-width: 300px;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.slide-text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
