@import url("http://fonts.googleapis.com/css?family=Open+Sams|Roboto:400,700&display=swap");

/*======
Variables
======
*/

:root {
  /*=====dark shades of primary color====*/
  --clr-primary-1: hsl(43, 86%, 17%);
  --clr-primary-2: hsl(43, 77%, 27%);
  --clr-primary-3: hsl(43, 72%, 37%);
  --clr-primary-4: hsl(42, 63%, 48%);
  /*===primary/maincolor==*/
  --clr-primary-5: hsl(42, 78%, 60%);
  /*====lighter shades of primary color*/
  --clr-primary-6: hsl(43, 89%, 76%);
  --clr-primary-7: hsl(43, 90%, 76%);
  --clr-primary-8: hsl(45, 86%, 81%);
  --clr-primary-9: rgb(230, 198, 102);
  --clr-primary-10: hsl(45, 100%, 96%);
  /*===darkest grey - used for headings==*/
  --clr-primary-1: hsl(209, 61%, 16%);
  --clr-primary-2: hsl(211, 39%, 23%);
  --clr-primary-3: hsl(209, 34%, 30%);
  --clr-primary-4: hsl(209, 28%, 39%);
  /*===grey used for paragraphs===*/
  --clr-grey-5: hsl(210, 22%, 49%);
  --clr-grey-6: hsl(209, 23%, 60%);
  --clr-grey-7: hsl(211, 27%, 70%);
  --clr-grey-8: hsl(210, 31%, 80%);
  --clr-grey-9: hsl(212, 33%, 89%);
  --clr-grey-10: hsl(210, 36%, 96%);
  --clr-white: #fff;
  --clr-dark: rgba(0, 0, 0, 0.943);
  --ff-primary: "Roboto", sans-serif;
  --gradient-primary: linear-gradient(to top left, #2de9e6, #5170d8);
  --ff-secondary: "Open Sans", sans-serif;
  --transition: all 0.3s linear;
  --spacing: 0.25rem;
  --radius: 0.5rem;
  --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background: var(--clr-primary-);
  --max-width: 1170px;
  --transition: all 0.3s linear;
}

/*====
Global Styles
====*/
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  width:100%;
  overflow-y: scroll;
  scroll-behavior: smooth;
}
body {
  width:100%;
  font-family: var(--ff-secondary);
  /* background-color: linear-gradient(to right, #00000079, #28bfda); */
   background: rgb(11, 6, 6);
  color: var(--clr-grey-1);
  line-height: 1.5s;
  font-size: 0.875rem;
  overflow-x: hidden;
  
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}
img:not(nav-logo) {
  width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  letter-spacing: var(--spacing);
  text-transform: capitalize;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
}
h4 {
  font-size: 0.875rem;
}
p {
  margin-bottom: 1.25rem;
  color: var(--clr-grey-5);
}
@media screen and (min-width: 800px) {
  h1 {
    font-size: 4rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  h4 {
    font-size: 1rem;
  }
  body {
    font-size: 1rem;
  }
  h1,
  h2,
  h3,
  h4 {
    line-height: 1;
  }
}
.btn {
  text-transform: uppercase;
  background: var(--clr-primary-5);
  color: var(--clr-primary-1);
  padding: 0.375rem 0.75rem;
  letter-spacing: var(--spacing);
  display: inline-block;
  font-weight: 700;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  font-size: 0.875rem;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
}

.btn:hover {
  color: var(--clr-primary-1);
  background: var(--clr-primary-7);
}
/* Intro section */
.darkness {
  /* background: linear-gradient(to right, #529a8b79, #0e0a08); */
  background-color: #010101f8;
  height: 40rem;
}
.icon-code {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}
.svg {
  font-size: 5rem;
  width: 10rem;
  /*
  */
  /* margin-top: -15rem; */
  margin-left: 50%;
  /* background-color: red; */
}
.hello1 {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  /* height: 100vh; */
}
.hello {
  /* color: whitesmoke; */
  /* color: rgb(15, 129, 104); */
  color: rgb(33, 96, 119);
  margin: 20px;
  position: absolute;
  margin-top: 12rem;
}
.typing {
  /* position: relative; */
  /* color: rgb(149, 137, 115); */
  /* color: rgb(34, 75, 55); */
  color: rgb(33, 96, 119);
  font-size: 1rem;
  background-size: 20px;
  /* margin-top: 17rem; */
  margin-left: 30px;

  /* margin-top: -8rem;
  margin-left: 10px; */
}
.typing1 {
  /* color: whitesmoke; */
  color: whitesmoke;
  font-size: 2rem;
  background-size: 20px;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  margin-left: 60px;
  opacity: 0;
  transition: 1s ease-in;
}
.span1 {
   color: rgb(33, 96, 119);
}
em.line {
  text-decoration: underline;
}
/* .typing1:hover {
  opacity: 1;
} */
.typing::after {
  content: "";
  position: absolute;
  right: -5px;
  width: 1px;
  height: 5%;
  border-right: 2px soilid white;
  animation: blink 0.5s infinite ease;
}
.P-Name {
  color: white;
  font-family: "Courier New", Courier, monospace;
  width: 15px;
  align-content: center;
}
@keyframes blink {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.my-face-section {
  display: flex;
  justify-content: flex-end;
}
.my-face {
  width: 15vw;
  height: 15vw;
  border-radius: 10%;
  /* border: 10px solid #0e0a08; */
  margin-right: 30px;
  margin-top: 2rem;
  object-fit: contain;
}
/* End of intro section */
.intro {
  display: flex;
  color: white;
  height: 100vh;
}
/* .typing1 {
  position: relative;
  margin-left: 10px;
}
.typing1::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 5%;
  border-right: 2px soilid white;
} */
/* section display  */
/* skills name link */
.colors {
  display: flex;
  background-color: DodgerBlue;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  list-style: none;
  height: 8rem;
  color: white;
  width: 100%;
}
/* .nav-item {
  position: absolute;
  color: white;
} */
.nav__link {
  /* display: inline; */
  color: white;
  font-weight: bold;
  padding: 1em;
  transform: translateX(-50%);
  font-size: 2rem;
  font-family: "Courier New", Courier, monospace;
}
/* tooltip */
.tooltip {
  position: relative;
  /* display: flex; */
  /* border-bottom: 1px dotted black; */
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: rgb(55, 48, 48);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  font-size: 1.3rem;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
/* end of skilss name link */
section#projects {
  background-color: var(--clr-dark);
}
.grid {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
  background: repeating-linear-gradient(
      150deg,
      rgba(225, 219, 219, 0) 0,
      rgba(255, 255, 255, 0) 49px,
      rgba(255 255 255/10%) 50px,
      rgba(0 0 0/30%) 51px,
      rgba(255, 255, 255, 0) 55px
    ),
    repeating-linear-gradient(
      30deg,
      rgba(255, 255, 255, 0) 0,
      rgba(255, 255, 255, 0) 49px,
      rgb(255 255 255/10%) 50px,
      rgb(0 0 0/30%) 51px,
      rgba(255, 255, 255, 0) 55px
    );

  position: relative;
  width: 200vw;
  height: 100vh;
}

/* warning write ups */

.row {
  display: -ms-flexbox; /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE10 */
  flex-wrap: wrap;
  padding: 0 4px;
  position: relative;
}

/* Create four equal columns that sits next to each other */
.column1 {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
  position: absolute;
  z-index: 0;
  max-width: 20%;
  height: auto;
  background: repeat-linear-gradient(
    -45deg,
    black,
    black 3vmin,
    yellow 3vmin,
    yellow 6vmin
  );
  margin-left: 10%;
  margin-top: 4rem;
  transform: rotateX(-35deg) rotateY(45deg) rotateZ(0deg)
    rotate3d(1, 0, 0, 90deg);
  box-shadow: 0 0 0 1vmin rgb(33, 96, 119);
  animation: bounce 2s ease infinite;

}

.column2 {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 20%;
  height: auto;
  padding: 0 4px;
  z-index: 0;
  position: absolute;
  /* width: 30vmin;
  height: 50vmin; */
  background: repeat-linear-gradient(
    -45deg,
    black,
    black 3vmin,
    yellow 3vmin,
    yellow 6vmin
  );
  margin-left: 40%;
  margin-top: -1rem;
  transform: rotateX(-35deg) rotateY(45deg) rotateZ(0deg)
    rotate3d(1, 0, 0, 90deg);
  box-shadow: 0 0 0 1vmin rgb(33, 96, 119);
}
.column3 {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 18%;
  height: auto;
  padding: 0 4px;
  z-index: 0;
  /* width: 30vmin;
  height: 50vmin; */
  position: absolute;
  background: repeat-linear-gradient(
    -45deg,
    black,
    black 3vmin,
    yellow 3vmin,
    yellow 6vmin
  );
  margin-left: 73%;

  margin-top: 4rem;
  transform: rotateX(-35deg) rotateY(45deg) rotateZ(0deg)
    rotate3d(1, 0, 0, 90deg);
  box-shadow: 0 0 0 1vmin rgb(33, 96, 119);
}
.column4 {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 20%;
  padding: 0 4px;
  z-index: 0;
  position: absolute;

  background: repeat-linear-gradient(
    -45deg,
    black,
    black 3vmin,
    yellow 3vmin,
    yellow 6vmin
  );
  margin-left: 20%;
  margin-top: 25%;
  transform: rotateX(-35deg) rotateY(45deg) rotateZ(0deg)
    rotate3d(1, 0, 0, 90deg);
  box-shadow: 0 0 0 1vmin rgb(33, 96, 119);
}
.column5 {
  -ms-flex: 25%; /* IE10 */
  flex: 25%;
  max-width: 20%;
  height: auto;
  padding: 0 4px;
  z-index: 0;
  position: absolute;
  /* width: 30vmin;
  height: 50vmin; */
  background: repeat-linear-gradient(
    -45deg,
    black,
    black 3vmin,
    yellow 3vmin,
    yellow 6vmin
  );
  margin-left: 60%;
  margin-top: 20%;
  transform: rotateX(-35deg) rotateY(45deg) rotateZ(0deg)
    rotate3d(1, 0, 0, 90deg);
  box-shadow: 0 0 0 1vmin rgb(33, 96, 119);
}
.column1 img {
  transition: all 0.3s linear;
}
.column1:hover img {
  opacity: 0.8;
  transform: scale(1.2);
}
.column2 img {
  transition: all 0.3s linear;
}
.column2:hover img {
  opacity: 0.8;
  transform: scale(1.2);
}
.column3 img {
  transition: all 0.3s linear;
}
.column3:hover img {
  opacity: 0.8;
  transform: scale(1.2);
}
.column4 img {
  transition: all 0.3s linear;
}
.column4:hover img {
  opacity: 0.8;
  transform: scale(1.2);
}
.column5 img {
  transition: all 0.3s linear;
}
.column5:hover img {
  opacity: 0.8;
  transform: scale(1.2);
}
/* The grid: Four equal columns that floats next to each other */
.column {
  float: left;
  width: 20%;
  top: 10rem;
  padding: 1px;
}

/* Style the images inside the grid */
.column img {
  opacity: 0.8;
  cursor: pointer;
  margin-left: 7rem;
}

/* Clear floats after the columns */
.row1:after {
  content: "";
  display: table;
  clear: both;
}
img.imgContainer {
  width: 100%;
}
/* The expanding image container */
.container {
  position: relative;
  display: none;
}

/* Expanding image text */
#imgtext {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  font-size: 20px;
}

/* Closable button inside the expanded image */
.closebtn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 35px;
  cursor: pointer;
}
/* footer section.. */

