/*universal styles*/
body {
  background-color: hsl(206, 61%, 88%);
  color: hsl(108, 34%, 11%);
  font-family: Helvetica, sans-serif;
  margin: 0;
}

.skip-nav {
  position: absolute;
  top: -9999px;
  left: -9999px;
  z-index: 1000;
}

.skip-nav:focus {
  top: 10px;
  left: 10px;
  background-color: #333;
  color: white;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

@media screen and (max-width: 738px) {
  .skip-nav{
    display: none
  }
}

.topnav {
    overflow: hidden;
    background-color: white;
    color: hsl(206, 61%, 88%);
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.topnav img {
    transform: translateY(22px) translateX(50px);
    display: block;
    margin-bottom: -20px;
}

.topnav a {
    float: left;
    display: block;
    font-weight: bold;
    color: hsl(108, 37%, 08%) !important;
    text-align: center;
    margin: 30px 15px;
    padding: 5px 15px;
    font-size: 2.2rem;
    text-decoration: none;
}

.topnav a:hover, .topnav a:focus {
    color: hsl(108, 37%, 08%);
    text-decoration: underline;
}

.topnav a.active {
    text-decoration: none;
    color: hsl(108, 37%, 08%);
    border: 4px dashed hsl(108, 37%, 08%);
}

.topnav a.active:hover, .topnav a.active:focus {
    text-decoration: underline;
}

.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 24px;
    padding: 15px;
    background: none;
    border: none;
}

button.menu-icon {
    font-size: 2rem;
    font-weight: bold;
    color: hsl(206, 61%, 88%);
}

.dropdown {
    display: flex;
    flex-direction: row;
    width: auto;
    color: hsl(108, 37%, 08%);
}

.dropdown a{
  position: relative;
}

@media screen and (max-width: 738px) {
    .topnav {
        flex-direction: column;
        align-items: flex-start;
        background-color: hsl(110, 97%, 20%);
        margin: 0 0 50px 0;
        padding: 0 0 5px 15px;  
        color: hsl(206, 61%, 88%);
    }
    
    .menu-icon {
        display: block;
        color: hsl(108, 37%, 08%);
    }
    
    .dropdown {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 0;
    }
    
    .dropdown a {
        font-size: 2rem;
        display: block;
        margin: 10px;
        padding: 5px;
        color: hsl(108, 37%, 08%) !important;
    }
    
    .topnav.open .dropdown {
        display: flex;
    }
    
    .topnav a.active {
        background-color: hsl(206, 61%, 88%);
        box-shadow: 0 0 18px 18px hsl(206, 61%, 88%);
        border: none;
        text-decoration: underline;
        padding: 0;
        width: auto;
        margin-left: auto;
        margin-right: auto;
        color: hsl(110, 97%, 20%) !important;
    }
    
    .activeBottom {
        margin-bottom: 30px !important;
    }
     
    .activeTop {
        margin-top: 30px !important;
    }
    
    .topnav img {
        display: none;
    }
}


        

footer {
  text-align: left;
  padding: 1rem;
  color: hsl(108, 34%, 11%);
  max-width: 100%;
  margin-top: 75px;
  font-size: 10pt;
  font-family: monospace;
}

.default-list {
  margin: 0 0 0 30px !important;
  list-style-type: disc;
  list-style-position: inside;
}

.default-list li{
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.default-list li:before{
  content: '';
  margin: initial !important;
}

/*page styles*/
/*used for about and colophon pages*/
.portfolio-list{
  display: inline-block;
  margin: 25px;
  margin-bottom: 50px;
  padding: 25px;
  height: auto;
  vertical-align: top;
  background-color: white;
  text-align: left;
  cursor: url('scissors_cursor.svg'), auto;
  color: hsl(108, 34%, 11%);
  border: 2px solid hsl(110, 97%, 20%);
  /*filter: drop-shadow(0 0 40px hsl(356, 100%, 90%));*/
}

.portfolio-list h1, .portfolio-list h2{
  font-family: Times, serif;
  font-size: 25pt;
  font-weight: 600;
  margin: 0;
  padding: 0 0 15px 0;
  margin-bottom: 25px;
  border-bottom: 3px solid hsl(110, 97%, 20%);
  color: hsl(108, 34%, 11%);
  box-sizing: border-box;
  width: 100%;
  border-radius: 5px;
}

.portfolio-list figure {
  margin: 0 0 40px 0;
  border-bottom: 2px dotted hsl(108, 34%, 11%);
  width: 100%
}

.portfolio-list figcaption {
  text-align: center;
  font-family: Helvetica, sans-serif;
  margin: 15px;
  font-weight: 600;
  font-size: 16pt;
}

div.listcontainer{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: min-content;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

@media (max-width: 1000px) {
    .listcontainer {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

.section{
  display: block;
  line-height: 1.5;
  filter: drop-shadow(0 0 30px hsl(356, 100%, 90%));
  margin: 3.75rem;
  padding: 2rem;
  font-family: Helvetica, sans-serif;
  color: hsl(206, 61%, 88%);
  font-weight: 600;
  background-color: hsl(110, 97%, 20%); 
}

@media screen and (max-width: 700px) {
  .section div{
    margin: 1.5rem;
    font-size: 1.5rem;
  }
}

::selection {
  background-color: hsl(206, 61%, 88%);
  color: hsl(110, 97%, 20%);
}

h1{
  text-align: left;
  margin: 3rem;
  color: hsl(108, 37%, 08%);
  font-size: 6.3rem;
  font-family: serif;
  font-weight: 400;
  display: block;
  z-index: 99;
}

.header {
  font-size: 20px;
  text-align: center;
  margin: 0 3rem 5rem 3rem;
  color: hsl(108, 37%, 08%);
  font-family: serif;
}

li{
  font-family: Helvetica, sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: hsl(206, 61%, 88%);
  text-indent: -30px;
  padding-bottom: 20px;
  margin-bottom: 20px
}

li:before {
  content: "+";
  color: hsl(206, 61%, 88%);
  margin-right: 14px;
  font-weight: 800;
}

p{
  margin: 1em 0 1em 0;
  padding: 0;
  filter: none;
  border: none;
}

ul{
  margin: 0;
  padding: 0 0 0 18px;
  width: inherit;
  filter: none;
  list-style: none;
}

.column {
  font-size: 1.1rem;
}

.column a{
  color: hsl(206, 61%, 97%);
  filter: drop-shadow(0 0 8px hsl(356, 100%, 90%));
}

div.column{ 
  line-height: 1.5;
  margin: 0;
  filter: drop-shadow(0 0 40px hsl(356, 100%, 90%));
  padding: 2rem;
  font-family: serif; 
  color: hsl(206, 61%, 88%);
  background-color: hsl(110, 97%, 20%); 
}

.column p {
  margin: 1em 0 1em 0;
  padding: 0;
  font-weight: 400;
}

.column h2{
  font-size: 2rem;
  font-weight: bold;
  margin: 0 0 1em 0;
  font-family: serif;
  padding: 0;
  color: hsl(206, 61%, 88%);
}

.column h3{
  font-size: 1.7rem;
  display: contents;
  border-top: 2px dotted hsl(206, 61%, 88%);
}

.column h4{
  font-size: 1.7rem;
  display: contents;
  border-top: 2px dotted hsl(206, 61%, 88%);
  font-weight: 400;
}

.column li{
  font-weight: 400;
  font-family:  serif; 
  background-color: hsl(110, 97%, 20%); 
  color: hsl(206, 61%, 88%);
  border-bottom: 2px dotted hsl(206, 61%, 88%);
  margin-left: -30px;
  padding-left: 30px;
}

.column li p{
  text-indent: 0;
  margin-top: 15px;
  margin-bottom: 0
}

.column ul{
  margin-left: 1rem;
  margin-top: 2rem;
  font-size: 1.1rem
}

.person{
  border: none !important;
  margin: 0 0 0 10px !important;
  padding: 5px 0;
  
}

h3.person{
  font-size: 1.5rem;
  display: block;
  font-weight: 600;
  margin: 10px 0 0 -10px !important;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    justify-content: space-between;
    align-items: flex-start;
    margin: 3rem;
    min-height: min-content;
    background-color: transparent;
}

.column-container {
    width: calc(50% - 2.5rem);
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 5rem; /* Space between inner items */
}

@media screen and (max-width: 900px) {
    div.container {
        flex-direction: column; /* Switch to single-column layout */
        gap: 3rem; /* Adjust gap for smaller screens */
        margin: 0 10px; /* Reduce side margin */
        max-width: 100%;
        padding: 0 1rem;
    }

    div.column-container {
        width: 100%; /* Make each column take full width */
    }
}

@font-face {
    font-family: Litterae Ignotae;
    src:url('litterae_ignotae.ttf') format('truetype'),
        url('litterae_ignotae.eot?#iefix') format('embedded-opentype'), 
	      url('litterae_ignotae.woff') format('woff'), 
	      url('litterae_ignotae.svg') format('svg'),
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}