

/* Globals */

:root {
    --violet: #552049;
    --white: #fff;
    --grid-items: #fff;
    --footer-text-and-tap-to-reveal: #fff;
    --footer-background: #0A0A0A;
    --light-red: #FF6B6B;
    --torquoise: #42DBC6;
    --light-blue: #428FDB;
    --orange-bittersweet: #EB7565;
    --orange-bittersweet-button-hovers: #EB7565;
    --orange-bittersweet-div-border: #EB7565;
    --orange-bittersweet-reveal: #EB756595;
    --night-black: #0A0A0A;
    --dark-blue: #1B1F3B;
    --cream: #FFF5E1;
    --dark-text: #030303;
    --grey-text: #525252;
    --theme-switcher-background: #525252;
    --projects-background: #C2C2FF80;
    --project-card-one: #42DBC6;
    --project-card-two: #EB7565;
    --project-card-three:#EB7565;
    --project-card-four:#42DBC6;
    --top-grid-hover: #4e4a59;

  }

  .darkmode {
    --violet: #1F1F1F;
    --white: #0A0A0A;
    --light-red: #1F1F1F;
    --torquoise: #1F1F1F;
    --light-blue: #1F1F1F;
    --orange-bittersweet: #1F1F1F;
    --orange-bittersweet-button-hovers: #EB7565;
    --orange-bittersweet-div-border: #ffffff;
    --orange-bittersweet-reveal: #00000095;
    --dark-blue: #1F1F1F;
    --footer-background: #1F1F1F;
    --cream: #0A0A0A;
    --night-black: #ffffff;
    --dark-text: #ffffff;
    --grey-text: #ffffff;
    --theme-switcher-background: #525252;
    --projects-background: #1F1F1F;
    --project-card-one: #3D3D3D;
    --project-card-two: #3D3D3D;
    --project-card-three:#3D3D3D;
    --project-card-four: #3D3D3D;
    --top-grid-hover: #4e4a59;
    --grid-items: #fff;
    --footer-text-and-tap-to-reveal: #fff;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Cabin', sans-serif;
    font-size: 100%;
    background-color: var(--white);
  }

  a {
    text-decoration: none;
  }


  img,
  svg {
    display: block;
    height: auto;
    max-width: 100%;
  }
  
  picture {
    display: block;
  }
  
  video {
    max-width: 100%;
    height: auto;
  }


  /* Normal CSS */


  /* Paws CSS Start */

  @keyframes pawsAppear {
    from {
      opacity: 0;
      scale: 0.5;
    }
    to {
      opacity: 1;
      scale: 1;

    }
  }

  #pawsView {
    display: inline;
    
    }

    #darkBgPawsView {
      display: inline;
      
      }


.paws-svg-1st-left {
  width: 40px;
  position: fixed;
  top: 5%;
  left: 40%;
  translate: -50% -50%;
  animation: pawsAppear 8s linear forwards;
 
}

.paws-svg-1st-right {
  width: 40px;
  position: fixed;
  top: 15%;
  left: 60%;
  translate: -50% -50%;
  animation: pawsAppear 8.5s linear forwards;
  

}


.paws-svg-2nd-left {
  width: 40px;
  position: fixed;
  top: 30%;
  left: 40%;
  translate: -50% -50%;
  animation: pawsAppear 9s linear forwards;

}

.paws-svg-2nd-right {
  width: 40px;
  position: fixed;
  top: 40%;
  left: 60%;
  translate: -50% -50%;
  animation: pawsAppear 9.5s linear forwards;

}


.paws-svg-3rd-left {
  width: 40px;
  position: fixed;
  top: 55%;
  left: 40%;
  translate: -50% -50%;
  animation: pawsAppear 10s linear forwards;

}

.paws-svg-3rd-right {
  width: 40px;
  position: fixed;
  top: 65%;
  left: 60%;
  translate: -50% -50%;
  animation: pawsAppear 10.5s linear forwards;
}


.paws-svg-4th-left {
  width: 40px;
  position: fixed;
  top: 80%;
  left: 40%;
  translate: -50% -50%;
  animation: pawsAppear 11s linear forwards;
}

.paws-svg-4th-right {
  width: 40px;
  position: fixed;
  top: 90%;
  left: 60%;
  translate: -50% -50%;
  animation: pawsAppear 11.5s linear forwards;

}

