@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;700&display=swap");

:root {
  --background-color: black;
  --text-background-color: rgba(39, 2, 31, 0.249);
  --title-text-color: white;
  --text-border-color: rgb(93, 156, 211);
}

html {
  background-color: var(--background-color);
}
body {
  margin: 0;
  padding-top: 60px;
}

main {
  align-items: center;
  height: 75vh;
  margin-top: 60px;
}

/* Headings */
h1 {
  color: var(--title-text-color);
  text-align: center;
}

h3 {
  margin-bottom: 0;
}

h4{
  text-align: left; 
  margin-left: 10%; 
  margin-top:auto; 
  margin-bottom: auto;
}

.everything {
  padding: 0px;
  position: relative;
}

/* ALL NAVBAR STUFF */

.navbar {
  top: 0;
  position: fixed;
  width: 100%;
  height: 75px;
  display: flex;
  align-items: center;
}

/* All icons in nav-list */
.icon-list a {
  color: #f2f2f2;
  text-decoration: none; /* get rid of underline */
  font-size: 20px;
}


.nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: gray;
  margin: 10px;
  width: 100px;
  height: 40px;
  border-radius: 20%;
}

.icon-list {
  display: flex;
  padding: 15px;
  margin-left: auto;
}

.icon-item {
  padding: 7px;
  margin: 10px;
  background-color: grey;
  width: 25px;
  height: 25px;
  border-radius: 50%;
}

.icon-item:hover {
  transform: scale(1.1);
}
.icon-list a:hover {
  transform: scale(1.1);
}


/* END NAVBAR */


/* about-me section on home page */
.about-me {
  max-width: 70vw;
  height: 100%;
  margin-left: 15%;
  margin-right: 0px;
  color: var(--title-text-color);
  display: flex;
}

.name {
  font-family: "Chewy", cursive;
  font-size: 100px;
  margin: 0px;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 120px;
  height: 100%;
  font-size: 35px;
}

.about-image {
  width: 16vw;
  height: 16vw;
  margin: 30px 50px 50px 30px;
}

.about-image img {
  width: 16vw;
  height: 16vw;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
}

.left {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
}

/* IF WIDTH IS SMALLER THAN 1300PX THESE CHANGES APPLY */
@media (max-width: 1240px) {
  .about-me {
    margin: auto;
    flex-direction: column;
    align-items: center; 
    text-align: center; 
    height: 50%;
  }

  .about-text {
    margin-top: auto;
    text-align: center;
    font-size: 5vw;
  }

  .name{
    font-size: 11vw
  }

  .about-image img {
    margin: 0;
    align-items: center;
    width: 40vw;
    height: 40vw;
    max-width: 250px;
    max-height: 250px;
  }
  .about-image {
    margin: 0;
    width: 40vw;
    height: 40vw;
    max-width: 250px;
    max-height: 250px;
    align-items: center;
  }
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  color: white;
  text-align: right;
}

/* FOOTER */

/* Class for each project in portfolio */
.Project {
  justify-content: center;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-color: var(--text-background-color);
  width: 70%;
  max-width: 700px;
  margin: auto;
  color: var(--title-text-color);
  border: 5px solid var(--text-border-color);
  transition: transform 0.3s ease;
}

/* The image that links to the project */
.project-image {
  width: 60%;
  max-width: 400px;
  height: 400px;
  margin-left: 10px;
  background-position: center center;
  border-radius: 15%;
  background-size: cover;
  background-clip: border-box;
  overflow: hidden;
}

/* Wraps the details about the project */
.project-details {
  width: 40%;
  text-align: center;
  margin-left: 2%;
}

.project-image:hover {
  transform: scale(1.03);
}

/* ALL RESUME STUFF */

/* Download button */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}


/* Section Title */
.section-title {
  text-align: center;
  color: var(--title-text-color);
}

/* Entry Title */
.entry-title {
  text-align: left;
  margin-left: 10%;
}

/* Each entry */
.entry {
  text-align: center;
  align-items: center;
  background-color: var(--text-background-color);
  width: 60%;
  margin: auto;
  color: var(--title-text-color);
  border: 5px solid var(--text-border-color);
  margin-bottom: 10px;
}

/* Infor for each entry */
.entry-info {
  margin-left: 10%;
  display: flex;
  flex-direction: column;
  text-align: left;
  
}

.entry-info ul{
  text-align: left;
  max-width: 80%;
  list-style-type: disc;
  margin-left: 1.25em;    
  padding-left: 0;        
}

.entry-info li {
  text-indent: -.75em;  
  padding-left: .75em;   
}



/* Grid for skills list */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: .5rem .75rem;
  padding: 0;
  margin: .25rem 1rem 1rem;
  /* margin-right: 10%; */
  /* margin-top: 2%; */
  margin: .5rem 10% 1rem 1rem;
  list-style: none;
}



/* Pill style */
.chip {
  display: inline-block;
  padding: .35rem .6rem;
  border-radius: 999px;
  border: 1px solid var(--text-border-color);
  background: rgba(255,255,255,0.05);
  color: var(--title-text-color);
  font-size: .95rem;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.chip:hover { transform: translateY(-1px); }

.icon-list { list-style: none; padding-left: 0; }

/* HEADER AND DOWNLOAD BUTTON */
.page-title-wrap {
  display: flex;
  justify-content: center; 
  align-items: center;
  gap: 0.5rem;             
  margin-bottom: 1rem;
}

.page-title {
  margin: 0;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 2px solid var(--text-border-color);
  color: var(--title-text-color);
}

.icon-button:hover { transform: translateY(-1px); background: rgba(255,255,255,.08); }
.icon { width: 22px; height: 22px; fill: currentColor; }
