/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: 'Basis Grotesque';
    src: url('/Fonts/basis-grotesque-regular.ttf') format('truetype');
 }

 @font-face {
    font-family: 'Bassis Grotesque Off-White';
    src: url('/Fonts/basis-grotesque-off-white.ttf') format('truetype');
 }



/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
    width: 0.6rem;
    border-radius: 0.5rem;
    background-color: hsl(0, 0%, 66%);
    display: none;
}

::-webkit-scrollbar-thumb {
    background-color: hsl(0, 0%, 54%);
    border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
    background-color: hsl(0, 0%, 44%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: auto;
}

.container {
    padding: 0 60px;
}

.grid {
    display: grid;
}

main {
    overflow: hidden;
}

.container {
    max-width: 968px;
    margin-left: 1rem;
    margin-right: 1rem;
  }

.header {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #757575;
}

.dark_link {
    text-decoration: underline;
    color: #000;
}

a:hover {
    text-decoration: underline;
    color: #000;
}

.nav_logo-img {
    max-height: 3.5rem;
    margin: 0.5rem 0;
}

.nav {
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Basis Grotesque', sans-serif;
    position: fixed;
    background-color: #fff;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.15);
    width: 100%;
    padding: 0 300px;
    z-index: 100;
}

.nav_link[aria-current="page"] {
    text-decoration: underline;
    color: #000;
}

.nav_list {
    grid-template-columns: repeat(4, 0fr);
    gap: 10px;
}

.nav_menu {
    justify-content: space-evenly;
}

main {
    font-family: 'Lora', serif;
}

.projects_title {
    margin: 150px 0 40px 0;
}

h1 {
    font-size: 60px;
    font-weight: 400;
}

h2 {
    margin: 60px 0 20px 0;
    font-size: 30px;
    font-weight: 400;
}

h3 {
    font-size: 25px;
    font-family: 'Lora';
    font-style: normal;
    font-weight: 400;
}

#projects {
    margin: 60px 300px;
}

#project_page {
    margin: auto;
    width: 835px;
}

.project_details {
    width: 505px;
}

.project_details-text {
    margin: 20px auto;
}

p {
    line-height: 30px;
    font-size: 20px;
    font-family: 'Basis Grotesque', sans-serif;
}

hr {
    margin: 15px 0;
}

.main_img {
    height: 560px;
    width: 835px;
    object-fit: cover;
    object-position: center;
    margin: 40px 0 auto;
}

.project_imgs {
    justify-content: center;
    margin: 40px auto;
}

.project_img {
    margin: 20px auto;
    width: 835px;
}

.margin-30 {
    margin: 30px auto;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-0 {
    margin-top: 0px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-80 {
    margin-top: 80px;
}

.no-margin {
    margin: 0 auto;
}

.blobs {
    margin-top: 80px;
}

.project-list {
    margin-left: 25px;
    list-style: outside;
    line-height: 30px;
    font-family: 'Basis Grotesque', sans-serif;
}

.video {
    margin: auto;
    width: 100%;
}

.contact_link {
    text-decoration: underline;
}

footer {
    display: flex;
    margin: 80px;
    justify-content: right;
    font-family: 'Basis Grotesque', sans-serif;
}

.next-page_arrrow {
    margin-left: 20px;
}

.next-page {
    color: #000;
}



/* breakpoints */


@media (max-width: 1750px) {

    .container {
        margin-left: auto;
        margin-right: auto;
      }
    
    .nav {
        padding: 0 60px;
    }

    #projects {
        margin: 60px;
    }

}

@media (max-width: 800px) {
    
    #projects {
        margin: 20px;
    }
    
    #project_page {
        margin: auto;
        width: 580px;
    }
    
    .project_details {
        margin: auto 0;
        width: 520px;
    }

    h1 {
        margin: 100px 0 50px 25px;
        font-size: 30px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 20px;
    }

    .main_img {
        height: 350px;
        width: 550px;
    }

    .project_imgs {
        margin: auto;
        width: 580px;
    }

    .project_img {
        /* margin: 20px; */
        width: 550px;
    }

    .project_details-text {
        /* margin: 20px; */
        width: 550px;
    }

    .video {
        width: 580px;
    }

    footer {
        margin: 80px 20px;
    }
    
}

@media (max-width: 420px) {

    .nav {
        flex-direction: row-reverse;
        padding: 0 20px;
    }

    .nav_menu {
        justify-content: space-evenly;
        /* visibility: hidden; */
    }

    .nav_list {
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
        position: absolute;
        top: 4rem;
        background-color: #fff;
        width: 100%;
        height: 40vh;
        left: 0;
      }
      
      .nav_link {
        display: flex;
        flex-direction: column;
        align-items: left;
        margin-left: 20px;
      }
      
      .nav_icon {
        font-size: 1.2rem;
      }
      
    .nav_close,
    .hamburger {
      position: absolute;
      font-size: 1.5rem;
      top: 1.5rem;
      left: 1.3rem;
      width: 30px;
      height: 30px;
    }

    /* show menu */
.show-menu {
    top: 0;
  }
  
  .hide-toggle {
    display: none;
  }

    #projects {
        margin: 20px;
    }
    
    #project_page {
        margin: auto;
        width: 80vw;
    }
    
    .project_details {
        width: 200px;
    }

    h1 {
        margin: 100px 0 50px 15px;
        font-size: 30px;
    }

    p {
        font-size: 16px;
    }

    .main_img {
        height: 220px;
        width: 80vw;
    }

    .project_imgs {
        margin: auto;
        width: 80vw;
    }

    .project_img {
        /* margin: 20px; */
        width: 100%;
    }

    .project_details-text {
        width: 80vw;
    }

    .video {
        width: 100vw;
        padding: 20px;
    }
    
}

@media screen and (min-width: 768px) {
    
    .nav {
        height: calc(var(3.5rem) + 1.5rem);
        column-gap: 1rem;
      }
      .nav_icon,
      .nav_close,
      .nav_toggle {
        display: none;
      }
      .nav_list {
        display: flex;
        column-gap: 2rem;
      }
      .nav_menu {
        margin-left: auto;
      }

    }
