/*
Theme Name: Thoor 23
Theme URI: https://wwww.marioblum.com
Author: Mario Blum
Author URI: https://wordpress.org/
Description: WordPress Hybrid Theme 
Requires at least: 5.9
Tested up to: 6.3
Requires PHP: 8.0
Version: 1.0
Text Domain: thoor23
*/

/* page-home.php */

.random-image {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100vh;
  position: absolute;
}

.overlay {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: none; /* Button background color */
}

.enter-button{
    padding: 10px 20px;
    font-size: 16px;
    background-color: #FFF; /* Button background color */
    color: black; /* Button text color */
    border: 1px solid black;
    cursor: pointer;
      font-family: shackleton, serif;
  font-weight: 400;
  font-style: normal;

}

/* attachment.php */

.image-container-full {
  width: calc(100% - 0px); 
  transition: width 0.3s ease; /* Add a smooth transition effect when resizing */
}

.image-container-full img {
  width: 100%; /* Ensure the image takes up the full width */
  height:auto;
} 

#closeButton {
  position: fixed;
  right: 25px;
  top: 25px;
  z-index: 2;
  cursor: pointer;
}
.closeIcon {
  width: 1.8rem;
  height: 1.4rem;
  display: block;
}
.closeIcon span {
  display: block;
  position: absolute;
  height: 5px;
  width: 100%;
  background: #000000; 
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}
.closeIcon span:nth-child(1) {
  top: 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
} 

.closeIcon span:nth-child(2) {
  bottom: -3px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}

/* category.php ++++++ single.php +++++ attachment.php */

#panel-right{
  z-index:10 !important; 
  width:86px; 
  position:fixed; 
  right:0; 
  top:0;
  border-left:1px solid black; 
  height:100vH; 
  padding-top:60px; 
  padding-left:10px; 
  background: #FFF;
}

/*  +++++++++++ category.php +++++++++++++  */

.checkbox-label {
  display: inline-block;
  margin-right: 10px;
}

.checkbox-label {
  display: flex;
  align-items: center; 
  height:40px;
  border-top: 1px solid black;

}

.filter-button {
  margin-top: 40px;
  background: none;
  border: 2px solid black;
  padding: 10px 10px;
  color: black;
  cursor: pointer;
  border-radius: 0px;
  font-size: 1rem;
}

.filter-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #000;
  position: relative;
  margin-right:10px; 
}

.filter-checkbox::before {
  content: '\2713';
  font-size: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  display: none;
}

.filter-checkbox:checked::before {
  display: block;
}

.filter-checkbox:checked::before {
  display: block;
}

.sliding-div {
  transition: right 0.5s; 
  cursor: pointer;
}

.sliding-div{
  width:calc(250px + 84px); 
  background:#FFF; 
  height: auto;
  flex-direction: row-reverse; 
  position:fixed; 
  right:-320px; 
  top:80px; 
  z-index:1; 
  padding-top:50px; 
  padding-bottom: 30px;
  padding-left:20px; 
  padding-right:120px; 
  border-left:1px solid black; 
  border-bottom:1px solid black; 
  border-top:1px solid black; 
  z-index:2
}

#filter-toggleButton {
  position: fixed;
  right: 10px;
  top: 10px;
  z-index: 2;
  cursor: pointer;
}

/* Filter Button */
.filterIcon {
  width: 1.8rem;
  height: 1.4rem;
  display: block;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  box-sizing: border-box;
  margin-right:15px;
  margin-top:15px;
}