/* Paws CSS Finish */

#wordChanges {
text-align: center;
}


#jsBarneyVideo {
  position: fixed;
  top: 75px;
  z-index: 10;
 display: none;
 max-width: 95%;
}

.video-flex {
  display: flex;
  justify-content: center;
}


  .main-div-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    padding: 0px 20px;
  }

  nav label svg {
    fill: var(--dark-text);
  }

  #sidebar-active {
    display: none;
  }
.open-sidebar-button {
  padding: 0 20px;
  display: none;
  cursor: pointer;

}

.close-sidebar-button {
  padding: 0 20px;
  display: none;
  cursor: pointer;

}


  .flex-nav {
    margin-top: 1.25rem;
    margin-bottom: 2rem;
display: flex;
justify-content: space-between;
align-items: center;
height: 100%;
width: 100%;
    img {
      max-width: 10rem;
    }

    button {
      border: 0;
    }
  }

.toggle-with-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1rem ;


}

  
.black-btn {
  background-color: var(--night-black);
  display: inline-block;
  border-radius: 28px;
  color: var(--white);
  padding: 0.5rem 1.875rem;
  font-size: 1rem;
  font-family: poppins;
  transition: 0.20s all ease-in-out;
  cursor: pointer;

  &:hover {
    background-color: var(--orange-bittersweet-button-hovers);
    animation: hoverSizeIncrease 0.5s ease-in-out forwards;
   
  }

}

#jsThemeSwitchBtn  {
  height: 50px;
  width: 50px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--dark-text);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;

  &:hover {
    background-color: var(--orange-bittersweet-button-hovers);
    animation: hoverSizeIncrease 0.5s ease-in-out forwards;
  }

  svg {
    fill: var(--white);
  }
}

#jsThemeSwitchBtn svg:last-child {
  display: none;
}

.darkmode #jsThemeSwitchBtn svg:first-child {
  display: none;
}

.darkmode #jsThemeSwitchBtn svg:last-child {
  display: block;
}


