:root {
  --magenta: rgb(238, 2, 151);
  --purple: rgb(56, 56, 157);
  --green: rgb(7, 172, 102);
  --light-blue: rgb(201, 240, 234);
}

@font-face {
  font-family: 'FreckleFace';
  src: url('fonts/FreckleFace-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-size: 16px;
  font-family: 'FreckleFace', sans-serif;
  margin: auto;
  padding: 2em;
  background-color: var(--light-blue);
}

p {
  text-align: center;
}


header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
}
.title-container {
  flex-grow: 1;
  text-align: center;
}

.flag-container {
  display: flex;
  gap: 5px;
  position: absolute;
  right: 0;
}

a {
  color: #000;
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--underline-color);
}

nav {
  background-color: #fff;
  color: #ccc;
  padding: 1em;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin: 0 1em;
}

nav ul li a {
  color: #555;
  text-decoration-line: underline;
  text-decoration-style: wavy;
  text-decoration-color: #ccc;
}

blockquote {
  margin-left: 2em;
  padding-left: 1em;
  border-left: 3px solid #ccc;
  color: #555;
}

hr {
  margin: 2em 0;
}

sup a {
  text-decoration: none;
}



.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 20px;
}

.purplebutton {
  background-color: rgb(227, 138, 209); color: rgb(53, 0, 196);
  border: none;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 16px;
}


#avatar {
    width: 80%; 
    
    max-width: 400px; 
    
    display: block;
    margin: 0 auto; 
    height: auto;
    border-radius: 16px;

}

.artwork-container {
    margin-bottom: 20px;
}

.artwork-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    font-weight: normal;
    text-align: left;
}

h1 {
margin: 0;
font-weight: normal;
font-size: 5em;
color: var(--purple);
}
h2 {
  margin: 0;
font-weight: normal;
}

.social-icons {
  display: flex;
  flex-direction: column;
  align-items: left
}

.waterfall {
    column-count: 3;
    column-gap: 20px;
}

.waterfall .artwork-container {
    break-inside: avoid;
    margin-bottom: 20px;
    display: block;
}

/* Make waterfall responsive for mobile devices */
@media screen and (max-width: 768px) {
    .waterfall {
        column-count: 1;
        column-gap: 15px;
    }
    
    .waterfall .artwork-container {
        margin-bottom: 15px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .waterfall {
        column-count: 2;
        column-gap: 15px;
    }
    
    .waterfall .artwork-container {
        margin-bottom: 15px;
    }
}

/* Restore 3 columns for larger screens */
@media screen and (min-width: 1025px) {
    .waterfall {
        column-count: 3;
        column-gap: 20px;
    }
    
    .waterfall .artwork-container {
        margin-bottom: 20px;
    }
}



/* Ensure consistent sizing for waterfall effect */
.waterfall .photo {
    width: 100%;
    height: auto;
    display: block;
}

.artwork-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    font-weight: normal;
    text-align: left;
}

.photo {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    /* Ensure images can be clicked */
    cursor: pointer;
    /* Prevent text selection when clicking */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Ensure the lightbox modal appears properly */
dialog {
    z-index: 1000;
}

.youtube-videos {
    display: flex;
    gap: 20px;
}

.youtube-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.youtube-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 700px) {
    .youtube-videos {
        flex-direction: column;
    }
}