 @import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@300&family=Montserrat:wght@700;900&family=Poppins:wght@200;800&family=Roboto+Mono:wght@300;500&family=Special+Elite&display=swap');
/*Variables*/
:root{
  --primary-color: #5924ed;
  --secondary-black: #0d081a;
  --secondary-gray: #48464b;
  --body-bg: #efebfa;
}

/*Global Style*/


*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}
html {
  font-family: 'Roboto Mono', sans-serif;
  overflow-x: hidden;
  font-size: 10px;
}

body {
  background-color: var(--body-bg);
    cursor: url(Cursor/Cursor.png), pointer;
}



a{
  color: black;
  text-decoration: none;
}

.container {
   width: 90%;
  margin: 0 auto;
  max-width: 1000px;
}

.primary-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.8rem;
  padding: 0.6em 1.6em;
  border-radius: 50px;
   cursor: pointer;
}

/*scroll to top*/
.scroll-top {
  height: 60px;
  width: 60px;
  background-color: white;
  position: fixed;
  bottom: 10px;
  right: 10px;
  cursor: pointer;
  border-radius: 6px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.336);
  /* hover effect default */
  transform: scale(0.9);
  transition: 0.3s ease-in-out transform;
  /* for centering the icon */
  display: flex;
  align-items: center;
  justify-content: center;
}
.scroll-top svg {
  width: 200%;
  z-index: 10000000;
  color: black;
  pointer-events: none;
}

.scroll-top:hover {
  transform: scale(1);
}

/*Navigation*/
header {
  position: fixed;
  top:0;
  left:0;
  width:99%;
  display:flex;
  justify-content:space-between;
  align-items: center;
  transition: 1s;
  padding:15px 100px;
  z-index: 1000000;
  background: transparent;
   cursor: pointer;


}

header .logo {
  position: relative;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  font-size: 1.5em;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 2px;
  padding:5px 0px;
}

header ul li a {
  margin: 0 15px;
  text-decoration: none;
  color: #fff;
  display: inline-block;
  letter-spacing: 2px;
  font-weight: 500px;
  transition: 1s;
  font-family: 'Poppins', sans-serif;
 position: sticky;
   cursor: url(Cursor/Cursor.png), pointer;

}

header.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  color: #000;
  background:#DCDCDC;
  box-shadow: 0 15px 20px rgba(0,0,0,0,0.1);
}
header.sticky nav .menu-toggle{
  background: #ccc;
}
header.sticky nav .menu{
  background: inherit;
}

header.sticky .logo {
  color: #111;
}

header.sticky ul li a {
  color: #111;
}
@media screen and (max-width: 760px) {
  header{
    padding: 12.5px 20px
  }
  .container{
    padding: 100px 20px;
  }
  img{
    padding: 0px 20px;
  }

}


/*Scroll bar*/
::-webkit-scrollbar {
  width: 0;
  z-index: 1000000000000000000;
}
#scrollPath{
  position: fixed;
  top:0;
  right: 0;
  width: 10px;
  height:100%;
  background: rgba(255,255,255,0.05);
}

#progressbar {
  position: fixed;
  top:0;
  right: 0;
  width: 10px;
  height: 100%;
  background: linear-gradient(to top, #008aff,#00ffe7);
  animation: animato 5s linear infinite;
  z-index: 1000000000000000000;
  border-radius:5%;
}

@keyframes animato {
  0%{
      filter: hue-rotate(0deg);
  }
  50%{
    filter:hue-rotate(360deg);
  }
  100%{
      filter: hue-rotate(120deg);
  }
}

#progressbar:before {
  content:'';
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height:100%;
  background: linear-gradient(to top, #008aff,#00ffe7);
  filter: blur(30px);
}

/*hero section*/
#hero{
  height: 100vh;
  width: 100%;
  padding-top: 10rem;
}

#hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 760px){
  #hero{
    height: 100%;
  }
  #hero .container{
    display: block;
    width: 100%;
  }
  #hero .left .heading{
    font-size: 44px !important;
  }
}

#hero .container .left {
  flex: 6;
}

#hero .container .right {
  flex: 8;
}

#hero .left .subheading {
  font-size: 1.8rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--primary-color);
  opacity: 0;
  animation: fade 0.3s ease-in forwards;
  animation-delay: 1s;
}

#hero .left .heading {
  font-size: 6rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
}

#hero .left .heading .wrapper {
  display: inline-block;
  overflow: hidden;
}

#hero .left .heading .wrapper span {
  position: relative;
  bottom: -70px;
  animation: reveal 1s ease-in-out forwards;
}


@keyframes reveal {
  0%{
    bottom: -70px;
  }
  100%{
    bottom: 0;
  }
}

