@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap');

:root {
  --primary-color: hsl(180,5%,31%); 
  --secondary-color: hsl(8, 100%, 68%); 
  --background-color: hsl(17, 47%, 97%); 
  --accent-color: hsl(172, 70%, 39%); 
  --dark-color: hsl(16, 19%, 27%); 
  
  --text-color: darkgray; 
  --link-color: darkgray; 
  --link-hover-color: #0056b3; 
}

body {
  background-color: var(--background-color);
  background-image: url("/assets/images/winston_background.png");
  background-repeat: no-repeat;
  background-position:  50% 100%;
  


  /* Typography Settings */
  color: var(--text-color);
  font-family: "Cabin", sans-serif;
  font-size: 1.2em; 
  line-height: 1.2;


  margin: 0;
  padding: 0;

  height: 100svh;
  width: 100vw;

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


@media screen and (max-height: 650px) {
  body {
    background-image: none;
  }
}


.content-container {
margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items:center;
  justify-content: center;
gap: 2rem;
svg { fill: darkgray; }
}

.content-seperator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .2rem;
}

a {
  color: var(--link-color);
  text-decoration: none; /* Removes underline from links */
}

a:hover,
a:focus {
  color: var(--link-hover-color);
  svg { fill: var(--link-hover-color); }
}

/* Headers styling */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  margin-top: 0;
}

/* Button styling */
button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s; /* Smooth transition for hover effect */
  cursor: pointer;
}

button:hover {
  background-color: var(--secondary-color);
  color: white;
}

/* Additional container for content */
.container {
  max-width: 1200px; /* Maximum width of the container */
  margin: 0 auto; /* Centers the container */
  padding: 20px;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.bg-primary {
  background-color: var(--primary-color);
  color: white; /* Ensuring text is visible on primary background */
}

.bg-secondary {
  background-color: var(--accent-color);
  color: white; /* Ensuring text is visible on secondary background */
}

.sr-only {
  	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important; /* 1 */
	-webkit-clip-path: inset(50%) !important;
		clip-path: inset(50%) !important;  /* 2 */
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	white-space: nowrap !important;            /* 3 */ 
}

header {
 
 position: sticky; 
top: 0;
  
  background-color: var(--primary-color);
 box-shadow: 0 0 5px rgba(0,0,0,0.8);
  display: flex;
  justify-content: space-between; 


.mobile-nav-toggle {
    
    position: absolute;
    z-index: 9999; 
    width: 2rem; 
    aspect-ratio: 1;
    top: 1rem; 
    right: 2rem;
    background: url("/assets/images/hamberger-icon.svg");
    background-repeat: no-repeat; 

  
  }



  nav {

    ul {
      list-style: none;
      padding: 0;
      margin: 0;
      margin-right: 2em;
      display: flex;
      gap: 3em; 
      line-height: 4;
    }
   
    text-transform: uppercase;
    
    a {
      font-size: 1.124em;
      text-shadow: .5px .5px 1px rgba(0,0,0,0.8);
      color: goldenrod;
    }

    a:hover, a:active {
      color: #b8860b;
    }

  }

}

.content-grid{
  display: grid; 
  grid-template-columns: repeat(12, minmax(0, 1fr));  
  gap: 10px;
}

#james_signature_svg {
 min-height: 3em;
 margin: .5em; 
 grid-column: 3/11;

 stroke: darkgray; 

 max-height: 70px;
    rotate: -4deg;
    
@media( width > 800px ) {
  grid-column: 6 / 8;

  }

@media( width > 2000px ) {
    grid-column: 6 / 8;
  }


path {
    //filter: drop-shadow(.5px .5px 1px rgba(0,0,0,0.8));
}

}

/* Styled Sections */

#intro {

  display: grid; 
  place-content: center;

    height: 80svh;

    background: url("/assets/images/PXL_20220312_221022300.jpeg");
    background-size: cover;
    background-position: center; 
    grid-column: 1/13;

 mix-blend-mode: luminosity; 

  svg {
    margin: 20px 10px; 
  }

  h1 {
    color: #eee;
    font-size: 4rem;
  }
}

#projects {
  height: 50svh;
  place-content: center;
  grid-column: 1 / 13;
}
