/*CSS vars*/
:root {
    --primary-color: #d5dbe4;
    --secondary-color: #8594a9;
    --accent-color: #88ade2;
    --background-color: #161418;
}

/*reset*/
/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-decoration: none;
    color: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/*end of reset */

html {
    display: flex;
    justify-content: center;
    padding: 0 70px 120px 70px;
    background-color: var(--background-color) ;
}

body {
    max-width: 860px;
    color: var(--primary-color);
    font-family: "IBM Plex Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: normal;
    font-size: 16px;
}

#Project_list {
    display: grid;
    grid-template-columns: max-content max-content ; /* Creates 2 equal-width columns */
    grid-gap: 60px 100px;    
    margin-top: 45px;
    margin-bottom: 100px;
}

.Project_item {
    width: fit-content; /* Ensure width fits content */
}


.Project_description {
    display: flex;
    flex-direction: column;
    gap: 3.5px;
    color: var(--secondary-color);
}


h2{
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 13.5px;
    font-weight: 500;
}


#blurb{
    max-width: 700px;
    font-size: 24px;
    line-height: 150.5%; /* 39.006px */
    margin-top: 50px;
    margin-bottom: 70px;  
}


.Text_project_metadata{
    color: var(--primary-color);
}

a{color: var(--primary-color);}

a:hover{color: var(--accent-color);}

.Link_external::after {
    content: url('arrow.svg');
    display: inline-block;
    margin-left: 3px;
    margin-top: 1px;
    vertical-align: middle;
    transition: transform 0.1s ease-out;
    transform-origin:50% 45%;
}

.Link_external:hover::after {
    transform: rotate(45deg);
  }

.Link_copy::after {
    content: url('copy.svg');
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
}

  
.Link_seperator{
    margin: 0 15px 0 15px;
  }
  
  .Link_seperator {
    margin: 0px 10px 0px 8px;
  }

  #Links {
    display: flex;
    flex-direction: row;
    gap: 60px;
    margin-top: 25px;
  }
  
  #logo { 
    display: block; 
    width: auto; /* Default width */ 
    height: auto; /* Maintain aspect ratio */ 
    }

.hidden {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-in {
    opacity: 1;
}


/*medium screens*/
@media (max-width: 1024px) {

    html{padding: 0 80px 100px 80px;}

    h1{font-size: 26px;}

    .Project_item p, a {font-size: 17px;}

    h2 {font-size: 14px;}

    #blurb{
        font-size: 26px;
        margin-top: 50px;
        margin-bottom: 50px;
        }

    #Project_list {
        grid-gap: 50px 130px;    
        margin-top: 40px;
        margin-bottom: 80px;
    }

    .Project_description {
        gap: 5px;
    }
}

/*small screens*/
@media (max-width: 640px) {

    html{padding: 0 30px 80px 30px;}

    h1{font-size: 22px;}

    #blurb{
        font-size: 23px;
        margin-bottom: 50px;
        }

    #Project_list {
        grid-template-columns: 1fr; /* Single column for mobile view */
        gap: 50px;
        margin-top: 30px;
        margin-bottom: 80px;
    }


    #Links_module {
        margin-top: 20px;
      }

} 
    