:root {
  --textColor: red;
  --textSize: 16px;
  --space: 20px;
}

body {
  margin: 0;
  display: flex;
  overflow-x: hidden;
  cursor: default;
  flex-wrap: wrap;
  color: var(--textColor);
  border-color: var(--textColor);
}

.layout{
  display: flex;
  flex-wrap: nowrap;
}

.proj-mobile{
  display: none !important;
}

.swiper-pagination-bullet{background-color: white !important; border: 1px solid var(--textColor); opacity: 1 !important; position: relative; bottom: 15px}
.swiper-pagination-bullet-active{background-color: var(--textColor) !important; position: relative; bottom: 15px;}

.project-slide{
  width: 100%;
  height: calc(100vh - 230px) !important;
  height: calc(100dvh - 250px) !important;
  overflow: scroll;
  .project-slide-image{
    width: 100%;
    height: 250px;
    border-bottom: 3px solid var(--textColor);
  }
  img{width: 100%; height: 100%; object-fit: cover; cursor: pointer;}
  video{width: 100%; height: 100%; object-fit: cover;}
}

/*Columns and lines*/
.column,
.column2,
.column3 {
  width: 33.333vw;
  float: left;
  padding-bottom: 20px;
  overflow: scroll;
  
}

.project-frame-B:hover #tooltip{
 display: unset;
}
#tooltip{
  display: none;
  width: fit-content;
  background-color: white;
  border: 2px solid var(--textColor);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
} 

.tooltip{
  font-family: 'adobe-jenson-pro', serif;
  font-weight: 600; font-style: normal;
  padding: 5px;
}

#navigation-mobile-col1{
  margin-top: 0px !important;
}

#title-3{
  width: 141px;
}

.Portfolio-mobile{
    display: none;
  }

#footer-col2-3{
    border-top: 3px solid var(--textColor);
  }

.column3 {
  user-select: none;
}

.line {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--textColor);
  z-index: 10;
  pointer-events: none;
}

.line-1 {
  left: 33.333vw;
}

.line-2 {
  left: 66.666vw;
}

.line-3 {
  right: 0;
}

/*Header elements*/
.nav-bar-1 {
  display: flex;
  justify-content: space-between;
  height: calc(var(--space) * 4);
  margin-left: 20px;
  margin-top: 20px;
  margin-bottom: 0px;
}

.phone-nav-bar {
  margin-top: 0px;
  display: flex;
  gap: 5px;

}

.navigation-tablet{
  display: flex;
  gap: 5px;
  margin: 20px;
  font-family: 'adobe-jenson-pro', serif;
  font-weight: 700; font-style: normal;
}

.phone-nav-bar-elements {
  font-family: "adobe-jenson-pro", serif;
  font-weight: 700;
  font-style: normal;
  margin: 0px;
}

.page-title {
  font-family: 'Ronzino';
  font-weight: 500;
  text-transform: uppercase;
}

.column-title {
  font-family: "adobe-jenson-pro", serif;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
}

.top-bar {
  height: 100px;
  position: relative;
}

.project-intro-bar {
  display: flex;
  flex-wrap: nowrap;
  /* NO wrap tra frecce e testo */
  align-items: flex-end;
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
}

.project-intro-text {
  font-family: 'Ronzino';
  font-weight: 500;
  line-height: 1.2;
  flex: 1 1 auto;
  /* il testo può andare a capo */
  min-width: 0;
  /* per permettere il wrapping */
  white-space: normal;
  /* wrap consentito */
}

.gallery-arrows {
  display: flex;
  flex-shrink: 0;
  /* non si restringe */
  margin-left: auto;
  /* spinge a destra */
  gap: 10px;
  margin-left: 25px;
  margin-top: 13px;
}

.Call-to-action {
  font-family: 'Ronzino';
  font-weight: 500;
  line-height: 1.2;
  position: absolute;
  left: 20px;
  bottom: 20px;
}


/*Frames*/
.project-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  border-style: solid;
  border-width: 3px;
  height: 33vh;
  border-right: none;
  border-left: none;
  margin-top: -3px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.project-frame-B {
  border-style: solid;

  border-width: 3px;
  height: 33vh;
  width: 100%;
  border-right: none;
  border-left: none;
  margin-top: -3px;
  object-fit: cover;
}

.project-image {
  max-height: 95%;
  max-width: 95%;
  object-fit: contain;
  display: block;
  margin: auto;
}

