/* CUSTOM FONT */
@font-face {
  font-family: 'TKindred';
  src: url('./assets/custom/TANKINDRED-Display.otf') format('opentype'),
       url('./assets/custom/TANKINDRED-Display.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
/*default all elements to have a margin/padding value of 0*/
*{
  margin: 0px;
  padding: 0px;
  font-family: "Monaco", Monospace;
  color: #2A282C;
}

/* STYLE SECTIONING TAGS */
body {
  /*image created with Colorffy's Mesh Gradient generator, implemented with the help of Copilot & W3Schools*/
  /*background-image: url("assets/background.png");*/
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #F4F1DE;
}
main{
  text-align: center;
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 10%;
  margin-left: 10%;
  
}
section {
  border-style: groove;
  border-radius: 20px;
  background-color: #73947f;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px;
}
.subSection {
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: #AE9797;
}

/* GENERAL TEXT STYLING */
h1 {
  font-family: 'TKindred', sans-serif;
  font-size: 2.5em;
  color: #3D405B;
  text-shadow: 2px 2px #d2ccb6;
  padding: 10px;
}
.sectionTitle {
  font-size: 1.5em;
  margin: 10px;
  padding: 0px;
  text-shadow: 2px 2px #F4F1DE;
}
h3 {
  padding: 10px;
}
p {
  padding: 10px;
}
.leftText {
  text-align: left;
  margin-left: 20px;
}
.rightText{
  text-align: right;
}
.centerText{
  text-align: center;
}
button{
  background-color: #F4F1DE;
  border-radius: 15px;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}
button:hover {
  background-color: #d2ccb6;
}

/* FOOTER */
.footer {
  text-align: center;
}
.contactInfo {
  display: flex;
  justify-content: center;
}
.footerText {
  font-size: 0.6em;
}
.footerFineText {
  font-size: 0.4em;
}
.contactIcon {
  width: 20px;
  height: auto;
  margin-left: 10px;
  margin-right: 10px;
  
}
.contactIcon:hover {
  transform: scale(1.25);
  transition: transform 0.2s ease-in-out;
}

/* STYLE NAV BAR */
#navBar{
  display: flex;
}
#navUL {
  display: flex;
  list-style: none;
  align-items: center;
  padding:15px;
  margin-bottom:5px;
}
.navTab {
  display: inline;
  color:#2A282C;
}
.navTab a {
  text-decoration: none;
  font-size: 1.0em;
  padding: 10px;
  margin-left: 10px;
  margin-right: 10px;
  transition: 0.2s;
}
.navTab a:hover {
  background-color: #d2ccb6;
  border-radius: 15px;  
}
#classLogo{
  display:flex;
  height: 35px;
  width: auto;
  transition:0.2s;
  margin-right: 10px;
}
#classLogo:hover{
  transform: scale(1.25);
  margin-right: 20px; /* adds animation to "slide" rest of bar further to right */
}

/* HOME */
#introBox {
  position:relative;
  display: flex;
  justify-content: right;
  align-items: center;
  width: 100%;
  height: 500px;
  overflow: hidden;

}
.introImg {
  position:absolute;
  top: 0;
  left: 0;
  z-index: 0;
  background-image: url("./assets/castle.jpg");
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  transition: filter 0.2s ease-in-out;
}
#introBox:hover .introImg {
  filter: blur(5px);
}
#introBox h1 {
  font-family: 'TKindred', sans-serif;
  font-size: 2em;
  font-weight: normal;
  color: #F4F1DE;
  text-shadow: 3px 3px #3D405B;
  text-align: left;
  padding-right: 50px;
  z-index: 1;
}
#fakeIDE {
  display: flex;
  margin-top: 10px;
}
#codeSide {
  color: #F4F1DE;
  width: 60%;
  height: auto;
  background-color: #2A282C;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 15px;
}
#codeSide:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
}
#consoleSide {
  color: #F4F1DE;
  background-color: #3D405B;
  width: 40%;
}
#consoleSide:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
}
.codeLine {
  margin: 0px;
  padding: 0px;
  color: #F4F1DE;
  text-align: left;
}
.codeLink {
  display:block;
  text-align: left;
  text-decoration-line: none;
  margin: 0px;
  padding: 0px;
  color: #F4F1DE;
}
.codeLink:hover {
  background-color: #3D405B;
}
#translatable {
  color: #F4F1DE
}
#translateButton {
  margin-left: auto;
  margin-right: auto; 
}

