@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,900;1,700&display=swap");
@media screen and (max-width: 420px) {
  /*changes reflects on screen with a width of 720px and below*/
}

/* Variables */

:root {
  --font-family: 'Raleway', sans-serif;
  --normal-font: 400;
  --bold-font: 700;
  --bolder-font: 900;
  --bg-color: #fcfcfc;
  --primary-color: #4756df;
  --secondary-color: #ff7235;
  --primary-shadow: #8b8eaf;
  --secondary-shadow: #a17a69;
  --bottom-margin: 0.5rem;
  --bottom-margin-2: 1rem;
  --line-height: 1.7rem;
  --transition: 0.3s;
}

hr {
  border: none; 
  border-top: 3px solid rgb(60, 222, 237); 
  margin: 2rem auto; 
  width: 80%;
}

/* Resets */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: rgba(128, 128, 128, 0.347);

}

a {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  color: var(--secondary-color);
}

/* Navigation Styles */

nav {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3.5rem;
  background-color: #4cb4b7db;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  padding: 1rem 2rem;
}

nav h1 {
  color: black;
  font-size: 24px;
}

nav a {
  color: var(--primary-color);
  transition: var(--transition);
}

nav a:hover {
  color: var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
}

nav ul {
  list-style-type: none;
  display: flex;
  gap: 1.9rem;
  position: fixed;
  background-color: #4cb4b7db;
  flex-direction: column;
  top: 85px;
  right: 10%;
  width: 100%;
  text-align: center;
  transform: translateX(120%);
  transition: transform 0.5s ease-in-out, width 0.5s ease-in-out;
  border: black;
  padding: 1rem;

}

nav ul.show {
  transform: translateX(0);
  width: 20%;
}

nav ul li {
  font-weight: var(--bold-font);
}

nav ul li a {
  font-size: 1rem;
  transition: font-size 0.3s;
}

nav ul li a:hover {
  font-size: 1.3rem; 
}


.burger-menu {
  color: black;
  font-size: 2rem;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

/* Hero */

.hero {
  position: relative;
  max-width: 100vw;
  margin: auto;
  margin-top: -6rem;
  text-align: center;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
}

.bio {
  position: absolute;
  top: 20%;
  left: 10%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: 6px;
  box-shadow: 0px 2px 15px 2px var(--primary-shadow);
  max-width: 30vw;
}

.bio:hover {
  background-color: rgba(215, 215, 215, 0.798);
  box-shadow: 0 10px 30px var(--primary-shadow);
}

.bio h2 {
  margin-bottom: 1rem;
}

.bio p {
  line-height: 1.5;
  padding: 0.3rem 0;
}

/* More About Me */

#more-about {
  padding-top: 85px;
  padding-bottom: 85px;
}

.more-about {
  padding: 1rem 6rem;
}

.more-about h2 {
  margin-bottom: var(--bottom-margin);
  text-align: center;
  font-size: 3rem;
}

.more-about p {
  background-color: #4cb4b72b;
  line-height: var(--line-height);
  padding: 0.4rem;
  box-shadow: 0 10px 30px var(--primary-shadow);
}

.more-about p:hover {
  background-color: rgba(215, 215, 215, 0.798);
  box-shadow: 0 10px 30px var(--primary-shadow);
}

.headshot img {
  max-width: 30%;
  height: auto;
  float: right;
  border: 3px solid #333;
  border-radius: 50%;
  margin-left: 10px;
  box-shadow: 0 10px 30px var(--primary-shadow);
}

/* Skills */

#skills-tech {
  padding-top: 85px;
  padding-bottom: 85px;
}

#skills-music {
  padding-top: 85px;
  padding-bottom: 85px;
}

.skills {
  margin: auto;
  text-align: center;
  margin-top: 2.5rem;
}

.skill-header {
  margin-bottom: 1rem;
  font-size: 45px;
}

.skills-wrapper img {
  padding: 1.25rem;
}

.icon {
  width: 11.875rem;
  height: 11.25rem;
}

.icon-card {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px var(--secondary-shadow);
  padding: 20px;
  margin: 10px;
  transition: transform 0.3s ease;
  position: relative;
  display: inline-block;
}