/* section display  */
/* skills name link */
.footer {
  display: flex;
  background-color: black;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  list-style: none;
  height: 15rem;
  color: whitesmoke;
  width: 100%;
}
/* .nav-item {
position: absolute;
color: white;
} */
.footer__link {
  /* display: inline; */

  color: whitesmoke;
  font-weight: bold;
  padding: 1em;
  transform: translateX(-50%);
  font-size: 2rem;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

hr {
  width: 70px;
  opacity: 0.5;
  /* background-color: rgb(241, 11, 11); */
}
hr:hover {
  opacity: 0.9;
}
.privacy {
  position: static;
  width: 5rem;

  display: inline;
  margin-top: 10rem;
  /* margin-right: 1rem; */
}
.text-TC {
  color: red;
}
.icon-size {
  font-size: 2.5rem;
  color: whitesmoke;
  font-weight: bold;
  padding: 1em;
  width: 40px;
  transform: translateX(-50%);
  font-size: 2rem;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}
.icon-size:hover {
  color: aqua;
}
/* Stacked images section  */
.team-section {
  background-color: #a5c4ba;
  height: 70vmin;
}
.team {
  display: flex;

  justify-content: center;
  align-content: center;
}
.team > div {
  margin: 10px;
  text-align: center;
  line-height: 75px;
  font-size: 20px;
}
.containerStack {
  display: grid;
  grid-template-areas: "stack";
  justify-content: center;
  align-items: center;
  height: 25vw;
  margin: 20px;
}
.containerStack > img {
  grid-area: stack;
}
.containerStack > img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: fill;
}
.containerStack > img {
  --n-angle: calc(-1 * var(--angle));

  transform: rotate(var(--angle)) translateX(190px) rotate(var(--n-angle));
}