#jslogo {
max-width: 150px;
}




 
#jslogo svg {
fill: var(--night-black);
  }





  .heading-large {
font-size: 3.5rem;
color: var(--dark-text);
line-height: 1.3;
font-family: "Poppins", sans-serif;
font-weight: 700;
font-style: normal;
margin-bottom: 1.875rem;
margin-top: 1.5rem;

  }

  .heading-medium {
    font-size: 2.5rem;
    color: var(--dark-text);
    line-height: 1.3;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 1.875rem;
    margin-top: 1.5rem;
  }

  .heading-small {
    font-size: 2rem;
    color: var(--dark-text);
    line-height: 1.4;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 1.875rem;
    margin-top: 1.5rem;
  }

  .text-large {
    font-size: 1.5rem;
    color: var(--grey-text);
    line-height: 1.5;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    font-style: normal;
    margin-bottom: 3rem;

  }

  p {
    font-size: 1.125rem;
    color: var(--grey-text);
    line-height: 1.5;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    font-style: normal;
    padding: 0.75rem 0rem;

  }

  .hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    h1 {
      max-width: 40.60rem;
      text-align: center;
      animation: appear 0.5s linear forwards;

    }

    p {
      text-align: center;
      max-width: 45.60rem;
      animation: appear 0.5s linear forwards;
  
  
    

    }
  }


  .grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; 
    grid-auto-rows: 180px;
    gap: 20px; 
  p {
    color: var(--grid-items);
    font-weight: 600;
  }

  img {
    max-width: 44px;

  }
    
  }
  
 

  .grid-items {
border-radius: 8px;
position: relative;

  }

  /* increase size of images I select and give the correct animation name  */
  @keyframes scaleUp {
    from {
      transform: scale(0);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }

  @keyframes slideInFromRight {
    from {
      transform: translateX(100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  @keyframes slideInFromLeft {
    from {
      transform: translateX(-100%);
      opacity: 0;
    }
    to {
      transform: translateX(0);
      opacity: 1;
    }
  }

  
  @keyframes slideUp {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    
    }
  }

  @keyframes hoverSizeIncrease {
    from {
      transform: scale(1);

    }

    to {
      transform: scale(1.05);

    }

  }

  @keyframes hoverSizeIncreaseTab {
    from {
      transform: scale(1);

    }

    to {
      transform: scale(1.03);

    }

  }


  @keyframes appear {
    from {
      transform: scale(0.5);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }


  
  @keyframes projectCardAppearLf {
    from {
      transform: translateX(-200px);
      opacity: 0;
    }
    to {
      transform: translateX(0px);
      opacity: 1;
    
    }
  }

  
  @keyframes projectCardAppearRt {
    from {
      transform: translateX(200px);
      opacity: 0;
    }
    to {
      transform: translateX(0px);
      opacity: 1;
    
    }
  }

/* keyframes for top used for grid items */
  
  @keyframes usedForAppearLf {
    from {
      transform: translateX(-200px);
      opacity: 0;
    }
    to {
      transform: translateX(0px);
      opacity: 1;
    
    }
  }

  
  @keyframes usedForAppearRt {
    from {
      transform: translateX(200px);
      opacity: 0;
    }
    to {
      transform: translateX(0px);
      opacity: 1;
    
    }
  }

  
  @keyframes usedForAppearBm {
    from {
      transform: translateY(200px);
      opacity: 0;
    }
    to {
      transform: translateY(0px);
      opacity: 1;
    
    }
  }

  

  @keyframes usedForappear {
    from {
      transform: scale(0.5);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }




  /* icons in top skills grid */  

    .grid-items p::before {
      content: attr(data-used);
      position: absolute;
      bottom: 1px;
      margin-bottom: -20px;
      transform: translateY(-30px) rotate(25deg);
      opacity: 0;
      transition: 200ms cubic-bezier(.42, 0, .44, 1.68);   
  
    }


  .grid-items p:hover::before {
    transform: translateY(-65px) rotate(0);
    opacity: 1;
  }

  
  .item1-js {
    grid-column: span 2; 
    grid-row: span 2; 
    background-color: var(--violet);
    cursor: pointer;
    transition: 0.20s all ease;
    animation: usedForAppearLf 0.50s;

    &:hover {
      background-color: var(--top-grid-hover);
   
    }

    
  
    p {
      position: absolute;
      bottom: 0px;
      left: 10px;
      width: 100%;
   
    }

    img {
      position: absolute;
      top: 10px;
      right: 10px;
    }
    }


  .item2-ui {
    grid-column: span 1; 
      grid-row: span 1;
      background-color: var(--light-red);
      cursor: pointer;
      transition: 0.20s all ease;
      animation: usedForappear 1.5s;

      &:hover {
        background-color: var(--top-grid-hover);
      }
      p {
        position: absolute;
        bottom: 0px;
        left: 10px;
        width: 100%;
      }
      img {
        position: absolute;
        top: 10px;
        right: 10px;
      }
  }
  
  .item3-html {
    grid-column: span 1; 
    grid-row: span 1;
    background-color: var(--torquoise);
    cursor: pointer;
    transition: 0.20s all ease;
    animation: usedForappear 1.25s;

    &:hover {
      background-color: var(--top-grid-hover);
    }
    p {
      position: absolute;
      bottom: 0px;
      left: 10px;
      width: 100%;
    }
    img {
      position: absolute;
      top: 10px;
      right: 10px;
    }
  }
  
  .item4-css {
    grid-column: span 2; 
    grid-row: span 1;
    background-color: var(--light-blue);
    cursor: pointer;
    transition: 0.20s all ease;
    animation: usedForAppearRt 0.50s;

    &:hover {
      background-color: var(--top-grid-hover);
    }
    p {
      position: absolute;
      bottom: 0px;
      left: 10px;
      width: 100%;
    }

    img {
      position: absolute;
      top: 10px;
      right: 10px;
    }
  }
  
  .item5-graphic {
    grid-column: span 2; 
    grid-row: span 1; 
    background-color: var(--orange-bittersweet);
    cursor: pointer;
    transition: 0.20s all ease;
    animation: usedForAppearBm 1s;

    &:hover {
      background-color: var(--top-grid-hover);
    }
    p {
      position: absolute;
      bottom: 0px;
      left: 10px;
      width: 100%;
    }

    img {
      position: absolute;
      top: 10px;
      right: 10px;
    }
  }
  
  .item6-ani {
    grid-column: span 2;
    grid-row: span 1; 
    background-color: var(--dark-blue);
    cursor: pointer;
    transition: 0.20s all ease;
    animation: usedForAppearRt 1.5s;

    &:hover {
      background-color: var(--top-grid-hover);
    }
    p {
      position: absolute;
      bottom: 0px;
      left: 10px;
      width: 100%;
    }

    img {
      position: absolute;
      top: 10px;
      right: 10px;
    }
  }


#jsUsedForReveal {
display: none;
justify-content: center;
align-items: center;
margin-bottom: 32px;
margin-top: -30px;
cursor: pointer;

p {
  color: var(--white);
  background-color: var(--dark-text);
  padding: 8px 20px;
  border-radius: 100px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
  position: relative;
 
}

}


  

  .flex-container {
    display: flex;
    gap: 30px;
    align-items: center;
   
    padding: 100px 0px;
    
  }
  
  
  .flex-item-image {
    flex: 1;
display: flex;
justify-content: center;
align-items: center;

    
  }
  
  
  .flex-item-text {
    flex: 1;
    position: relative;

    .orange-background-circle {
position:absolute;
right: 10px;
padding-top: 5px;

    }
    
  }
  
  
  .blue-background-circle img {
      height: 300px;
      width: 300px;
      animation: appear linear;
      animation-timeline: view();
      animation-range: entry 0 cover 40%;
    }

    
 
  
  .orange-background-circle {
    height: 150px;
    width: 150px;
    background-color: var(--orange-bittersweet);
    border-radius: 50%;
    overflow: hidden;
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
    
img {
      height: 150px;
}
    
  }



  .center {
    text-align: center;
  }

.top {
  margin-top: 100px;
}

.flex-container-fun {
display: flex;

 img  {
  max-width: 100px;
  animation: scaleUp 0.5s linear 0.5s forwards;
 }


}

.flex-item-my-bio {
flex: 1;
padding-right: 40px;
}



.flex-item-barney-bio{
flex: 1;
padding-left: 40px;
border-left: 1px solid var(--orange-bittersweet-div-border);

}

.my-bio-blue-background-circle img {
  height: 100px;
  width: 100px;
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0 cover 40%;
      }

  


.barney-bio-blue-background-circle {
  height: 100px;
  width: 100px;
  background-color: var(--orange-bittersweet);
  border-radius: 50%;
  overflow: hidden;
  animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;

  img {

    height: 100px;
      }

}

.reveal {
  background-image: url("../images/updated-barney-on-bed.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 8px;
  min-height: 600px;
  position: relative;
  overflow: hidden;


  &:hover {
    animation: hoverSizeIncrease 0.5s ease-in-out forwards;
  }

h2 {

  color: var(--footer-text-and-tap-to-reveal);
}
}

.reveal-overlay {
  position: absolute;
  border-radius: 8px;
width: 100%;
height: 100%;
  background-color: var(--orange-bittersweet-reveal);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.20s all ease-in-out;
  &:hover {
    cursor: pointer;
    background-color: rgba(235, 117, 101, 0.8);
   
  }

}


#popupRevealOverlay {
  display: none;
  background-color: rgba(0, 0, 0, 0.9);
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;

}

#popupVideoOverlay {
  display: none;
  background-color: rgba(0, 0, 0, 0.9);
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;

}




.close-icon {
  position: absolute;
  top: -25px;
  left: 50%;
  translate:-50%;
  cursor: pointer;
  img {
    width: 50px;
  }
}

.close-video-icon {
  position: absolute;
  top: -25px;
  left: 50%;
  translate:-50%;
  cursor: pointer;
  img {
    width: 50px;
  }
}





/* Start grid photo container and options */




#jsRevealGridContainer {
  position: relative;


}


.reveal-grid-container {
  display: none;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
gap: 10px;
background: white;
border-radius: 0.5rem;
width: 98%;
padding: 0.625rem;
position: absolute;
width: 90%;
top: -500px;
z-index: 10;
  
}


.item1 {
grid-row: 1 / span 2;
  order: 1;
}

.item2 {
 grid-row: 1 / span 1;
 order: 2;
}

.item3 {
grid-row: 1 / span 2;
  order: 3;
}

.item4 {
grid-row: 1 / span 1;
  order: 4;
} 


.item5 {
 grid-row: 1 / span 2; 
  order: 5;
}

.item6 {
 grid-row: 1 / span 1;
  order: 6;
}

.item7 {

  order: 7;
}

.item8 {
 grid-row: 2 / span 2;   
  order: 8;
}

.item9 {
order: 9;
}

.item10 {
   grid-row: 2 / span 2;   
  order: 10;
}

.item11 {
order: 11;
}

.item12 {
  grid-row: 2 / span 2;  
  order: 12;
}




/* End grid photo container and options */


.footer {
  background-color: var(--footer-background);
  padding: 20px 30px;
  margin-top: 60px;
  margin-bottom: 20px;
  border-radius: 8px;

  h2, p {
    color: var(--footer-text-and-tap-to-reveal);
  }

  div {
    display: flex;
    gap: 20px;
    justify-content: end;
  }

  img {
    width: 44px;
    cursor: pointer;
    animation: scaleUp 0.5s linear 1s forwards;

    
  }


}


/* project cards */

.flex-container-projects-card {
  display: flex;
  gap: 30px;
  padding-bottom: 3.125rem;

  h3 {
    margin: 0.5rem 0rem;
  }

  p {
    padding: 0rem 0rem 0.75rem 0rem;
  }

  img {
    width: 100%;
    height: auto;
  }

}

.flex-item-projects-card-1 {
  flex: 1;
  min-height: 500px;
  background-color: var(--project-card-one);
  border-radius: 8px;
  margin-top: 30px;
  transition: 0.20s all ease-in-out;
  animation: projectCardAppearLf linear;
animation-timeline: view();
animation-range: entry 0 cover 40%;


  &:hover {
    background-color: var(--cream);
    cursor: pointer;
    animation: hoverSizeIncrease 0.5s ease-in-out forwards;
  }


}





.flex-item-projects-card-2 {
  flex: 1;
  min-height: 500px;
  background-color: var(--project-card-two);
  border-radius: 8px;
  margin-top: 30px;
  transition: 0.20s all linear;
  animation: projectCardAppearRt linear;
animation-timeline: view();
animation-range: entry 0 cover 40%;

  &:hover {
    background-color: var(--cream);
    cursor: pointer;
    animation: hoverSizeIncrease 0.5s ease-in-out forwards;
  }
}


.flex-item-projects-card-3 {
  flex: 1;
  min-height: 500px;
  background-color: var(--project-card-three);
  border-radius: 8px;
  transition: 0.20s all ease-in-out;
  animation: projectCardAppearLf linear;
animation-timeline: view();
animation-range: entry 0 cover 40%;

  &:hover {
    background-color: var(--cream);
    cursor: pointer;
    animation: hoverSizeIncrease 0.5s ease-in-out forwards;
  }
  
}

.flex-item-projects-card-4 {
  flex: 1;
  min-height: 500px;
  background-color: var(--project-card-four);
  border-radius: 8px;
  transition: 0.20s all ease-in-out;
  animation: projectCardAppearRt linear;
animation-timeline: view();
animation-range: entry 0 cover 40%;

  &:hover {
    background-color: var(--cream);
    cursor: pointer;
    animation: hoverSizeIncrease 0.5s ease-in-out forwards;
  }
}


.project-image {

  img {
  border-radius: 8px 8px 0px 0px;

  }
  
}

.project-text {
  padding: 10px;

  h3, p {
    color: var(--dark-text);
  }
 
}

.projects-background {
  background-color: var(--projects-background);
}


.top-padding {
  padding-top: 1.875rem;
}



/* Responsive below */

/* CSS for bewtween 801px and 999px wide - just for issue with project card height*/
@media (min-width: 801px) and (max-width: 999px) {

  
.flex-item-projects-card-1 {
  min-height: 475px;
 }
 
 
 .flex-item-projects-card-2 {
  min-height: 475px;
 
 }
 
 
 .flex-item-projects-card-3 {
  min-height: 475px;
 
 }
 
 .flex-item-projects-card-4 {
  min-height: 475px;
  }
 

/* last curly bracket below for this media query, don't delete or put
anything for this media query below */
}


/* CSS for bewtween 601px and 800px wide - just for issue with projects imags that were to stretched.
I could have changed the image size but wanted to test fixing the issue with a media query instead*/
@media (min-width: 601px) and (max-width: 800px) {


  .flex-container-projects-card {
    flex-direction: column;

  }

 

/* last curly bracket below for this media query, don't delete or put
anything for this media query below */
}


/* CSS for bewtween 601px and 1000px wide - tablets in mind */
@media (min-width: 601px) and (max-width: 1000px) {



  .reveal-grid-container {
    display: none;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 0.625rem; 
    background: white; 
    border-radius: 0.5rem;
    position: absolute;
    width: 90%;
    top: -500px;
    z-index: 10;
  }
  

  .item1 {
    grid-row: 1 / span 1;
      order: 1;
    }
    
    .item2 {
     grid-row: 1 / span 1;
     order: 2;
    }
    
    .item3 {
    grid-row: 1 / span 1;
      order: 3;
    }
    
    .item4 {
    grid-row: 2 / span 1;
      order: 4;
    } 
    
    
    .item5 {
     grid-row: 2 / span 1; 
      order: 5;
    }
    
    .item6 {
     grid-row: 2 / span 1;
      order: 6;
    }
    
    .item7 {
      grid-row: 3 / span 1;   
      order: 3;
    }
    
    .item8 {
     grid-row: 3 / span 1;   
      order: 8;
    }
    
    .item9 {
      grid-row: 3 / span 1;   
    order: 9;
    }
    
    .item10 {
       grid-row: 4 / span 1;   
      order: 10;
    }
    
    .item11 {
      grid-row: 4 / span 1;   
    order: 11;
    }
    
    .item12 {
      grid-row: 4 / span 1;  
      order: 12;
    }
    
    

.flex-container {
    flex-direction: column;
    padding-top: 50px
  
  }


.flex-container-fun {
    flex-direction: column;
    
    }
 

.heading-large {
      font-size: 3.2rem;
      margin-bottom: 1.5rem;
      margin-top: 1.5rem;
        }


.heading-medium {
    font-size: 2rem;
    margin-bottom: 1.3rem;
  } 


.heading-small {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;

  }

.text-large {
  font-size: 1.3rem;
}



.flex-item-barney-bio{

  padding-left: 0px;
 border: none;
  
  }


.blue-background-circle img {
    height: 200px;
    width: 200px;

  }


  .orange-background-circle {

    margin-top: 20px;
    img {

      height: 150px;
    }
    
   }

.grid-container {
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    grid-auto-rows: 180px;
    gap: 10px; 

  img {
    max-width: 40px;

  }
    
  }
  


.container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
gap: 10px;

}


.container > div {
  background-color: #f1f1f1;
  border: 1px solid black;
  padding: 10px;
  font-size: 30px;
  text-align: center;
}



.close-icon {

  img {
    width: 40px;
  }
}

.close-video-icon {

  img {
    width: 40px;
  }
}

  
.flex-item-projects-card-1 {

  &:hover {
    animation: hoverSizeIncreaseTab 0.5s ease-in-out forwards;
  }
  
 }
 
 
 .flex-item-projects-card-2 {
 
  &:hover {
    animation: hoverSizeIncreaseTab 0.5s ease-in-out forwards;
  }
 
 }
 
 
 .flex-item-projects-card-3 {
 
  &:hover {
    animation: hoverSizeIncreaseTab 0.5s ease-in-out forwards;
  }
 }
 
 .flex-item-projects-card-4 {
  &:hover {
    animation: hoverSizeIncreaseTab 0.5s ease-in-out forwards;
  }
 
  }

  
.reveal {

  &:hover {
    animation: hoverSizeIncreaseTab 0.5s ease-in-out forwards;
  }


}

/* last curly bracket below for this media query, don't delete or put
anything for this media query below */

}



/* CSS for screens below or equal to 600px wide - mobiles in mind */
@media (max-width: 600px) {

.flex-container {
    flex-direction: column;
    padding-top: 40px
  
  }

.flex-container-projects-card {
    flex-direction: column;
  }

.flex-container-fun {
    flex-direction: column;
    
    }

  

  .orange-background-circle {

    margin-top: 20px;
    img {

      height: 150px;
    }
    
   }


.heading-large {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    margin-top: 1.2rem;
      
  }

.heading-medium {
    font-size: 1.8rem;
    margin-bottom: 1.3rem;

  }

  
.heading-small {
  font-size: 1.4rem;
  margin-bottom: 1.1rem;

}


.text-large {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

p {
  font-size: 1rem;
  color: var(--grey-text);
  line-height: 1.5;
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  font-style: normal;
  padding: 0.75rem 0rem;

}


.flex-item-barney-bio{

  padding-left: 0px;
 border: none;
  
  }


.grid-container {
    grid-template-columns: 1fr 1fr 1fr 1fr; 
    grid-auto-rows: 90px;
    gap: 10px; 

    p {
      font-weight: 500;
    }

  img {
    max-width: 30px;
  } 
  }

  .flex-nav {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 0;
    padding-top: 40px;
    padding-left: 20px;
    position: fixed;
    top: 0 ;
    right: -100%;
    z-index: 2;
    width: 300px;
    background-color: var(--white);
    box-shadow:-5px 0 5px rgba(0, 0, 0, 0.25);
    gap: 50px;
    transition: 0.75s ease-out;
  }

  .open-sidebar-button {
    padding-top: 20px;
    display: block;
    display: flex;
    justify-content: end;

  }

  .close-sidebar-button {
    padding-left: 0px;
    display: block;
  }

  #sidebar-active:checked ~ .flex-nav {
    right: 0;
  }

  #sidebar-active:checked ~ #sidebar-overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
  }

  
.close-icon {

  img {
    width: 30px;
  }
}

.close-video-icon {

  img {
    width: 30px;
  }
}


.flex-item-projects-card-1 {
  min-height: 0px;

  &:hover {
    animation: none;
  }
 }
 
 
 .flex-item-projects-card-2 {
  min-height: 0px;

  &:hover {
    animation: none;
  }
 
 }
 
 
 .flex-item-projects-card-3 {
  min-height: 0px;

  &:hover {
    animation: none;
  }
 
 }
 
 .flex-item-projects-card-4 {
  min-height: 0px;

  &:hover {
    animation: none;
  }
  }


  
.reveal {
  background-image: url("../images/barney_for_mobile.jpg");

  &:hover {
    animation: none;
  }


}

/* icons in top skills grid */
  
.item1-js {
  cursor: pointer;

  &:hover {
    animation: none;
  }

  }


.item2-ui {
 
    cursor: pointer;

    &:hover {
      animation: none;
    }

}

.item3-html {

  cursor: pointer;

  &:hover {
    animation: none;
  }
 
}

.item4-css {

  cursor: pointer;

  &:hover {
    animation: none;
  }
 
}

.item5-graphic {

  cursor: pointer;

  &:hover {
    animation: none;
  }
 
}

.item6-ani {
 
  cursor: pointer;

  &:hover {
    animation: none;
  }

}


.black-btn {

  cursor: pointer;
  &:hover {
  animation: none;
 
}

}

#jsThemeSwitchBtn  {

cursor: pointer;

  &:hover {

  animation: none;
 
}
}

