/*
Theme Name: antmantm
Author: Antman
Description: A custom theme built from scratch by antman
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: my-custom-theme
*/

/* daves color #af3c22*/

/* ######## General ######## */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Roboto+Slab:wght@100..900&display=swap');
:root{
  --max-width: 1300px;
  --reflect-padding: 8px;
  --hr-color: rgba(31, 68, 255, 0.293);
  --nav-color:#2a2a2a;
  --nav-text-color:rgb(226, 226, 226);
  --text-color:rgb(226, 226, 226);
  --main-bg-color:#2a2a2a;
  --color1:#25d96c;
  --color2:#32e7ef;
  --arch-page-singles: #1a1a1a  ;
  --reflect-color-nav:#777;
  --reflect-color:#777;
}

html,body{
  /* background: linear-gradient( var(--color2),var(--color1)); */
  background: var(--main-bg-color);
  margin:0;
  font-family:"Roboto Slab",'Courier New', Courier, monospace;
  color:var(--text-color);
}
h1,h2,h3,h4,h5,p{
  margin:0;
}
h1{
  font-size:60px;
  padding-bottom: 32px;
}
h2{
  font-size:40px;
}
a,a:hover{
  color:inherit;
  text-decoration: none;
}



/* #### reusable #### */
.align-center{
  text-align: center;
}
.align-left{
  text-align: left;
}
.align-right{
  text-align: right;
}
.redacted-title{
  background-color: black;
  transition: background-color 0.5s ease;
}
.main-section-wrapper{
  max-width: var(--max-width);
  margin:auto;
  padding-top: 32px;
  padding-bottom: 32px;
  padding-right: 32px;
  padding-left: 32px;
}
.blackhr{
  background-color:var(--hr-color);
  color:var(--hr-color);
  border:0;
  height: 2px;
  margin-bottom: 32px;
}
.single-item{
  padding: 16px;
}


/* ######## Nav ######## */
.nav_wrapper{
  width:100%;
  height:100px;
  background:var(--nav-color);
  display: flex;
  color:var(--nav-text-color);
  font-size: larger;
  border-bottom: var(--hr-color) solid 2px;
}
.nav-box{
  padding: 0 32px;
  flex: 1 0;
  max-width: var(--max-width);
  margin:auto;

  display:flex;
  flex-direction: row;

}
.nav-box a{
  padding: 16px var(--reflect-padding);
}
.nav-item:nth-child(1){
  flex:5 2;
  padding: 8px;
}
.nav-item:nth-child(2),
.nav-item:nth-child(3),
.nav-item:nth-child(4),
.nav-item:nth-child(5),
.nav-item:nth-child(6){
  flex:1 2;
  padding: 8px;
  text-align: center;
}

@media screen and (max-width: 750px) {
.nav-item{
  padding: 0;
}

}


.nav_wrapper_mobile{
  display:none;
}
.nav-hamburger{
  padding: 20px 32px;
  flex: 1 0;
  
  display:flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid   var(--hr-color);
}
.nav-hamburger .nav-hamburger-item{
  text-align: center;
}




@media screen and (max-width: 640px) {
  .nav_wrapper{
    display:none;
  }
  .nav_wrapper_mobile{
    display:flex;
    flex-direction: column;
    background:var(--nav-color);
    color:var(--nav-text-color);
    font-size: larger;
    border-bottom: var(--hr-color) solid 2px;
  }
  .nav-box{
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    transition: max-height 0.3s ease-out;
  }
  .nav-box a{
    padding:0;
  }
  .nav-box.open{
    max-height: 600px;
  }
  .nav-item{
    padding:12px !important;
  }
  
}


/* Body */
.main-section-box{
height: 500px;
padding:0 32px;

}

/* homepage title styles */
.main-section-row0 h1{
  padding-bottom: 32px;

}

.main-section-row1{
 display: flex;
 justify-content: center;
 flex-wrap: wrap;
 gap: 0.2em;
}
.reflect{
  font-family: 'Roboto Slab','Courier New', Courier, monospace;
  
}
.main-section-box .reflect {
  padding:0px 16px 8px;
}
/* .reflect:before{
  display: block;
  transform: rotateX(180deg);
  content: attr(reflect);

  background-image:  linear-gradient(270deg, #2b2a33 0%,#2b2a33 95%);
  background-clip: text;
  color:transparent;
  transform: translate(0,40px) scale(1.05);
  z-index: 10px;
} */
 .reflect-padding:after{  display: block;

  padding:0 var(--reflect-padding);
}
.reflect-side{
  text-align: center;
  
}
.reflect-side:after{
  display: inline-block;
  transform: rotateY(180deg);
  content: attr(reflect);
  background-image:  linear-gradient(270deg, var(--reflect-color) 0%,var(--reflect-color) 95%);
  background-clip: text;
  color:transparent;
  pointer-events: none;
  margin-left: 0.4em;
}
.reflect:after{
  display: block;
  transform: rotateX(180deg);
  content: attr(reflect);

  background-image:  linear-gradient(270deg, var(--reflect-color) 0%,var(--reflect-color) 95%);
  background-clip: text;
  color:transparent;
  pointer-events: none;
}


.reflect:hover{
  color:black;
  transition: ease 125ms;
}
.reflect:hover:after{
  color:#ffffffaa;
  transition: ease 125ms;
}

/* ######## musings archive ######## */
.muse-arch-box{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  text-align: center;
}
.muse-arch-item{
  padding-bottom:16px;
}

/* #### modal on musing archive #### */
.open-musing-modal{
	cursor:pointer;
}

#musing-modal{
  height: 100vh;
  width: 100vw;
  position: fixed;
  inset:0px;
  z-index:100;
  background-color: rgba(0, 0, 0, 0.34);
  display: none;
}

#musing-modal-body{
 color:var(--main-bg-color); 
}

.modal-content{
  position: absolute;
  margin: auto;
  max-width: 40%;
  min-width: max(20%,300px);
  padding: 20px;
  top: 50%;
  background: #fff;
  transform: translate(-50%,-50%);
  left: 50%;
	max-height:700px;
}
#close-musing-modal{
text-align: center;
padding: 15px 15px 5px 15px;
color:var(--arch-page-singles);
cursor:pointer;
}


/* ######## art archive page ######## */
.art-arch-box{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap:1.5rem;
}
.art-arch-item{
  background-color: var(--arch-page-singles);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 32px;
  border: 3px solid  var(--hr-color);
  
}
.art-arch-item img{
  object-fit: contain;
  max-width: 100%;
  max-height:350px;
}

.art-arch-item p{
  padding: 16px 16px 0;
}
.art-arch-item h2{
  margin-top:16px;
  text-align: center;
} 

/* #### art single page #### */
.art-single-box{
  /* this class controls alignment of whole box*/
  display:flex;
  justify-content: center; 
  align-items: center;
}
.art-single-item{
  /* this class controls the most child elements*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border:3px solid var(--hr-color)
}
.art-single-item img{
  object-fit: contain;
  max-width: 100%;
  max-height:500px;
}

.art-single-item h1{
  margin-bottom:16px;
}

.art-single-item p{
  margin-bottom:16px;
}

/* ######## Photos Arch Page ######## */
.photos-arch-item h2{
  padding-bottom: 32px;
}

/* #### photo single items #### */
.photos-single-box{
  /* this class controls alignment of whole box*/
  display:flex;
  justify-content: center; 
  align-items: center;

}
.photos-single-item{
  /* this class controls the most child elements*/
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width:100%
}


.photos-single-item h1{
  margin-bottom:16px;
  text-align: center;
}

.photos-single-item p{
  margin-bottom:16px;
}