@charset "UTF-8";
/*
Theme Name: vr2025
Description:  🏗 Website for Victor Roig Jardi, 2025
Version: 0.1
*/
/************************************************************************************
*******************    UTILS                                *************************
*************************************************************************************/
/**
 * Removes the scroll bar
 *
 * Usage:
 * .selector {
 *   @include remove-scrollbar;
 * }
 */
/************************************************************************************
*******************    VARIABLES                            *************************
*************************************************************************************/
/**
 * Typography
 */
/*https://snook.ca/archives/html_and_css/font-size-with-rem*/
/**
 * Colors
 */
/**
 * Transitions
 */
/**
 * margin, padding, widths column
 */
/************************************************************************************
*******************    BREAKPOINTS                          *************************
*************************************************************************************/
/************************************************************************************
*******************    CLEARFIX                             *************************
*************************************************************************************/
.clear:after, .clear:before {
  content: " ";
  display: table;
}

.clear {
  *zoom: 1;
}
.clear:after {
  clear: both;
}

/************************************************************************************
*******************    DEFAULTS                             *************************
*************************************************************************************/
* {
  box-sizing: border-box;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html,
body {
  font-family: "Times New Roman", Times, serif;
  font-size: 62.5%;
  line-height: 1.5;
  color: black;
  background-color: #fbfbfb;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  height: auto;
  position: relative;
}

h1,
h2,
h3,
h4 {
  font-weight: normal;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #404041;
  color: #fff;
  text-shadow: none;
}

::-moz-selection {
  background: #404041;
  color: #fff;
  text-shadow: none;
}

::-webkit-selection {
  background: #404041;
  color: #fff;
  text-shadow: none;
}

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

a:link, a:visited, a:active {
  color: black;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

.fadeInElement {
  opacity: 0;
}

header {
  padding: 3rem 0 5rem 2rem;
  display: block;
}
@media (min-width: 768px) {
  header {
    padding: 4rem 0 6rem 10%;
  }
}
header ul li {
  display: block;
  margin-right: 10vw;
}
header ul li:first-child {
  font-size: 1.8rem;
}
header ul li:first-child.current-menu-item {
  text-decoration: none;
  font-style: normal;
}
header ul li:first-child:hover {
  text-decoration: none;
}
header ul li:last-child {
  margin-right: 0rem;
}
header ul li:hover {
  text-decoration: underline;
}
header ul li.current-menu-item {
  font-style: italic;
}
@media (min-width: 768px) {
  header ul li {
    display: inline-block;
  }
}

nav {
  margin: 0 2rem 3rem 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
nav .right {
  display: flex;
  gap: 1rem;
}
@media (min-width: 768px) {
  nav {
    max-width: 110rem;
    margin: 0 10% 3rem 10%;
  }
}

.artwork-grid {
  margin: 0 2rem 2.4rem 2rem;
}
.artwork-grid .artwork {
  position: relative;
  display: inline-block;
  margin-bottom: 4rem;
  vertical-align: top;
}
.artwork-grid .artwork a {
  display: block;
}
.artwork-grid .artwork__image img:not(.loaded) {
  min-height: 50vh;
  min-width: 40vw;
}
.artwork-grid .artwork__image img:not(.initial) {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 300ms ease-in-out;
}
.artwork-grid .artwork__image img.lazy {
  opacity: 0;
}
.artwork-grid .artwork__image img.loaded {
  opacity: 1;
}
@media (min-width: 768px) {
  .artwork-grid .artwork__image img {
    height: 100%;
    width: auto;
    max-width: unset;
  }
}
.artwork-grid .artwork__image:hover img {
  transform: scale(1.08);
}
@media (min-width: 768px) {
  .artwork-grid .artwork__image {
    height: 25rem;
  }
}
.artwork-grid .artwork .artwork-text {
  margin-top: 0.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1.3rem;
}
.artwork-grid .artwork .artwork-text__description p {
  margin: 0;
}
@media (min-width: 768px) {
  .artwork-grid .artwork {
    width: min-content;
    margin-right: 8rem;
    margin-left: 0;
    margin-bottom: 6rem;
  }
}
@media (min-width: 768px) {
  .artwork-grid {
    padding: 0 10% 0 10%;
  }
}

.single-artwork .artwork {
  display: flex;
  flex-direction: column;
  max-width: 150rem;
  padding: 0 2rem 14.7rem 2rem;
}
.single-artwork .artwork .artwork-text {
  flex: 1 2 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 20rem;
  max-width: 40rem;
  order: 2;
}
@media (min-width: 768px) {
  .single-artwork .artwork .artwork-text {
    order: 1;
  }
}
.single-artwork .artwork .artwork-text__description {
  margin-bottom: 2rem;
}
.single-artwork .artwork .artwork-text__description p {
  margin: 0;
}
.single-artwork .artwork__image {
  flex: 1 1 100%;
  position: relative;
  order: 1;
  margin-bottom: 0.4rem;
}
.single-artwork .artwork__image img {
  height: 100%;
  object-fit: contain;
  object-position: left;
}
@media (min-width: 768px) {
  .single-artwork .artwork__image {
    order: 2;
    margin-bottom: 0;
  }
}
@media (min-width: 768px) {
  .single-artwork .artwork {
    max-height: 70vh;
    padding: 0 10% 0 10%;
    flex-direction: row;
  }
}

.front-page .artwork {
  display: flex;
  flex-direction: column;
  max-width: 150rem;
  padding: 0 2rem 14.7rem 2rem;
}
.front-page .artwork .artwork-text {
  flex: 1 2 100%;
  display: flex;
  flex-direction: column;
  min-width: 20rem;
  max-width: 40rem;
  order: 2;
}
.front-page .artwork .artwork-text ul {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.front-page .artwork .artwork-text ul li {
  display: list-item;
}
.front-page .artwork .artwork-text ul li:hover {
  text-decoration: underline;
}
@media (min-width: 768px) {
  .front-page .artwork .artwork-text {
    order: 1;
  }
}
.front-page .artwork__image {
  display: none;
  flex: 1 1 100%;
  position: relative;
  order: 1;
  margin-bottom: 0.4rem;
}
.front-page .artwork__image img {
  height: 100%;
  object-fit: contain;
  object-position: left;
}
@media (min-width: 768px) {
  .front-page .artwork__image {
    display: block;
    order: 2;
    margin-bottom: 0;
  }
}
@media (min-width: 768px) {
  .front-page .artwork {
    max-height: 70vh;
    padding: 0 10% 0 10%;
    flex-direction: row;
  }
}

.about-me {
  display: flex;
  flex-direction: column;
  margin: 0 2rem 2.4rem 2rem;
}
.about-me__text {
  margin-left: 3rem;
}
.about-me__image {
  height: 40rem;
  margin-left: 3rem;
}
.about-me__image img {
  height: 100%;
  width: auto;
  padding-top: 1.6rem;
}
@media (min-width: 768px) {
  .about-me {
    flex-direction: row;
    margin: 0 10% 2.4rem 10%;
    justify-content: space-between;
    max-width: 100rem;
  }
}

.contact-me {
  padding: 0 2rem;
}
.contact-me__text {
  margin-left: 3rem;
}
.contact-me__text a {
  display: inline-block;
  margin-bottom: 0.9rem;
}
.contact-me__text a:hover {
  text-decoration: underline;
}
@media (min-width: 768px) {
  .contact-me {
    padding: 0 10% 0 10%;
  }
}

.video {
  margin: 0 2rem 2.4rem 2rem;
  display: flex;
  flex-direction: column;
}
.video__title {
  text-align: center;
}
.video__container {
  position: relative;
  margin-bottom: 20px;
  padding-top: 56.25%; /* 16:9 */
}
.video__container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  .video {
    margin-left: auto;
    margin-right: auto;
    width: 70rem;
  }
}

.not-found__text {
  padding: 10rem 2rem;
}
.not-found__text a {
  text-decoration: underline;
}
@media (min-width: 768px) {
  .not-found__text {
    padding: 20rem 10% 0 10%;
  }
}

/************************************************************************************
*******************    TYPOGRAPHY IMPORT                      ***********************
*************************************************************************************/
.about-me,
.contact-me,
.front-page,
.not-found {
  font-size: 1.6rem;
  line-height: 1.2;
}

.about-me__text p a {
  text-decoration: underline;
  color: blue;
}

.single-artwork .artwork .artwork-text__description p {
  font-size: 1.2rem;
}
.single-artwork .artwork .artwork-text__description {
  line-height: 1.2;
}
.single-artwork .artwork .artwork-text__price {
  font-size: 1.2rem;
}
.single-artwork .artwork .artwork-text__status {
  color: red;
}

.artwork-grid .artwork .artwork-text__description {
  font-size: 1.2rem;
  line-height: 1.2;
}
.artwork-grid .artwork .artwork-text__status {
  font-size: 1.2rem;
  line-height: 1.2;
  color: red;
}

header {
  font-size: 1.5rem;
  line-height: 1.8;
}
header ul li:first-child {
  font-size: 1.8rem;
}

nav {
  font-size: 1.5rem;
}

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

.grid-columns {
  position: fixed;
  background-color: coral;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  touch-action: none;
  z-index: 9999999;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-column-gap: 1rem;
  padding: 1rem;
  margin: 0 auto;
  opacity: 0;
}
.grid-columns .grid-columns-column {
  background-color: cornflowerblue;
  height: 100%;
  display: none;
}
.grid-columns .grid-columns-column:nth-child(1) {
  display: block;
}
@media (min-width: 768px) {
  .grid-columns .grid-columns-column {
    display: block;
  }
}
.grid-columns.active {
  opacity: 0.4;
}
@media (min-width: 768px) {
  .grid-columns {
    grid-template-columns: repeat(12, 1fr);
    grid-column-gap: 1rem;
    padding: 1rem;
  }
}

.debug-resolutions {
  position: fixed;
  left: 0;
  top: 0;
  background-color: black;
  color: #5df4ff;
  padding: 3rem;
  font-family: "Helvetica", serif;
  font-size: 2rem;
  line-height: 1.3;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  touch-action: none;
}
.debug-resolutions.active {
  opacity: 1;
}
.debug-resolutions .debug-resolution-type {
  display: none;
}
@media (max-width: 575.98px) {
  .debug-resolutions .debug-resolution-type-xs {
    display: block;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  .debug-resolutions .debug-resolution-type-sm {
    display: block;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .debug-resolutions .debug-resolution-type-md {
    display: block;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .debug-resolutions .debug-resolution-type-lg {
    display: block;
  }
}
@media (min-width: 1200px) and (max-width: 1499.98px) {
  .debug-resolutions .debug-resolution-type-xl {
    display: block;
  }
}
@media (min-width: 1500px) {
  .debug-resolutions .debug-resolution-type-xxl {
    display: block;
  }
}
/*# sourceMappingURL=style.css.map */