.grid-items p::before {
  content: "";

}


.reveal-grid-container {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0.625rem; 
  background: white; 
  border-radius: 0.5rem;
  position: absolute;
  width: 90%;
  top: -550px;
  z-index: 10;
}


.item1 {
  grid-row: 1 / span 1;
    order: 1;
  }
  
  .item2 {
   grid-row: 1 / span 1;
   order: 2;
  }
  
  .item3 {
  grid-row: 2 / span 1;
    order: 3;
  }
  
  .item4 {
  grid-row: 2 / span 1;
    order: 4;
  } 
  
  
  .item5 {
   grid-row: 3 / span 1; 
    order: 5;
  }
  
  .item6 {
   grid-row: 3 / span 1;
    order: 6;
  }
  
  .item7 {
    grid-row: 4 / span 1;   
    order: 3;
  }
  
  .item8 {
   grid-row: 4 / span 1;   
    order: 8;
  }
  
  .item9 {
    grid-row: 5 / span 1;   
  order: 9;
  }
  
  .item10 {
     grid-row: 5 / span 1;   
    order: 10;
  }
  
  .item11 {
    grid-row: 6 / span 1;   
  order: 11;
  }
  
  .item12 {
    grid-row: 6 / span 1;  
    order: 12;
  }
  
  




/* last curly bracket below for this media query, don't delete or put
anything for this media query below */
}

