* {
  box-sizing: border-box;
  font-family: "Comfortaa", sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Comfortaa", sans-serif;
  font-size: 1rem;
}

.cover {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.background-image {
  opacity: 0.07;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hero {
  display: flex;
  flex-direction: row;
  align-items: center; /* Center items vertically */
  justify-content: center;
  width: 100%;
  text-align: center;
}

.my-container {
  display: flex;
  align-items: center; /* Center content vertically */
  justify-content: center; /* Center content horizontally */
  height: 100vh;
  margin: 0 !important;
  width: 100% !important;
  position: relative;
  background-color: #4162c7;
  background-image: linear-gradient(315deg, #4162c7 0%, #283c7a 74%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.greeting {
  align-items: center;
  color: #eee;
  display: flex;
  flex: 1;
  flex-direction: column;
  font-size: 4rem;
  justify-content: center;
}

.sean {
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: center;
}

.sean img {
  border: 5px solid white;
  border-radius: 50%;
  height: auto;
  width: 50%; /* Adjust width as needed */
}

.buttons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.button {

  border: 1px solid #D95F02;
  border-radius: 5px;
  background: #D95F02;
  color: #eee;
  padding: 10px 20px;
  text-decoration: none !important;
  margin-right: 10px;
  width: 250px;
  font-size: 1rem;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  opacity: 0; /* Initially hidden */
  
}

.btn-portfolio {
  animation: slideInLeft 0.5s forwards; /* Ensures that the final state keeps the styles set at the end of the animation */
}

.btn-portfolio:hover {
  background-color: #ff7e00;
  border: 1px solid #D95F02;
}

.btn-sean {
  animation: slideInUp 1.5s forwards;
  background-color: #e0e0e0;
  border: 1px solid #e0e0e0;
  color: #d95f02;
}

.btn-sean:hover {
  background-color: #D95F02;
  border: 1px solid #D95F02;
  color: #eee;
}

.button:first-child {
  animation-delay: 0.7s; /* Delay for the first button */
}

.button:last-child {
  animation-delay: 1.2s; /* Delay for the second button */
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}





/* parallax */

.parallax-container {
  position: relative;
  overflow: hidden;
  height: 400px; /* Adjust height as needed */
}

/* .parallax-background-1 {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 150%; 
  background-image: url('https://seanstapleton.ca/parallax-1.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  transform: translateZ(0);
  z-index: 1;
} */

.parallax-background-1 {
  position: absolute;
  top: -225;
  left: 0;
  width: 120%;
  height: 180%; /* Adjust if needed */
  background-image: url('https://seanstapleton.ca/parallax-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll; /* Change to scroll for JS handling */
  z-index: 1;
}

.content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column; /* Ensures vertical layout of child elements */
  align-items: center; /* Center content horizontally */
  justify-content: center; /* Center content vertically */
  z-index: 2;
}

.remove-padding {
  padding: 0 !important;
}


/* parallax cards */

.hobbies-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 50px;
}


.card-container {
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
	-webkit-perspective: 1000px;
	        perspective: 1000px;
}

.pcol{
  width: calc(25% - 2rem);
  margin: 1rem;
  cursor: pointer;
}

.card-container{
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
	-webkit-perspective: 1000px;
	        perspective: 1000px;
}

.front,
.back{
  background-size: cover;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.25);
  border-radius: 10px;
	background-position: center;
	-webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
	transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
	-o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
	transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
	transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
	-webkit-backface-visibility: hidden;
	        backface-visibility: hidden;
	text-align: center;
	min-height: 280px;
	height: auto;
	border-radius: 10px;
	color: #fff;
	font-size: 1.5rem;
}

.back{
  background: #cedce7;
  background: -webkit-linear-gradient(45deg,  #cedce7 0%,#596a72 100%);
  background: -o-linear-gradient(45deg,  #cedce7 0%,#596a72 100%);
  background: linear-gradient(45deg,  #cedce7 0%,#596a72 100%);
}

.front:after{
	position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    content: '';
    display: block;
    opacity: .6;
    background-color: #000;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    border-radius: 10px;
}
.card-container:hover .front,
.card-container:hover .back{
    -webkit-transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    -o-transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
    transition: transform .7s cubic-bezier(0.4, 0.2, 0.2, 1), -webkit-transform .7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.back{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.inner{
    -webkit-transform: translateY(-50%) translateZ(60px) scale(0.94);
            transform: translateY(-50%) translateZ(60px) scale(0.94);
    top: 50%;
    position: absolute;
    left: 0;
    width: 100%;
    padding: 2rem;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    outline: 1px solid transparent;
    -webkit-perspective: inherit;
            perspective: inherit;
    z-index: 2;
}

.card-container .back{
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
}

.card-container .front{
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
}

.card-container:hover .back{
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}

.card-container:hover .front{
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}

.front .inner p{
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.front .inner p:after{
  content: '';
  width: 4rem;
  height: 2px;
  position: absolute;
  background: #C6D4DF;
  display: block;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -.75rem;
}

.front .inner span{
  color: rgba(255,255,255,0.7);
  font-family: 'Montserrat';
  font-weight: 300;
}

@media screen and (max-width: 64rem){
  .pcol{
    width: calc(50% - 2rem);
  }
}

@media screen and (max-width: 48rem){
  .pcol{
    width: calc(50% - 2rem);
  }
}

@media screen and (max-width: 32rem){
  .pcol{
    width: 100%;
    margin: 0 0 2rem 0;
  }
}

.hobbies {
  font-size: 1.2rem;
  padding-top: 100px;
  text-align: center;
  width: 100%;
}

.disclaimer {
  background-image: url('https://seanstapleton.ca/calgary.jpg');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center bottom;
  color: #000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding-bottom: 600px;
  text-align: center;
  width: 100%;
}

/* portfolio */

.portfolio-header {
  align-items: center;
  background-image: url('https://seanstapleton.ca/portfolio-header.jpg');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center center;
  color: #eee;
  display: flex;
  flex-direction: column;
  height: 50vh;
  justify-content: center;
  width: 100%;
}

.box-1 {
  background-image: linear-gradient(315deg, #4162c7 0%, #283c7a 74%);
  border: 1px solid grey;
  border-radius: 4px;
  color: #eee;
  margin-bottom: 50px;
  margin-top: 50px;
  padding: 50px;
}

.box-1 h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.project-details h2 a {
  color: #d95f02;
  /* margin-left:  */
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.project-details h2 a i {
  font-size: 1rem;
  margin-left: 0px;
  transition: all 0.3s ease-in-out;
}

.project-details h2 a:hover i {
  margin-left: 10px;
}

@media screen and (max-width: 1000px) {

  .portfolio-header {
    height: 20vh;
  }

  .box-1 {
    font-size: 32px !important;
  }


  .parallax-container {
    height: 700px;
  }


  .hero {
    height: auto !important;
  }
  
  .sean img {
    margin-bottom: 20px;
    margin-top: 20px;
    width: 70%;
  }

  .greeting {
    font-size: 6rem;
  }


  .buttons {
    flex-direction: column;
  }
  .button {

    padding: 20px 40px;
    margin-bottom: 10px;
    width: 100%;
    font-size: 2.5rem;
    
  }

  .hobbies {

  }

  .details {
      font-size: 32px;
  }

  .slider {
    margin-top: 50px !important;
    margin-bottom: 40px;
  }

  .project-details {
    margin-top: 50px !important;
  }

  .project-details h2 a {
    color: #d95f02;
    /* margin-left:  */
    font-size: 3rem;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
  }
  
  .project-details h2 a i {
    font-size: 2rem;
    margin-left: 0px;
    transition: all 0.3s ease-in-out;
  }
  
  .project-details h2 a:hover i {
    margin-left: 10px;
  }



} 


/* others */



.browser-background {
  position: relative;
  width: 100%; /* Adjust based on the natural size of your background image */
  max-width: 1200px; /* Example max-width, adjust based on design */
  height: 600; /* Set height to auto if the aspect ratio needs to be maintained */
  background: url('//seanstapleton.ca/screenshots/browser.png') no-repeat center center;
  background-size: contain; 
  margin: 0 auto; /* Center the div if needed */
}

.slider {
  align-items: center;
  border: 1px solid black;
  margin: auto;
  width: 80%;
  justify-content: center;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
}

.portfolio-container {
  min-height: 500px;
  width: 100%;
}

.portfolio-item {
  display: flex;
  height: auto;
  padding: 50px;
}

.portfolio-item.even {
  background-color: #dee6fe;
}


.portfolio-item-description {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.project-details {
  padding: 35px !important;
}

.other-work a {
  color: #ff7e00;
  text-decoration: none;
}

.other-work a:hover {
  text-decoration: underline;
}




.orange {
  color: #ff7e00;

}











/* footer */

.foot {
  background-color: #231f20;
  color: #eee;
  min-height: 300px;
  padding: 20px;
  margin: 10px;
}

.foot a {
  color: #ff7e00;
  text-decoration: none;
}

.foot a:hover {
  color: #ff7e00;
  text-decoration: underline;
}

.foot-1,
.foot-2,
.foot-3,
.foot-4 {
  display: flex;
  flex-direction: column;
  padding: 15px 30px !important;
}

.foot-2,
.foot-3,
.foot-4 {
  border-left: 1px solid #3c3c3f;
}

.foot-1,
.foot-2 {
  text-align: right;
}