.image-loop {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.loop-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.loop-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*COL 1 Elements*/
.BIO {
  font-family: "adobe-jenson-pro", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 26px;
  margin-right: 40px;
  margin-left: 20px;
  height: 280px;
  padding-top: 10px;
  line-height: 1.1;
}

.Alt-BIO {
  font-family: 'Ronzino';
  font-size: 14pt;
  font-weight: 500;
  margin-left: 20px;
  padding-top: 20px;
}

.bio-wrapper {
  position: relative;
  height: 175px;
}

#funny-bio {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-family: 'Ronzino', sans-serif;
  font-weight: 500;
  font-size: 14pt;
  margin-right: 25%;
  margin-left: 20px;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.Contact {
  font-family: 'Ronzino';
  font-size: 12pt;
  font-weight: 400;
  margin-left: 20px;
  margin-right: 20px;
}

.Portfolio {
  font-family: 'Ronzino';
  font-size: 16px;
  line-height: 1.2;
  text-align: right;
  font-weight: 400;
  margin-left: 20px;
  margin-right: 20px;
}

.Get-in-touch {
  font-family: 'Ronzino';
  font-weight: 700;
  font-style: normal;
  font-size: 12pt;
  margin-left: 20px;
  margin-right: 20px;
  margin-left: 60px;
}

.footer {
  position: fixed;
  background-color: white;
  padding-bottom: 20px;
  padding-top: 5px;
  bottom: 0px;
  width: 33.333vw;
}

.footer3 {
  padding-bottom: 20px;
  background-color: white;
  position: fixed;
  padding-top: 5px;
  bottom: 0px;
  width: 33.333vw;
  font-family: 'Ronzino';
  font-size: 12pt;
  font-weight: 400;
  padding-left: 20px;
  padding-top: 20px;
}

.contacts-wrapper-small {
  background-color: white;
  padding-bottom: 20px;
  padding-top: 5px;
  margin-bottom: 100px;
  bottom: 0px;
  width: 33.333vw;
}

/*COL 2 Elements*/
#latest-frame img {
  max-height: 95%;
  max-width: 95%;
  object-fit: contain;
  transition: opacity 0.2s ease;
  display: block;
  margin: auto;
}

.CD-Blurb {
  font-family: "adobe-jenson-pro", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 21px;
  padding-top: 10px;
  height: 100%;
}

.CD-Title{
  font-family: 'Ronzino';
  font-weight: 500;
  font-size: 11pt;
  line-height: 1;
  height: 15px;
  color: var(--textColor);
}

/*COL 3 Elements*/
.caption {
  font-family: "adobe-jenson-pro", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 21px;
  padding-left: 20px;
  padding-right: 20px;
}

.caption-wrapper {
  height: unset;
  padding-top: 10px;
}

.other-projects-nav{
  display: flex;
  justify-content: space-between;
  vertical-align:baseline;
}

.gallery-dots {
  display: flex;
  justify-content: right;
  flex-direction: row;
  direction: ltr;
  gap: 30px;
  margin-top: 20px;
  margin-right: 40px;
  height: 11px;
}

.gallery-dots .dot {
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
  border: 1px;
  border-style: solid;
  border-color: var(--textColor);
}

.gallery-dots .dot.active {
  width: 6px;
  height: 6px;
  background-color: var(--textColor);
}

/*MISC*/
::selection {
  background-color: black;
  color: white;
  text-shadow: none;
}

/* il contenitore di riferimento deve essere posizionato */
.project-frame-B,
.swiper-slide {      /* includi .swiper-slide se badge è dentro ogni slide */
  position: relative;
}

/* badge ancorato in alto a destra della finestra progetto */
.tap-for-more {
  position: absolute;   /* fondamentale: relativo al .project-frame-B o .swiper-slide */
  top: 0px;
  right: 0px;
  z-index: 1000;
  font-family: 'Ronzino';
  font-size: 13px;
  background: white;
  padding: 6px 8px;
  border: 3px solid var(--textColor);
  border-top: none;
  border-right: none;
  pointer-events: auto;
}
.footer {
  margin-top: 20px;
  padding-top: 20px;
}

.phone-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 70px;
  position: absolute;
  bottom: 0;
  background-color: white;
  width: 100%;
  border: 0px;
  border-top: 3px;
  border-style: solid;
  padding-bottom: 10px;
  padding-top: 10px;
}

#trigger-really:hover {
  font-style: italic;
}

.Link {
  cursor: pointer;
  color: var(--textColor);
}

.Link:hover {
  font-weight: 200;
}

.Link:visited {
  color: var(--textColor)
}

::-moz-selection {
  background-color: black;
  color: white;
}

::-webkit-selection {
  background: black;
  color: white;
}

#arrow-left:hover,
#arrow-right:hover {
  cursor: pointer;
}

/*Import Fonts*/
@font-face {
  font-family: 'Ronzino';
  src: url('Fonts/Ronzino-Medium.woff2') format(woff);
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Ronzino';
  src: url('Fonts/Ronzino-MediumOblique.woff2') format(woff);
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Ronzino';
  src: url('Fonts/Ronzino-Regular.woff2') format(woff);
  font-weight: 400;
  font-style: normal;
}

/* --- RADIO TOGGLE CSS --- */

input[type="radio"] {
  display: none;
}

.navigation{
  width:100vw;
  height: 20px;
  margin:20px;
  margin-bottom: 0px;
}

.navigation-mobile{
  display: flex;
  padding: 20px;
  margin-bottom: 20px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.toggle {
  display: inline-block; 
  margin: 20px;
}

 .slash {
    display: none;
  }