body {
    /*color*/
    background: linear-gradient(#3e3e42, black);
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    justify-content: center; 
    align-items: center;   
    background: linear-gradient(#ffc914, #ffdb72);
    padding: 0.5em;
    margin: 0;
}

h1 {
    /*color*/
    color: white;

    /*font*/
    font-family: "Fascinate Inline", "sans-serif";
    font-size: 60px;

    /*border*/
    border: 0 solid #007acc;
    margin: 0;
    padding: 0.75em;
    z-index: 1;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px; 
  }

.logo {
    background-color: transparent;
    color: red;
    font-family: "WDXL Lubrifont TC", sans-serif;
    font-size: 60px;
    font-weight: bold;
    padding: 10px 10px;
    border-radius: 10px;
    border: 10px solid red;
    text-align: center;
    box-shadow: 0 15px 15px rgba(0,0,0,0);
    text-shadow: 15px 15px 15px rgba(0,0,0,0);
    z-index: 2;
    transform: rotate(10deg);
}

/*nav bar*/
nav {
    background: #1e1e1e;
    padding: 0.5rem 1rem;
    position: sticky;
    width: 100%;
    top: 0;
    box-sizing: border-box;
    z-index: 1000;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;   
    justify-content: center;   
    gap: 1.5rem;         
}

.nav-menu li {
    display: inline;
}

.nav-menu a:link,
.nav-menu a:visited {
    background: linear-gradient(#007acc, #0065a9);
    color: white;

    font-family: "Pacifico", sans-serif;
    font-size: 40px;

    border-radius: 10px;
    padding: 8px 15px;

    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, background 0.2s
}

.nav-menu a:hover,
.nav-menu a:active {
    background: linear-gradient(white, lightgrey);
    color: black;
    transform: scale(1.1);
}

/*headers*/

h2 {
    /*color*/
    color: white;
    text-align: center;
    font-family: "Playwrite US Modern", "sans-serif";
    font-size: 48px;
    font-style: bold;

    margin-bottom: 20px;
}

/*paragraphs*/
p {
    /*color*/
    background-color: #252525;
    color: white;

    text-align: justify;

    /*font*/
    font-family: "Trebuchet MS", "sans-serif";
    font-size: 24px;

    /*border*/
    border-style: solid;
    border-color: #333333;
    border-radius: 10px;
    padding: 20px;
    margin: 50px;
    margin-top: 0;

    overflow: auto;
}

/*images*/
.polaroid {
    background: white;               
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px 10px 30px 10px;   
    width: 500px;                    
    box-shadow: 0 4px 8px rgba(0,0,0,0);
    margin: 50px;
    float: left;                     
    text-align: center; 

    transform: rotate(-5deg); 
    transition: transform 0.3s; 
}

.polaroid:hover {
  transform: rotate(0deg) scale(1.05);
}
  
.polaroid img {
    width: 90%;
    border-radius: 5px;              
}
  
.polaroid .caption {
    margin-top: 10px;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 24px;
    color: #333;
}

/*contact buttons*/
.contact-buttons {
    display: flex;             
    justify-content: center;     
    gap: 20px;                  
    flex-wrap: wrap;             
    margin: 20px 0;              
}

.contact-buttons a {
    background: linear-gradient(#007acc, #0065a9);
    color: white;

    font-family: "Trebuchet MS", sans-serif;
    font-size: 32px;

    border-radius: 10px;
    padding: 10px 18px;

    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px;
    transition: transform 0.2s, background 0.2s, color 0.2s;

    height: 50px;
}

.contact-buttons a i {
    font-size: 50px;      
    vertical-align: middle; 
}

.contact-buttons a:hover, .contact-buttons a:active {
    background: linear-gradient(white, lightgrey);
    color: black;
    transform: scale(1.05); 
}

footer {
    background: linear-gradient(#1e1e1e, black);       
    padding: 1rem 0;
    text-align: center;
    clear: both;
  }
  
  .footer-content {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .footer-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(#007acc, #0065a9);
    color: white;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s, color 0.2s;
  }
  
  .footer-content a i {
    font-size: 24px;
  }
  
  .footer-content a:hover,
  .footer-content a:active {
    background: linear-gradient(white, lightgrey);
    color: black;
    transform: scale(1.05);
  }

  .site-name {
    color: white;
    font-family: "Trebuchet MS", sans-serif;
    font-size: 20px;
    text-align: center;
    width: 100%;
  }


/*projects*/
  .projects {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .projects h2 {
    width: 100%;
    text-align: center;
    font-family: "Playwrite US Modern", sans-serif;
    font-size: 36px;
    color: white;
    margin-bottom: 15px;
  }
  
  .projects h3 {
    text-align: center;
    font-family: "Playwrite US Modern", sans-serif;
    color: white;
  }

  .projects p {
    text-align: justify;
    color: white;
    background-color: transparent;
    border: transparent;
  }

  .project-card {
    position: relative;
    width: 300px; /* adjust as needed */
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    margin-bottom: 20px;
  }
  
  .project-card:hover {
    transform: scale(1.05);
  }
  
  .project-card img {
    width: 100%;
    height: 300px;
    display: block;
  }
  
  .project-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .project-card:hover .overlay {
    opacity: 1;
  }
  
  .project-card .overlay h3 {
    margin: 0;
    font-size: 24px;
  }
  
  .project-card .overlay p {
    margin: 5px 0 0;
    font-size: 16px;
  }

  .polaroid-strip {
  display: flex;
  flex-direction: row;
  gap: 20px;
  overflow-x: auto;
  padding: 20px;
  scrollbar-width: thin; /* Firefox */
}

.polaroid-strip::-webkit-scrollbar {
  height: 10px;
}
.polaroid-strip::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 5px;
}
.polaroid-strip::-webkit-scrollbar-track {
  background: #222;
}