      body {
        margin: 0;
        padding: 0;
        font-family: Arial, sans-serif;
        background-color: #131313; /* change this value to change the colour of the bar on the homescreen */
		overflow-x: hidden;  /* prevents horizontal scrolling as cards was creating a blank space on right side of screen */
      }

     
.hero-space {
    width: 87%;              /* 87% width of the screen */
    height: 100vh;            /* full height of the viewport */
    background-color: #141414; /* blank colour hexadecimal */
    margin-left: auto; /* puts the remaining 13% on the left side of screen */
    padding: 0;
    box-sizing: border-box;
    display: flex;            /* enable flex layout */
    flex-direction: column;   /* stack children vertically */
    justify-content: left;  /* vertically center content */
    align-items: left;      /* horizontally center content */
}



.intro-line {  			 /* home page intro */
        font-family: Arial, sans-serif;
        position: relative; /* ensures it layers over .hero-space */
        text-align: centre;    
		margin-top: 12vh; 
		left: 5%; /* increases left margin size by 5% */
		color: white; /* blog post font colour */
      }

.intro-line.main{		/* I have seperated intro line main & sub in HTML to change font size in CSS */
	font-size: 76px;
	font-weight: 700; /* makes font bold. 400 is normal, 700 is bold. Some fonts support 300-900. */
}

.intro-line.sub{
	font-size: 32px;
	margin-top: 5px; /* gap between bottom of .main and top of .sub */
	color: #777777;
}

.intro-line.photo{
	font-size: 48px;
	margin-top: 60px; /* gap between bottom of .main and top of .sub */
	color: white;
}


.intro-line.about{    /* intro header for about me section */
	font-size: 62px;
	font-weight: 700;
	margin-top: 26vh;
	margin-left: 6%;
}

.about-container{     /* container for about me section */
width: 65%;
margin-left: 15%;

}

.about-post{       /* post style for about me section */
font-size:22px;
line-height: 1.6;
margin-top: 30px;
text-align: left;
color: #777777;
}

.intro-line.contact{    /* intro header for about me section */
	font-size: 62px;
	font-weight: 700;
	margin-top: 14vh;
	margin-left: 6%;
}

.form-container{
    text-align: center;
    

}

.cards-container {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    padding: 100px;
	align-items: stretch; 		/* tells all cards in the row to stretch to the height of the tallest card */
   }

.card {
    width: 330px; /* was 325 */
    background-color: #1e1e1e;
    border-radius: 12px; /* creates rounded corners on the cards */
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* animation for the hover shadow effect */
	display: flex; 				/* makes content of the cards display correctly when using 'stretch' in .cards-container */
	flex-direction: column; 	/* makes content of the cards display correctly when using 'stretch' in .cards-container */
	
}



.card:hover {
    transform: scale(1.05); /* how large of an increase in size the hovered object should have */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); /* adds shadow when hovered */
   
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover; 
}

.card-body {
    padding: 14px;
}

.card-title {
    color: #ffffff;
    font-size: 16px;
    margin: 0 0 10px 0;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.pill {
    background-color: #333;
    color: #ccc;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
}



.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  
}

.card--large{	/* creating card--large in .html allows me to utilize and modify the attributes of .card without having to create a near identical class */
width:775px; 	/* be sure to put secondary class (card--large) below the original class (.card) */
margin-top: -80px;   /* negative number moves margin farther up the page */
}
.card--large img{
height: 450px;
	
}
.card--large:hover {
    transform: none;
    box-shadow: none;
}



#header1 {
        position: absolute; /* locks the item in place on the page. Use fixed if it needs to be locked in place on the screen */
        top: 20px;
        left: 50%;
        transform: translate(-50%, 0);
        text-align: center;
        color: white;
        z-index: 1;
        font-size: 2.5em;
      }
      
     
#header2 {
        position: absolute;
        top: 280px;
        left: 50%;
        transform: translate(-50%, 0);
        text-align: center;
        color: Off White;
        z-index: 1;
        font-size: 1.7em;
      }
      
      .blog {
        margin-top: 0px;
        margin-bottom: 10px;
        padding: 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
      }
	


     .container {
      display: flex;
      }

  
.left-container { /* contains links to about, full blog, contact */
    width: 12%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.left-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
text-align: center;
}

.left-container ul li a { /* font control for left-side nav column about, full blog, contact */
    color: #777777;
    text-decoration: none;
    font-size:28px;
}

.left-container ul li a:hover {   /* left-container unordered list list anchor:hover */
    color: #aaaaaa;
}

 .left-container a{     /* left container anchor rules here */
	font-size: 21px; 
    color: white;
	padding 10px 0; /* padding for white line */
	border-bottom: 1px solid #444; /*adds white line under each ul item--#444 is colour of line */
     }

 .left-container--home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    }

    .left-container--home a { /* here I specifically target '.left-container home a' (a=anchor) to remove the 1px border-bottom line inherited from '.left-container home a' on my home logo anchor */
    border-bottom: none;
    }

    .left-container--home img{ /* targetting the image directly to modify size */
        width: 175px; /* was 200 */
        
    }
    .left-container--home img:hover {
    opacity: 0.9;        /* slight fade on hover-- homescreen logo */
}

.left-container--bottom{
position: absolute;
display: flex;
padding: 20%;
gap: 13px;
bottom: 0;
left: 0;
align-items: center;
}

.left-container--bottom img{
width: 34px;
}

