* {
    
}

/* body {
    font-family: lato, sans-serif;
    font-weight: 400;
    font-style: normal;     
    background-color: rgb(32, 54, 39);
    background-image: url(../img/background2.png);
    background-size:100%;
    background-repeat: no-repeat;
    background-position: top;
    color: #EFEFEF;
    margin: 0;
} */

body {
    font-family: lato, sans-serif;
    font-weight: 400;
    font-style: normal;   
    background-image: url('../img/background2.png'); /* relative to CSS file location */
    background-size: cover;          /* better than 100% for full cover */
    background-repeat: no-repeat;
    background-position: top;
    background-attachment: fixed;   
    color: #EFEFEF;
    margin: 0;
}


html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  height: 100%;
  /* background-color: green; */
}

#trailCanvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1; /* behind everything */
  pointer-events: none;
  width: 100%;
  height: 100%;
}



a {
    color: #EFEFEF;
    text-decoration: none;
    font-size: 2.5vh;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 10px;
}
  

/* Header */

header {
    display: flex;
    justify-content: center;
    /* position:absolute; */
}

nav {
    display: flex;
    /* width: vw; */
    justify-content: space-between;
    align-items: center;
    width: 95%;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 20px;
    background-color: rgb(32, 54, 39, 0.9);
    border: 1px solid #EFEFEF;
    border-radius: 50px;
    position:fixed;
}

.header-a {
    color: #EFEFEF;
    font-weight: 600;
}

.header-line {
    width: vw;
    height: 1px;
    background-color:#EFEFEF;
}

/* Home */

.home {
    padding: 0px;
    margin: 0px;
    border: 0px;
    margin: 4vw;
}

h1 {
    color: #EFEFEF;
    margin: -0.2vw;
    padding-top: 50px;
    text-align: center;
    font-family: "Italiana", sans-serif;
    font-size: 20vw;
    font-weight: 400;
    line-height: 90%;
}

.bio-alignment {
    display: grid;
    justify-content: center;
    /* align-content: last baseline; */
    grid-template-columns:repeat(2, 45%);
    gap: 50px;
    margin-top: 200px;
}

.bio-img {
    object-fit: cover;
    width: 100%;
    height: 80%;
    border:1px solid #EFEFEF;
    border-radius: 20px;
}

.bio {
    /* display: grid;
    justify-content: end;
    grid-template-columns:35vw; */
    /* width: 45%; */
    margin-top: 10vw;
    padding: 30px;
    background-color: rgb(32, 54, 39, 0.9);
    border: 1px solid #EFEFEF;
    border-radius: 20px;
}

h3 {
    font-family: "Italiana", sans-serif;
    text-align: right;
    font-size: 5vw;
    font-weight: 400;
    margin:0;
}

.bio-p {
    text-align: right;
    font-size: 16px;
    font-weight: 300;
    margin-top: 2vw;
}

@media only screen and (max-width: 860px) {

    .bio {
    display: grid;
    justify-content: end;
    grid-template-columns:50vw;
    margin-top: 10vw;
}

  .bio-p {
    text-align: right;
    font-size: 16px;
    font-weight: 300;
    margin-top: 2vw;
}
}

/* Work */

.work {
    margin: 4vw;
    margin-top: 15vw;
    display: grid;
    grid-template-columns: repeat(2, 38vw);
}

.projects {
    margin: 3%;
    margin-bottom: -90px;
}

h2 {
    font-family: "Italiana", sans-serif;
    font-size: 10vw;
    font-weight: 400;
    margin: 0;
}

p {
    font-size: 20px;
    font-weight: 400;
    margin-top: 2vw;
}

.drawer-button-text {
    font-family: "Italiana", sans-serif;
    font-weight: 400;
    color: #EFEFEF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 17vw;
}

h4 {
    font-family: "Italiana", sans-serif;
    transform: rotate(90deg);
    transform-origin: center;
    font-weight: 100;
    font-size: 3vw;
    margin: 0;
}

h5 {
    transform: rotate(90deg);
    transform-origin: center;
    font-weight: 100;
    font-size: 2.5vw;
    margin: 0;
}

.drawer-img {
    height: 13vw;
    width: 20vw;
    object-fit: cover;
    border-radius: 15px;
}

.drawer-line {
    height: 1px;
    background-color: #EFEFEF;
}



.scroll-container {
    margin: 3%;
    margin-top: 1.5%;
    display: flex;
    overflow-x: auto;
    cursor: grab;
    /* padding: 1rem; */
    user-select: none;
    width: 100vw;
    height: 45vw;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

  .scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}
  
  .scroll-container:active {
    cursor: grabbing;
  }
  
  .button-drawer-pair {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }
  
  .toggle-btn {
    padding: 0.5rem 1rem;
    cursor: pointer;
    white-space: nowrap;
    background-color: #203627;
    border: 1px solid #EFEFEF;
    width: 12vw;
    height: 65vh;
    padding: 2vw;
    padding-top: 50px;
    border-radius: 10px;
  }
  
  .drawer {
    width: 0;
    overflow: hidden;
    /* background-color: #f0f0f0; */
    border: 1px solid #EFEFEF;
    /* padding: 1rem 0; */
    /* margin-left: 0; */
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .drawer.open {
    height: 60vh;
    width: 20vw;
    padding: 1rem;
    padding-top: 0%;
    padding-bottom: 2rem;
    background-color: #203627;
    border-radius: 10px;
    /* margin-bottom: 1rem; */
    /* margin-left: 1rem; */
    opacity: 1;
  }  

/* Contact */

.contact-container {
    display: flex;
    justify-content: center;
}

.contact {
    background-color: rgb(32, 54, 39, 0.9);
    border: 1px solid #EFEFEF;
    border-radius: 20px;
    width: 95%;
    padding: 30px;
    margin-top: 15vw;
    margin-bottom: 2vw;
}

.contact-body {
    display: flex;
    justify-content: space-between;
    align-items: last baseline;
}

.contact-h3 {
    display: flex;
    /* justify-content: end; */
    font-size: 100px;
}

.contact p {
    font-size: 16px;
    margin-bottom: 50px;
    width: 60%;
}

h6 {
    /* font-family: "Italiana", sans-serif; */
    font-weight: 600;
    font-size: 20px;
    margin: 0px;
    margin-top: 10px;
}

#contact {
    /* font-family: "Italiana", sans-serif; */
    font-size: 4vw;
    /* text-align: center; */
    font-weight: 400;
    text-transform: uppercase;
}

/* Footer */

footer {

}

.footer-line {
    width: vw;
    height: 1px;
    background-color:#EFEFEF;
    margin-bottom: 1vw;
}