.icon-card.ruby:hover {
  background-color: rgba(255, 60, 60, 0.764);
  box-shadow: 0 10px 30px var(--primary-shadow);
  transform: scale(1.05);
}

.icon-card.rails:hover {
  background-color: rgba(189, 28, 28, 0.725);
  box-shadow: 0 10px 30px var(--primary-shadow);
  transform: scale(1.05);
}

.icon-card.python:hover {
  background-color: rgba(245, 245, 78, 0.86); 
  box-shadow: 0 10px 30px var(--primary-shadow);
  transform: scale(1.05);
}

.icon-card.sql:hover {
  background-color: rgba(133, 201, 238, 0.821); 
  box-shadow: 0 10px 30px var(--primary-shadow);
  transform: scale(1.05);
}

.icon-card.js:hover {
  background-color: rgba(232, 232, 21, 0.853); 
  box-shadow: 0 10px 30px var(--primary-shadow);
  transform: scale(1.05);
}

.icon-card.css:hover {
  background-color: rgba(80, 113, 222, 0.853); 
  box-shadow: 0 10px 30px var(--primary-shadow);
  transform: scale(1.05);
}

.icon-card.html:hover {
  background-color: rgba(245, 159, 78, 0.86); 
  box-shadow: 0 10px 30px var(--primary-shadow);
  transform: scale(1.05);
}

.icon-card.postman:hover {
  background-color: rgba(255, 115, 0, 0.761); 
  box-shadow: 0 10px 30px var(--primary-shadow);
  transform: scale(1.05);
}

.icon-card.ableton:hover {
  background-color: rgba(187, 187, 59, 0.86);
  box-shadow: 0 10px 30px var(--primary-shadow);
  transform: scale(1.05);
}

.icon-card.electric:hover {
  background-color: rgba(172, 88, 228, 0.645); 
  box-shadow: 0 10px 30px var(--primary-shadow);
  transform: scale(1.05);
}

.icon-card.acoustic:hover {
  background-color: rgba(123, 75, 27, 0.853);
  box-shadow: 0 10px 30px var(--primary-shadow);
  transform: scale(1.05);
}

.icon-card.drums:hover {
  background-color: rgba(45, 238, 238, 0.853);
  box-shadow: 0 10px 30px var(--primary-shadow);
  transform: scale(1.05);
}

.icon-card.piano:hover {
  background-color: rgba(114, 114, 240, 0.653);
  box-shadow: 0 10px 30px var(--primary-shadow);
  transform: scale(1.05);
}

.icon-card.banjo:hover {
  background-color: rgb(155, 155, 155);
  box-shadow: 0 10px 30px var(--primary-shadow);
  transform: scale(1.05);
}

/* Projects */

#projects {
  padding-top: 85px;
  padding-bottom: 85px;
}

.projects {
  padding: 32px 0;
  margin-top: 2rem;
}

.project-pic {
  width: 65%;
  height: 60%;
}

.projects-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.projects-title {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 3rem;
}

.project-container {
  text-align: center;
  width: 21.875rem;
  padding: 1rem;
}

.project-container p {
  padding: 0.4rem;
}

.project-title {
  margin-bottom: var(--bottom-margin);
}

.project-details {
  margin-bottom: var(--bottom-margin);
}

.project-card {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px var(--primary-shadow);
  padding: 20px;
  margin: 10px;
  transition: transform 0.3s, background-color 0.3s;
}

.project-card:hover {
  transform: scale(1.05);
  background-color: #f3c176;
}

/* Music */

#audio-section {
  padding-top: 85px;
  padding-bottom: 85px;
}

.music-title {
  font-size: 2em;
  text-align: center;
  margin-top: 20px;
  padding: 2rem;
  font-size: 3rem;
}

/* Section styles */

.section-title {
  font-size: 2em;
  margin-bottom: 10px;
  text-align: center;
}

/* Audio */