.left-container--bottom a { 
    border-bottom: none;
}

.left-container--bottom img:hover {
    opacity: 0.8;        /* slight fade on hover-- bottom left logos indeed, linkedin, tiktok */
}

.right-container {
  width: 87%; /* usually 100% */
  margin-left:auto; /* I added this, delete it if it doesn't work */
  
 
}
	 .post {   /* blog posts */
        width: calc(90% - 90px);
        margin: 10px;
        background: #202020; /* blog post background colour */
        padding: 20px;
        box-sizing: border-box;
        font-size: 18px; 
        color: #999999; /* blog post font colour */
      }
            ul {
             font-size: 21px; /* Adjust the desired font size for my months/year */
             color: white;
              }
            ul li a {
            display: inline-block;
         	color: white; 
    }

    .media-container {      /* media container holds my media items, allowing me to have multiple pics/vids in a row */
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 50px 100px 100px 100px; /* top, right, bottom, left adjustment for padding around media items */
    margin-top: 10px; /* moves media items down the page, use negative number to move them up */
    
    }

.media-item {
    width: 450px;
    margin: 0 auto;
  
}

.media-item img, /* comma allows me to apply this to both img and video--note that img and video is targeting the img and video tags in html and applying rules to them */
.media-item video {
    width: 100%;
    height: auto;
    border-radius: 12px;
    
}

.media-container--photo{ /* a modification of the media-container for the photography page, justify content center pulls everything together in the middle */
    justify-content: center;
    align-items: center;
    gap:0px;
    padding: 0 0 0px 0;
}

.media-item--large{ /* this expands the media-item container to match the image.Must have media-item--large and media-item--large img, without img width 100% the image will burst out of the container and not align properly */
 width: 470px;
 padding: 13px;
 margin: 0;
}

.media-item--large img{
 width: 100%;
 height: 325px;
 object-fit: fill;
border-radius:12px
}

.media-item--web{
    width: 690px;
    padding:5px;
    margin: 0 auto; /* this centers the container */
    margin-left:0;
    
    }

    .media-item--web img{
     width: 100%;
      height: 460px;
       object-fit: fill;
       border-radius:12px
       }

.scroll-text {
  font-size: 32px;
  position: absolute;
  font-weight: 700;
  bottom: 50px;
  text-shadow: 
  -2px -2px 0 #131313,
   2px -2px 0 #131313,
  -2px  2px 0 #131313,
   2px  2px 0 #131313;
  left: 0;
  right: 0;
  text-align: center;
  color: #0a2910;
}


.below-image-text{
    width: 450px;
    font-size: 18px;
     background: #202020; /* blog post background colour */
    padding: 8px;
    box-sizing: border-box;
    margin-top: 5px;
     border-radius: 12px;
    color: #999999
   
    }

   
  



    /*  Style for the Back to Top link */
    .back-to-top {
      position: sticky; /* behaves like position fixed but only within its parent container. Once the user is no longer in the parent container (right-container for my website) it dissapears */
      top: 30px;
      display: block;
      width: fit-content; /* shrinks to content size */
      margin-left: 40px; /* controls left spacing */
      padding: 1px;
      text-decoration: none;
      border-radius: 12px;
      z-index: 999;
    }
    .back-to-top img {
        width: 55px;
        height:65px;
    }

    .back-to-top:hover {
      background-color: #202020;
    }















@media (max-width: 768px) {

  .left-container {
    width: 100%;
    height: auto;
    position: relative;
    top: auto;
    left: auto;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #333;
    box-sizing: border-box;
  }

  .left-container ul {
    display: flex;
    flex-direction: row;
    gap: 16px;
  }

  .left-container ul li a { font-size: 16px; }

  .left-container--home {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
  }

  .left-container--home img { width: 60px; }

  .left-container--bottom {
    position: relative;
    bottom: auto;
    left: auto;
    padding: 0;
    gap: 10px;
  }

  .left-container--bottom img { width: 24px; }

  .hero-space {
    width: 100% !important;
    margin-left: 0 !important;
    height: auto;
  }

  .right-container {
    width: 100% !important;
    margin-left: 0 !important;
    box-sizing: border-box;
  }

  .post {
    width: 100%;
    margin: 0 0 10px 0;
    box-sizing: border-box;
  }

  .blog {
    padding: 0;
  }

  .cards-container {
    padding: 20px;
    gap: 16px;
  }

  .card { width: 100%; }
  .card--large { width: 100%; margin-top: 0; }

  .media-container { padding: 10px !important; }

  .media-item,
  .media-item--large,
  .media-item--web {
    width: 100%;
    padding: 6px;
    box-sizing: border-box;
  }

  .media-item--large img,
  .media-item--web img { height: auto; }

  .below-image-text { width: 100%; box-sizing: border-box; }

  .intro-line.main    { font-size: 40px; }
  .intro-line.sub { font-size: 20px; margin-top: -2px !important; }
  .intro-line.photo   { font-size: 28px; }
  .intro-line.about,
  .intro-line.contact { font-size: 36px; margin-left: 4%; margin-top: 10vh; }
  .intro-line {
  margin-top: 3vh !important;
}

  .about-container { width: 90%; margin-left: 5%; }
  .about-post { font-size: 17px; }
  
* {
  max-width: 100%;
  box-sizing: border-box;
}
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

  .back-to-top{
    display :none !important;
}
  .scroll-text {
  display: none !important;
}

}