/* Line Style */
.filterIcon span {
  display: block;
  position: absolute;
  height: 5px;
  width: 100%;
  background: #000000;
  border-radius: 0px;
  opacity: 1;
  z-index: 0;
    
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
    
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
    
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

/* Circle Style */
.filterIcon span::after {
  display: block;
  position: absolute;
  height: 0.25rem;
  width: 0.25rem;
  background: #FFFFFF;
  border-radius: 50%;
  border: 3px solid #000000;
  opacity: 1;
  z-index: 5;
  top: -70%;
  content:"";
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

/* Filter State - Panel Closed */
.filterIcon span:nth-child(1) {
  top: 0;
} 
.filterIcon span:nth-child(1)::after {
  left: 15%;
}
.filterIcon span:nth-child(2) {
  top: 40%;
} 
.filterIcon span:nth-child(2)::after {
  left: 60%;
} 
.filterIcon span:nth-child(3) {
  bottom: 0;
} 
.filterIcon span:nth-child(3)::after {
  left: 30%;
} 

/* Closed State - Panel Open */
.filterIcon.open span::after {
  opacity: 0;
}
.filterIcon.open  span:nth-child(1) {
  top: 0;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.filterIcon.open  span:nth-child(1)::after {
  left: 0%;
  
} 
.filterIcon.open  span:nth-child(2) {
  opacity: 0;
} 
.filterIcon.open  span:nth-child(2)::after {
  left: 15%;
} 
.filterIcon.open span:nth-child(3) {
  bottom: -2px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
} 
.filterIcon.open span:nth-child(3)::after {
  left: 0%;
} 


/* Masonry Container */
.masonry-ordered {
  width: calc(100% - 150px); 
  margin-left:80px;
  margin-right:70px;
  z-index:0;
  padding-top:25px;
  opacity: 0; 
  visibility: hidden; 
}

/* Masonry Item */
.masonry-item-ordered-move:nth-child(odd) {
  transform: translateY(0px); /* Initially push items down by 20px */
  transition:  transform 1.1s;
}

/* Masonry Item */
.masonry-item-ordered-move:nth-child(even){
  transform: translateX(110px); /* Initially push items down by 20px */
  transition:  transform 1.1s;
}
/* Masonry Item */
.masonry-item-ordered-move:nth-child(4n){
  transform: translateY(0px); /* Initially push items down by 20px */
  transition:  transform 1.1s;
}
/* Masonry Item */
.masonry-item-ordered-move:nth-child(7n){
  transform: translatex(0px); /* Initially push items down by 20px */
  transition:  transform 5.1s;
}

/* Masonry Item */
.masonry-item-ordered-move img{
  width: 100%; /* Each item spans the full width of the column */
  height: auto;
}

.clear{
  clear:both;
}

.masonry-item-ordered-move.visible:nth-child(odd) {
  transform: translateY(0);
}

/*  ++++++++++ single.php ++++++++ */



main{
  padding-left:60px;
  padding-right:60px;
  margin-top:0;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index:0;

}

.left-content {
  position: relative;
  width: calc(50% + 0px);
  height: 100vH;
  /* transition: transform 0.1s;  Apply a transition to the transform property */
  /* transform: translateY(525px);  Initial position, not shifted */
}

.left-content img {
  position: absolute;
  max-width: 85%;
  max-height: 70%;
  top: 50%;
  left: calc(50% + 10px);
  transform: translate(-50%, -50%);
  height: auto;
  width: auto;
}

#magnifier {
  /* Your fixed position styles for the container */
  position: fixed;
  bottom: 30px;
  right: 42px;
  z-index: 100;
}

#magnifier-icon {
  width: 24px; /* Initial width */
  height: 24px; /* Initial height */
  cursor: pointer;
}

.dashicons-plus {
  font-size: 2rem !important;
  cursor: pointer;
}

@keyframes pulse {
  0% {
    transform: scale(1); /* Initial scale (100%) */
  }
  50% {
    transform: scale(1.25); /* Scale up to 120% */
  }
  100% {
    transform: scale(1); /* Return to initial scale */
  }
}

.pulse {
  animation: pulse 1.5s linear infinite; /* 2s duration, infinite loop */
}


.right-content{
  width: calc(50% - 0px); 
  border-left: 1px solid black;
  height:100vH;
  position: absolute;
  left:calc(50% + 0px);
}

.caption {
  width:50%; 
  position:relative; 
  top:33%; 
  text-align: left; 
  padding:0 0px;  
  margin:auto auto; 
  height:auto;
  transition: transform 1s; /* Apply a transition to the transform property */
  transform: translateY(0); /* Initial position, not shifted */
}

.caption.shifted {
  transform: translateY(5px); /* Move down by 5 pixels */
  animation: oscillate 2s infinite alternate; /* Create an oscillating animation */
}

.next-button {
  position: absolute;
  right:  30px;
  top: 20px;
  margin-left: auto;
  margin-right: 0px;
  font-size: 32px;
  z-index:100;
}

.prev-button {
  position: absolute;
  right:116px;
  top: 20px;
  margin-left: auto;
  margin-right: 0px;
  font-size: 32px;
  transform: scaleX(-1);
  z-index:100;
}

.mirror{
  transform: scaleY(-1); /* mirror */
}

/*
.square-container.shifted {
  transform: translateY(-5px);
  animation: oscillate 15s infinite alternate; 
}
 */


/*  vita.php  */

.left-content-page{
  position:fixed;
  width: calc(50% - 120px);
  padding: 0px 0 0 90px;
  bottom:15px;

}
.right-content-page{
  margin-left:50%;
  margin-right:0%;
  padding: 30px 20px 15px 80px;
  border-left: 1px solid #000;
  min-height: 100vH;
  height:auto;
}

.top-padding-none {
  padding-top: 0px !important;
  margin-top:-10px !important;
}

.row:last-child{
  border-bottom:1px solid black;
}

.table-row {
  display: flex;
  margin-bottom: 20px;
  width:100%;
}
.table-row:first-child {
  border-bottom: 1px solid #000; 
}
.table-cell {
  padding: 0; 
}
.year {
  flex: 0 0 60px; 
  margin-top: 4px;
}
.title, .textfield {
  flex: 1; 
}

ul.post-categories  {
  display: flex;
  list-style: none;
  padding:0;
  margin:0;
}

.post-categories li{
  border: 1px solid black;
  border-radius: 25px;
  font-size: 12px;
  text-align: center;
  margin-right: 5px;
  margin-top: 25px;
  padding: 3px 15px;
  display: inline; /* Set the display to inline */
}

.underline-arrow-link a {
  text-decoration: underline !important;
  text-underline-offset: 0.2em !important;
  padding-right:0px;
}

.underline-arrow-link a:after {
  /*content: '\2192';*/
}

.underline-link a {
  text-decoration: underline !important;
  text-underline-offset: 0.2em !important;
}



.prev-dash{
    content: "\f341";
    font-family: "dashicons";
    font-size: 16px;
    font-weight: 600;
    margin-right: 5px;
}

* {
  outline: none;
    box-sizing: border-box;
}

html, body {
  font-family: "winco", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
 line-height: 1.4rem;
 margin:0;
}

a,
a:visited,
a:focus,
a:active,
a:link {
  text-decoration: none;
  outline: 0;
  color:black;
}

a {

  cursor: pointer;
}



h1, h2, h3, h4 {
  font-family: shackleton, serif;
  font-weight: 400;
  font-style: normal;
}

h1{
  font-size: 1.75rem;
  line-height: 1.95rem;
  margin:0 0 16px 0;
}

h2{
  font-size: 1.50rem;
  line-height: 1.75rem;
  margin:0;
}

h2.category{

  margin-top: 0px; 
  margin-bottom: 0px; 
  padding: 10px 0px 15px 0px;
}

h3{
  font-size: 1.2rem;
  line-height:1.5rem;
}


p{
 
}

strong {
  font-weight: 600;
}

ul {
  padding:0;
  list-style: none;
}

/* GLOBAL STRUCTURE */
.clear {
  clear: both;
  height: auto;
}

/* ARCHIVE */
.spinner {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}