@keyframes fade {
  0%{
    opacity: 0;
  }

  100%{
    opacity: 1;
  }
}
#hero .left .desc {
  margin-top: 2.5rem;
  max-width: 400px;
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--secondary-black);
  opacity: 0;
  animation: fade 0.3s ease-in forwards;
  animation-delay: 1s;
}

#hero .left .buttons {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  opacity: 0;
  animation: fade 0.3s ease-in forwards;
  animation-delay: 1s;
}

img {
  opacity: 0;
  animation: fade 0.3s ease-in forwards;
  animation-delay: 1.4s;
  border-radius: 50px;
  padding: 20px;
  height: 500px;
  transition: 1s;

}



/*About the commisions*/

#projects {
  padding:10rem 0;
}

#projects .item {
display: flex;
align-items: center;
justify-content: center;
width: 800px;
margin: 0 auto;
margin-bottom: 15rem;
}
@media screen and (max-width: 760px){
  #projects .item{
    display: block;
    width: 100%;
  }
  #projects .item .right{
    margin-left: 0px !important;
  }
}

#projects .item:nth-child(even) {
  flex-direction: row-reverse;
}
#projects .item .left {
  flex: 1;
  z-index: 2;
}

#projects .item .right {
  flex: 1;
  margin-left: -150px;
  z-index: 2;
  background-color: var(--body-bg);
  padding: 5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px #00000028;
}

#projects .item .right {
  flex: 1;
  margin-left: -150px;
  z-index: 2;
  background-color: var(--body-bg);
  padding: 5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px #00000028;
}

#project .item:nth-child(even) .right {
  margin-left: 10px;
}

#project .item:nth-child(even) .left {
  margin-left: -150px;
}

 .project-desc {
  color: var(--secondary-gray);
  line-height: 1.5em;
  font-size: 1.3rem;
}

 .section-heading {
  font-size: clamp(2rem, 10vw, 8rem);
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.2rem;
  text-align: center;
  align-items: center;
  position: relative;
  margin-bottom: 10rem;
}

 .section-heading::before {
  content: attr(data-outline);
  position: absolute;
  left: 2%;
  top: -20%;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.2rem;
  color: transparent;
  -webkit-text-stroke: 1.5px #5a24ed2f;
  z-index: -1;
}

.barnhouse {
  opacity: 0;
  animation: fade 0.3s ease-in forwards;
  animation-delay: 1.4s;
  border-radius: 50px;
  padding: 20px;
  height: 400px;
  width: 400px;
  transition: 1s;

}

.barnhouse:hover {
  height: 480px;
  width: 480px;
}

/*My drawings*/
.container2 {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.container2 .card {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 15px;
  overflow: hidden;
}

.container2 .card .imgBx, 
.container2 .card .contentBx {
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}


.container2 .card .imgBx .pic {
  position: absolute;
  top:0;
  left:0;
  margin:0;
  width:100%;
  height:100%;
  object-fit: cover;
  border-radius: 15px;
}

.container2 .card .contentBx::before {
  content: '';
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  color: transparent;
  background: #eae3fa;
  transform: scaleX(0);
  transition: transform 0.5s ease-in-out;
  transform-origin: right;
  border-radius: 15px;
}

.container2 .card:hover .contentBx::before {
  transform: scaleX(1);
  transition: transform 0.5s ease-in-out;
  transform-origin: left;
   border-radius: 15px;
   padding:0;
}

.container2 .card:hover .contentBx {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container2 .card .contentBx .content {
  position: relative;
  padding:10px;
  z-index:0;
  transform: translateX(0px);
  color: transparent;
}

.container2 .card:hover .contentBx .content {
  transform: translateX(0px);
  color: #000;
  transition: 1s;
}

.container2 .card .contentBx .content h3 {
  font-size: 4.3em;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;

}

.container2 .card .contentBx .content p {
  font-size: 1.15em;
  line-height: 1.9em;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  padding: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;

}

/*Contact*/
button, input, select, textarea {
  color: #5A5A5A;
  font: inherit;
  margin: 0;
}

input {
  line-height: normal;
}

textarea {
  overflow: auto;
}

#container {
  border: solid 3px #474544;
  max-width: 768px;
  margin: 60px auto;
  position: relative;
}

form {
  padding: 37.5px;
  margin: 50px 0;
}

h1 {
  color: #474544;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 7px;
  text-align: center;
  text-transform: uppercase;
}

.underline {
  border-bottom: solid 2px #474544;
  margin: -0.512em auto;
  width: 80px;
}

.icon_wrapper {
  margin: 50px auto 0;
  width: 100%;
}

.icon {
  display: block;
  fill: #474544;
  height: 50px;
  margin: 0 auto;
  width: 50px;
}

.email {
	float: right;
	width: 45%;
}

input[type='text'], [type='email'], select, textarea {
	background: none;
  border: none;
	border-bottom: solid 2px #474544;
	color: #474544;
	font-size: 1.500em;
  font-weight: 400;
  letter-spacing: 1px;
	margin: 0em 0 1.875em 0;
	padding: 0 0 0.875em 0;
  text-transform: uppercase;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

input[type='text']:focus, [type='email']:focus, textarea:focus {
	outline: none;
}

.message {
	float: none;
}

.name {
	float: left;
	width: 45%;
}

select {
  background: url('https://cdn4.iconfinder.com/data/icons/ionicons/512/icon-ios7-arrow-down-32.png') no-repeat right;
  outline: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

select::-ms-expand {
  display: none;
}

.subject {
  width: 100%;
}

.telephone {
  width: 100%;
}

textarea {
	line-height: 150%;
	height: 150px;
	resize: none;
  width: 100%;
}

::-webkit-input-placeholder {
	color: #474544;
}

:-moz-placeholder {
	color: #474544;
	opacity: 1;
}

::-moz-placeholder {
	color: #474544;
	opacity: 1;
}

:-ms-input-placeholder {
	color: #474544;
}

#form_button {
  background: none;
  border: solid 2px #474544;
  color: #474544;
  cursor: pointer;
  display: inline-block;
  font-family: 'Helvetica', Arial, sans-serif;
  font-size: 1.5em;
  font-weight: bold;
  outline: none;
  padding: 20px 35px;
  text-transform: uppercase;
  -webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

#form_button:hover {
  background: #474544;
  color: #F2F3EB;
}

@media screen and (max-width: 768px) {
  #container {
    margin: 20px auto;
    width: 95%;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 26px;
  }

  .underline {
    width: 68px;
  }

  #form_button {
    padding: 15px 25px;
  }
}