.audio-recordings {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.audio-recording {
  margin: 10px auto;
  padding: 10px;
}

/* Video */

.video-section {
  justify-content: center;
}

.video-recordings {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.video-recording {
  margin: 10px auto;
  padding: 10px;
  text-align: center;
}

.video-recording p {
  text-align: center;
  padding: 2rem;
}

/* Responsive layout */

@media (max-width: 768px) {
  .audio-recording,
  .video-recording {
    width: 100%;
  }
}

/* Games */

/* Add your CSS styles here */
#games {
  padding-top: 85px;
  padding-bottom: 85px;
}

.my-games {
  text-align: center;
  padding: 2rem;
}

.my-games p {
  padding: 2rem;
}

.my-games h2 {
  font-size: 3rem;
}

.my-games p {
  margin-top: 1rem;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 15px;
}

.cell {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 5rem;
  width: auto;
  border: 1px solid black;
  font-size: 2em;
  background-color: rgba(231, 237, 60, 0.4);
  background-color: rgb(60, 222, 237, .4);
}


/* Art Projects */

#art {
  padding-top: 85px;
  padding-bottom: 85px;
}

.my-art-projects {
  text-align: center;
  padding: 2rem;
}

.my-art-projects h2 {

  font-size: 3rem;
}
.my-art-projects p {
  margin-top: 1rem;
  padding: 2rem;
}


/* Contact */

.contact {
  margin-top: 2rem;
  padding-bottom: 3rem;
}

.contact h2 {
  text-align: center;
  margin-bottom: var(--bottom-margin-2);
}

.contact-form-container {
  max-width: 40.75rem;
  margin: 0 auto;
  padding: 0.938rem;
  border-radius: 5px;
  box-shadow: 0 3px 10px var(--secondary-shadow);
  background-color: #4cb4b73c;
  
}

.contact-form-container label {
  line-height: 2.7em;
  font-weight: var(--bold-font);
  color: var(--primary-color);
}

.contact-form-container textarea {
  min-height: 6.25rem;
  font-size: 14px;
}

.contact-form-container .input-field {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 5px;
  border: none;
  border: 2px outset var(--primary-color);
  font-size: 0.875rem;
  outline: none;
}

.input-field::placeholder {
  padding: 0.5rem;
  color: var(--primary-color);
}

.submit-btn {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background-color: #fff;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  font-size: 1rem;
  font-weight: var(--bold-font);
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

/* Socials */

.socials {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 1%;
  bottom: 50%;
}

.socicon {
  width: 2rem;
  height: 2rem;
}

.socicon:hover {
  transform: scale(1.5);
}

/* Footer */

footer {
  background-color: #4cb4b7db;
  padding: 1.25rem;
  text-align: center;
  margin: 2rem 0 0;
}

/* Scroll */

.scroll-up {
  position: fixed;
  right: 0.5%;
  bottom: 3%;
  cursor: pointer;
}

.up-arrow {
  width: 3rem;
  height: 3rem;
}

/* Quick Tip */

main {
  max-width: 50rem;
  margin: 2rem auto;
  background: linear-gradient(#3dc0c0, #5bceae);
  padding: 3rem 1.6rem 6rem 1.6rem;
  border-radius: 4rem;
  box-shadow: 0 5px 5px darkgreen;
}

#quickHR {
  border-top: 3px solid white;
  width: 100%;
}

#h1QuickTip {
  text-align: center;
  font-size: 3rem;
  margin: 0;
  padding-bottom: 3rem;
}

.sectionQuickTip {
  background: white;
  font-size: 1.8rem;
  margin-bottom: 1.6rem;
  padding: 0 1.6rem;
  border-radius: 1rem;
  box-shadow: 0 2px 2px lightgray;
}

.sectionQuickTip > div {
  padding: 1.6rem 0;
}

.bill {
  display: flex;
}

.bill label {
  flex: 1;
  align-self: center;
}

.bill input {
  flex: 3;
}

input[type="number"] {
  background-color: #f4f4f5;
  font-size: 1.6rem;
  border: 1px solid lightgrey;
  border-radius: .5rem;
  padding: 0.8rem 0 0.8rem 0.8rem;
  box-shadow: inset 0 2px 2px lightgray;
}

.space-between {
  display: flex;
  justify-content: space-between;
}

.total {
  font-size: 2rem;
  font-weight: bolder;
}

.range {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  background: #eee;
  margin-top: 1.2rem;
  border-radius: 0.3rem;
  outline-color: #5bceae;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #3dc0c0;
  cursor: pointer;
}