/* end of css for stacked images */

/* my profile about me */

.header {
  padding: 0 3rem;
  
  height: 50vh;
  display: flex;
  
  flex-direction: column;
  align-items: center;
}

.header__text {
  flex: 1;
  z-index: 1;
  max-width: 115rem;
  display: grid;
  margin-left: 9rem;
  row-gap: 3rem;
  
  align-content: center;
  justify-content: center;
  
  align-items: start;
  justify-items: start;
}

.header__text h1 {
  /* font-size: 5.5rem; */
  line-height: 1.35;
  

}
   
/*my sec */ 
 .my-Sec{
  display:none;
   margin: 1rem auto;
  
  background-color: rgba(0, 0, 0, 0.943);
} 
.section--hidden {
  opacity: 0;
  transform: translateY(8rem);
}
.row2 {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}
.row2 .col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.Event .row2 {
  margin-top: 50px;
}
 
.my-Sec .row2 .col {
  width: 50%;
}
.my-Sec .image-gallery {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
}
.image-gallery img {
  max-width: 300px;
  margin: 10px;
}


h4 {
  font-size: 2.4rem;
  font-weight: 500;
  color:white;
}

.header__img {
  width: 20vw;
  grid-column: 2 / 3;
  grid-row: 1 / span 4;
  transform: translateY(8rem);
  
}
.highlight {
  position: relative;
}
white{
  color:white;
}
.highlight::after {
  display: block;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  /* opacity: 1; */
  transform: scale(1.07, 1.05) skewX(-15deg);
  background-image: var(--gradient-primary);
 
}
#transit{
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0px;
    opacity: 1;
  }
}

@keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}
/* footer 2 sec */
.footer2 {
  display: flex;
  background-color: black;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  list-style: none;
  height: 10rem;

  width: 100%;
}
/* .underline {
  width: 2rem;
  height: 10px;
  margin-bottom: 1.25rem;
  background: var(--clr-primary-5);
  margin-left: auto;
  margin-right: auto;
  top: 2rem;
} */

@media screen and (max-width:700px){
  .my-Sec{
  /* display:none; */
   margin: 1rem auto;
  
  background-color: rgba(0, 0, 0, 0.943);
} 
  .header__text h1{
    font-size: 1.7rem;
  }

   .row2 {
    flex-direction: column;
  }
  .row2 .col {
    margin: 20px auto;
  }
  .col img {
    max-width: 90vw;
  }
  .explore-content {
    width: 100%;
  }
  .image-gallery {
    justify-content: center;
    align-items: center;
  }
  .image-gallery img {
    width: 90vw;
    height:60vh;
  }
  h4 {
  font-size: 1.5rem;
  font-weight: 500;
  color:white;
}
}

