
html{
	scroll-behavior: smooth;
	max-height: 100vh;
}

:target {
	scroll-margin-top: 300px; 
  }
  

#description {
	font-size: 0.7rem;
	display: flex;
	flex-direction: column;
}

#description p:nth-child(2){
	text-align: center;
}

#description p:nth-child(3){
	text-align: center;
	/* margin-top: -3rem; */
}

#about-me-content{
	width: 73vw;
	/* border: 1.5px solid black;  */
	height: 550px;
	border-radius: 50px;
	margin: 1.5rem;
	display: flex;
	flex-direction: row;
	align-items: center;
}	

.gallery{
	border: 1.5px solid black; 
	height: 550px;
	border-radius: 40px;
	width: 450px;
}

.top {
	height: 13%;
	display: flex;
	justify-content: space-between;
	padding-left: 1rem;
	padding-right: 1rem;
	padding-top: 0.5rem;
	border-bottom: 1.5px solid #000; 
	/* margin-bottom: 1.5rem; */
}

.arrows {
	display: flex;
}

h2{
	font-family: var(--title-font);
}

.arrows h2 {
    border: 1.5px solid #000;
    border-radius: 50%;
    width: 35px;
    height: 35px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer;
    margin-left: 1rem;
}

.arrows h2:hover{
	background-color: black;
	color: var(--color-lightgreen);
}

.contact-mobile, #contact-mobile{
	display: none;
}

ul .link{
	color: black;
	background: var(--color-lightgreen);
} 

#about-button{
	background: black;
}

#about-button a{
	color: var(--color-lightgreen);
}


.dropdown-menu li:hover {
	color: var(--color-lightgreen);
}

.dropdown-menu li a:hover {
	color: var(--color-lightgreen);
}


/* #website-links li:nth-of-type(2) a {
	color: var(--color-lightgreen);
} 

#website-links li:nth-of-type(2) {
	background: black;
} */



#changingphrase {
	transition: opacity 0.5s ease-in-out;
	font-optical-sizing: auto;
	font-weight: 700;
	stroke: 1px;
}
  .fade-out {
	opacity: 0;
  }


  .scroll-container {
	width: 100%;
	overflow-x: hidden;
	white-space: nowrap;
	scroll-behavior: smooth;
  }
  
  .scroll-grid-gallery {
	display: flex;
	animation: scroll 50s linear infinite;
	width: max-content;
	overflow: hidden; 
	align-items: center;
  }

  .scroll-grid-gallery img {
	width: 300px; 
	height: 400px; 
	object-fit: cover; 
	display: block;
	border-radius: 50px;
	margin: 1rem;
	border:	1.5px solid #000; 

  }

  picture{
	margin-right: 0.5rem;
	margin-left: 0.5rem;
	margin-top: 1rem;
  }

  .about-me-text{
	margin-left: 2rem;
	height: 550px;
	overflow-y: scroll;
  }

  .about-me-text h1{
	font-family: var(--title-font);
	font-size: 3rem;
	margin-top: -0.5rem;
  }

  .about-me-text p{
	font-size: 0.9rem;
  }

  .bio {
	margin-bottom: 2rem;
	margin-top: -1rem;
  }

  .sparkle{
	margin-bottom: 2rem;
	text-align: center;
  }

  .list{
	display: flex;
	flex-direction: column;
	text-align: left;
	margin-top: -1rem;
  }

  .list p{
	margin-top: -1rem;
  }

  .list li{
	line-height: 1.5;
	margin-top: -1rem;
  }

  .article-link{
	margin-bottom: 1.2rem;
  }

  .article-link a:hover{
	  font-style: italic;
	  text-decoration: underline;
	  color: black;
  }