/* ABOUT ME */
section li{
  padding-left: 20px;
  text-align: left;
  display: block;
}
section ul {
  list-style-type: disc;
  padding-left: 40px;
  text-align: left;
}
section p {
  text-align: left;
}
.galleryContainer {
  display: flex;
  flex-wrap: wrap; 
  gap: 6px;
  justify-content: center;
  align-items: flex-start;
}
.gallery {
  box-sizing: border-box;
  display: inline-block;
  vertical-align: top;
  margin: 3px;
  border: 2px groove #ffffff;
  background-color: #AE9797;
  border-radius: 20px;
  width: 20%;
  max-width: 170px;
  height: auto;
}
.galleryDesc {
  display: none;
  margin: 5px;
  padding: 5px;
  font-size: 0.6em;
}
.gallery:hover .galleryDesc{
  display: block;
}

.galleryImg {
  margin: auto;
  width: 90%;
  max-width: 150px;
  height: auto;
  margin-left: 5%;
  margin-right: 5%;
  margin-top: 11%;
  margin-bottom: 7%;
  border-radius: 15px;
}
#myBag {
  background-color: #d2ccb6;
  border-radius: 15px;
  border-width: 2px;
  border-style: groove;
  margin-top: 29px;
  padding: 20px;
}
#myBag h1 {
  font-size: 1.5em;
  margin: 5px;
}
#bag {
  width: 50%;
  margin: auto;
  padding: 10px;
  transition: transform 0.2s ease-in-out;
}
#bag:hover {
  transform: scale(1.1);
  cursor: pointer;
}
.bagItem {
  display: none;
  padding: 5px;
  transition: transform 0.2s ease-in-out;
}
.bagItem:hover {
  transform: scale(1.1);
  cursor: pointer;
}
#bagItemInfo {
  min-height: 50px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  background-color: #F4F1DE;
  font-size: 0.5em;
}
#myBagSection li {
  text-shadow: none;
  font: 0.8em 'Monaco', monospace;
  margin: 0px;
  padding: 0px;
}
#myBagSection {
  padding: 20px;
  background-color: #d2ccb6;
}
#allItems {
  display:flex;
}
#clickableItemArea {
  background-color: transparent;
  border-style: none;
  width: 100%;
  display: grid;
  padding: 25px;
  align-items: center;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 100px);
}
#waterbottle{
  height: 100%;
  width: auto;
  grid-column-start: 4;
  grid-column-end: 6;
  grid-row-start:3;
  grid-row-end: 5;
}
#glasses {
  height: 75%;
  width: auto;
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 3;
  grid-row-end: 5;
}
#phone {
  height: 90%;
  width: auto;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 3;
}
#headphones {
  height: 100%;
  width: auto;
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 3;
  grid-row-end: 5;
}
#project {
  height: 100%;
  width: auto;
  grid-column-start: 3;
  grid-column-end: 6;
  grid-row-start: 1;
  grid-row-end: 3;
}
#wallet {
  height: 65%;
  width: auto;
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
}
#lanyard {
  height: 70%;
  width: auto;
  grid-column-start: 5;
  grid-column-end: 6;
  grid-row-start: 3;
  grid-row-end: 5;
}


/* PORTFOLIOS */
.descriptionAndView {
  display: flex;
  align-items:center;
  justify-content: center;
}
.description {
  width: 80%;
  text-align: left;
  margin-left: 10px;
}
.contentViewDropDown {
  width: 20%;
}
.contentViewButton {
  margin: 0px;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.contentViewOptions {
  display: none;
  text-align: center;
}
.contentViewDropDown:hover .contentViewOptions {
  display: block;
  cursor:pointer;

}
.contentViewOptions a {
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: 15px;
  padding:5px;
  margin-top: 5px;
  width: 75%;
}
.contentViewOptions a:hover {
  background-color: #d2ccb6;
  cursor: pointer;
}

.projectCard {
  transition: transform 0.3s ease-in-out;
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  text-align: center;
}
.projectCard:hover {
  background-color: #8caa98;
  transform: scale(1.025);
}
.link {
  border-color: #B4C3AF;
  border-width: 2px;
  border-style: double;
  border-radius: 10px;
  padding: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  height: fit-content;
}
.link:hover, .link:active {
  background-color: #B4C3AF;
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
  cursor: pointer;
}
.portfolioImg {
  display: block;
  margin: auto;
  max-width: 50%;
  height: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
}
.projectName {
  font-size: 1.2em;
  text-shadow: 2px 2px #F4F1DE;
  /* white-space: nowrap;
  text-overflow: ellipsis; 
  overflow: hidden; */
}
.projectTime {
  display: block;
  text-align: left;
}
.projectDesc {
  display: block;
  text-align: left;
  height: 100%;
  width: 100%;
}
/* code adapted from W3Schools example/tutorial*/