@media screen and (max-width: 420px) {
  h1 {
    font-size: 18px;
  }

  .icon {
    height: 35px;
    width: 35px;
  }

  .underline {
    width: 53px;
  }

  input[type='text'], [type='email'], select, textarea {
    font-size: 0.875em;
  }
}



.clear:before,
.clear:after {
	content:" ";
	display: table
}
.clear:after { clear: both }

nav {
	width: 100%;
}
nav .navbar {
	margin:0 auto
}
nav .logo {
	float: left;
	display: inline-block;
}
nav .menu-toggle {
	cursor: pointer;
	display: none;
	float: right;
	padding: 12px;
	margin: 10px 0;
	transition: background-color .5s
}
nav .icon-bar {
	background-color: #fff;
	display: block;
	width: 22px;
	height: 2px
}
nav .icon-bar + .icon-bar { margin-top: 4px }

nav .menu ul { float: right }
nav .menu li {
	float: left;
	list-style: none;
}
nav .menu li:first-child { border-left: 0 }
nav .menu li a{
  font-size: 1.5rem;
	cursor: pointer;
	position: relative;
	display: block;
  padding: 12px 0px;
	margin: 0 15px;
	transition: background-color .3s
}

@media(max-width:992px) {
	nav .logo { padding-top: 8px }
	nav .menu-toggle { display: inline-block }
	nav .menu { display: none; clear: both; background: rgba(19, 17, 17, 0.42) none repeat scroll 0% 0%;
min-height: 250px; }
	nav .menu > ul { float: none }
	nav .menu li { width: 100%; border: 0 }
	nav .menu li:last-child { margin: 0 0 15px 0 }
	nav .menu li a{
		display: block;
		padding: 10px;
		margin: 2px 0 0 0
	}

@media(hover: hover) and (pointer: fine) {
    
/*My drawings*/
.container2 {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.container2 .card {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 15px;
  overflow: hidden;
}

.container2 .card .imgBx, 
.container2 .card .contentBx {
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}


.container2 .card .imgBx .pic {
  position: absolute;
  top:0;
  left:0;
  margin:0;
  width:100%;
  height:100%;
  object-fit: cover;
  border-radius: 15px;
}

.container2 .card .contentBx::before {
  content: '';
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  color: transparent;
  background: #eae3fa;
  transform: scaleX(0);
  transition: transform 0.5s ease-in-out;
  transform-origin: right;
  border-radius: 15px;
}

.container2 .card:hover .contentBx::before {
  transform: scaleX(1);
  transition: transform 0.5s ease-in-out;
  transform-origin: left;
   border-radius: 15px;
   padding:0;
}

.container2 .card:hover .contentBx {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container2 .card .contentBx .content {
  position: relative;
  padding:10px;
  z-index:0;
  transform: translateX(0px);
  color: transparent;
}

.container2 .card:hover .contentBx .content {
  transform: translateX(0px);
  color: #000;
  transition: 1s;
}

.container2 .card .contentBx .content h3 {
  font-size: 4.3em;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;

}

.container2 .card .contentBx .content p {
  font-size: 1.15em;
  line-height: 1.9em;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  padding: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;

  } 

 
}


}