/* 
  .menu-item {
		border: 1.5px solid black; 
		border-radius: 50px;
		height: auto;
		text-align: center;
		padding: 0.5rem;
		font-size: 0.8rem;
		margin-left: 1rem;
		margin-bottom: 1rem;
  }

  .menu-item:hover{
	cursor: pointer;
	color: var(--color-lightgreen);
	background: black;
  }

  .menu-item a:hover{
	color: var(--color-lightgreen);
  }

  :target {
	scroll-margin-top: 100px; 
  }
   */

.bio, .list{
	margin-top: -2rem;
   }


@media (max-width: 600px) {

html{
	 overflow-x: hidden;
}

  body {
    flex-direction: column;
    overflow-x: hidden;
    font-size: 0.9rem;
	 overflow-y: visible;
	 width: auto;
  }

 nav {
    flex-direction: column;
    height: auto;
    padding: 1rem;
	margin-left: -0.2rem;
    align-items: flex-start;
  }

  #website-links {
    flex-direction: row;
    width: 100%;
	gap: 1rem;
    margin-bottom: 1rem;
  }

  ul .link,
  ul .contact {
    margin-bottom: 0.5rem;
    margin-right: 0;
    width: 100%;
    justify-content: center;
  }

  main {
    flex-direction: column;
    /* align-items: stretch; */
    height: auto;
    margin: 1rem;
  }

  #rice {
    width: 100%;
	margin: 0;
    margin-bottom: 2rem;
	/* margin-left:0.5rem; */
  }

  .featured-work {
    width: 100%;
    height: auto;
    margin: 0;
    /* padding: 1rem; */
  }

  .thumbnails{
	padding: 1rem;
}

  .top {
    /* flex-direction: column; */
    align-items: flex-start;
    height: auto;
  }

  .top h2{
	font-size: 2rem;
  }

  picture{
	margin-left: -0.25rem;
	margin-top: 0.5rem;
  }

  .arrows {
    /* margin-top: 1rem; */
    /* flex-wrap: wrap; */
    gap: 0.5rem;
  }

  .scroll-container,
  .scroll-grid-ux {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: visible;
	 width: 100% !important;
  }

  .scroll-container {
  white-space: normal;
}


.scroll-grid-ux img {
	filter: none;
}

#work-title{
	text-align: center;
	padding-bottom: 0.5rem;
}

  .project {
    width: 99%;
    height: auto;
    margin: 1rem 0;
  }

  .project-desc{
	flex-direction: column;
  }

  .project-title{
	margin-bottom: 0;
  }

  .project-details{
	margin-top: 0;
	font-size: 0.5rem;
  }

  .scroll-grid-ux img {
    height: auto;
    /* border-radius: 40px 40px 0 0; */
  }

  footer {
    /* margin: 1rem 1rem 0 1rem; */
    text-align: center;
	padding-top: 3rem;
	padding-bottom: 0.5rem;
  }

  .toggle-view-button {
    width: 100%;
    justify-content: center;
  }

  #description{
	display: none;
  }

  #description p:nth-child(2),
  #description p:nth-child(3) {
    padding-top: 1rem;
    margin-top: 0;
  }
  
  /* .arrows{
	display: none;
  } */

  .draggable{
	display: none; 
  }

  #toggleDoodles, #reset{
	display: none;
}

#about-me-content{
	flex-direction: column-reverse;
	height: auto;
	margin: 0.5rem;
	width:100%;
}

.gallery{
	width: 100%;
	/* margin-bottom: 3rem; */
	/* display: none; */
}

.about-me-text{
	height: auto;
	margin-left: 0;
	margin-bottom: 5rem;
}


  footer {
    /* margin: 1rem 1rem 0 1rem; */
    text-align: center;
	padding-top: 3rem;
	display: flex;
	flex-direction: column;
	margin-left: -0.1rem;
	gap: 0.5rem;
	/* padding-bottom: 1rem; */
  }

  #contact-mobile{
	display: flex;
	flex-direction: row;
	justify-content:space-evenly;
	font-size: 0.8rem;
  }

  .contact-mobile {
	display: block;
  }

  .contact, #contact{
	display: none;
  }

}
