body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: linear-gradient(180deg, #95F768 0%, #2053D9 100%);
}



/* header {
  position:sticky;
  background-color: #333;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
 top: 20px;
} */


nav {
  overflow: hidden;
  display: flex;
  flex-direction: row-reverse;
  background-color: #333;
  position: fixed;
  top: 0;
  width: 100%;
}

nav a{
  float:left;
  color: #ECF9FF;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

nav a:hover{
  background: #ECF9FF;
  color: black;
}


/* ******* */

.about_sec {
  background-color: #DFFFD8;
  padding: 40px 10px;
  margin: 80px 80px 80px 80px;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

main {
  max-width: 800px;
  margin: 5px auto;
  padding: 0 20px;
}

/* section h2 {
    margin-bottom: 20px;
}

section.project {
    margin-bottom: 40px;
}

section.project h3 {
    margin-bottom: 10px;
}

section.project p {
    margin-bottom: 20px;
} */



/* ****************** Card Section Created by UIverse ****************** */

/* .cards {
  width: 190px;
  height: 254px;
  background: rgba(211, 211, 211, 0.199);
  position: absolute;
  transition: .3s ease-in-out;
  cursor: url("instagram.png"),auto;
  border-radius: 15px;
  box-shadow: 0px 0px 30px -10px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

#c1 {
  background-color: #FFBF91;
}

#c2 {
  background-color: #B5FF6B;
}

#c3 {
  background-color: red;
}

#c4 {
  background-color: #FA5B05;
}

.mains:hover #c1 {
  transform: translateX(-100px) rotate(-40deg);
  -webkit-transform: translateX(-100px) rotate(-40deg);
  -moz-transform: translateX(-100px) rotate(-40deg);
  -ms-transform: translateX(-100px) rotate(-40deg);
  -o-transform: translateX(-100px) rotate(-40deg);
}

.mains:hover #c2 {
  transform: translateX(-50px) rotate(-30deg);
  -webkit-transform: translateX(-50px) rotate(-30deg);
  -moz-transform: translateX(-50px) rotate(-30deg);
  -ms-transform: translateX(-50px) rotate(-30deg);
  -o-transform: translateX(-50px) rotate(-30deg);
}

.mains:hover #c3 {
  transform: translateX(0) rotate(-20deg);
  -webkit-transform: translateX(0) rotate(-20deg);
  -moz-transform: translateX(0) rotate(-20deg);
  -ms-transform: translateX(0) rotate(-20deg);
  -o-transform: translateX(0) rotate(-20deg);
}

.mains:hover #c4 {
  transform: translateX(50px) rotate(-10deg);
}

#c1:hover {
  transform: translateX(-150px) rotate(0deg) !important;
  -webkit-transform: translateX(-150px) rotate(0deg) !important;
  -moz-transform: translateX(-150px) rotate(0deg) !important;
  -ms-transform: translateX(-150px) rotate(0deg) !important;
  -o-transform: translateX(-150px) rotate(0deg) !important;
}

#c2:hover {
  transform: translateX(-100px) rotate(0deg) !important;
  -webkit-transform: translateX(-100px) rotate(0deg) !important;
  -moz-transform: translateX(-100px) rotate(0deg) !important;
  -ms-transform: translateX(-100px) rotate(0deg) !important;
  -o-transform: translateX(-100px) rotate(0deg) !important;
}

#c3:hover {
  transform: translateX(-50px) rotate(0deg) !important;
  -webkit-transform: translateX(-50px) rotate(0deg) !important;
  -moz-transform: translateX(-50px) rotate(0deg) !important;
  -ms-transform: translateX(-50px) rotate(0deg) !important;
  -o-transform: translateX(-50px) rotate(0deg) !important;
}

#c4:hover {
  transform: translateX(50px) rotate(0deg) !important;
}

.mains {
  display: grid;
  height: 25vmax;
  place-items: center;
  margin-top: 5px;
  margin-bottom: 5px;
} */

/* ************************************************************************************ */


/* *******Projects created by Random Website for horizontal Scrolling *********** */

:root {
  --red: #ef233c;
  --darkred: #c00424;
  --platinum: #e5e5e5;
  --black: #2b2d42;
  --white: #fff;
  --thumb: #edf2f4;
}

.container {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* body {
  font: 16px / 24px "Rubik", sans-serif;
  color: var(--black);
  background: var(--platinum);
  margin: 50px 0;
} */

.container {
  max-width: 1400px;
  padding: 30px;
  margin: 30px;
}

h2 {
  font-size: 32px;
  margin-bottom: 1em;
}

.cards {
  display: flex;
  padding: 25px 0;
  margin-bottom: 80px;
  list-style: none;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  height: 390px;

}

.card {
  display: flex;
  flex-direction: column;
  flex: 0 0 100%;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 15%);
  scroll-snap-align: start;
  transition: all 0.2s;
}

.card:not(:last-child) {
  margin-right: 10px;
}

.card:hover {
  color: var(--white);
  background: var(--red);
}

.card .card-title {
  font-size: 20px;
}

.card .card-content {
  margin: 20px 0;
  max-width: 85%;
}

.card .card-link-wrapper {
  margin-top: auto;
}

.card .card-link {
  display: inline-block;
  text-decoration: none;
  color: white;
  background: var(--red);
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

.card:hover .card-link {
  background: var(--darkred);
}

.cards::-webkit-scrollbar {
  height: 12px;
}

.cards::-webkit-scrollbar-thumb,
.cards::-webkit-scrollbar-track {
  border-radius: 92px;
}

.cards::-webkit-scrollbar-thumb {
  background: var(--darkred);
}

.cards::-webkit-scrollbar-track {
  background: var(--thumb);
}

@media (min-width: 500px) {
  .card {
    flex-basis: calc(50% - 10px);
  }

  .card:not(:last-child) {
    margin-right: 20px;
  }
}

@media (min-width: 700px) {
  .card {
    flex-basis: calc(calc(100% / 3) - 20px);
  }

  .card:not(:last-child) {
    margin-right: 30px;
  }
}

@media (min-width: 1100px) {
  .card {
    flex-basis: calc(25% - 30px);
  }

  .card:not(:last-child) {
    margin-right: 40px;
  }
}


/* ****************************************************************************** */

/* form label {
    display: block;
    margin-bottom: 10px;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
}

form textarea {
    height: 150px;
}

form input[type="submit"] {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
} */



/* *************** Projects section by Freecodecamp *************** */

/* .projects {
  background-color: var(--bg-color);
  padding: 32px 0;
  margin-top: 2rem;
}

.project-pic {
  width: 65%;
  height: 60%;
}

.projects-container {
  display: flex;
  align-items: center;
  justify-content: center;
} */

/* ****************************************************************** */



/* ********** Card for profile visit ******************************** */

/* .card {
    width: 190px;
    height: 254px;
    background: #f5f5f5;
    padding: 2rem 1.5rem;
    transition: box-shadow .3s ease, transform .2s ease;
   }

   .card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform .2s ease, opacity .2s ease;
   }

                                                        /*Image
   .card-avatar {
    --size: 60px;
    background: linear-gradient(to top, #f1e1c1 0%, #fcbc97 100%);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    transition: transform .2s ease;
    margin-bottom: 1rem;
   }


                                                        /*Card footer
   .card-social {
    transform: translateY(200%);
    display: flex;
    justify-content: space-around;
    width: 100%;
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
   }

   .card-social__item {
    list-style: none;
   }

   .card-social__item svg {
    display: block;
    height: 18px;
    width: 18px;
    fill: #515F65;
    cursor: pointer;
    transition: fill 0.2s ease ,transform 0.2s ease;
   }

                                                        /*Text
   .card-title {
    color: #333;
    font-size: 1.5em;
    font-weight: 600;
    line-height: 2rem;
   }

   .card-subtitle {
    color: #859ba8;
    font-size: 0.8em;
   }

                                                        /*Hover
   .card:hover {
    box-shadow: 0 8px 50px #23232333;
   }

   .card:hover .card-info {
    transform: translateY(-5%);
   }

   .card:hover .card-social {
    transform: translateY(100%);
    opacity: 1;
   }

   .card-social__item svg:hover {
    fill: #232323;
    transform: scale(1.1);
   }

   .card-avatar:hover {
    transform: scale(1.1);
   } */

/* *************************************************************** */



/* ****************************** Skills Section *********************** */

#skills{
  padding: 32px 0;
  margin-bottom: 50px;
}
.card1 {
  width: 350px;
  height: 350px;
  background-color: #fff;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 50px auto;

}

.header {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 18px;
}

.body {
  padding: 20px;
}

.skill {
  display: flex;
  align-items: center;
  margin-bottom: 20px;

}

.skill-name {
  width: 120px;
  font-size: 16px;
}

.skill-level {
  width: 160px;
  height: 10px;
  background-color: #eee;
  border-radius: 10px;
  overflow: hidden;
  margin-left: 20px;
}

.skill-percent {
  background-color: #333;
  height: 100%;
}

.skill-percent-number {
  margin-left: 20px;
  font-size: 16px;
}

/* *************************************************************** */

/* *********************** Contact me ************************* */
#con2 {
  display: flex;
}

.contact_me {
  border-radius: 20px;
  background: #B3E5BE;
  /*box-shadow:  10px 10px 20px #8eb092,             -10px -10px 20px #e4ffea;
  */padding: 30px;
  margin-left: 15%;
  margin-right: 15%;
  width: 300px;
  text-align: center;
  font-size: 20px;
}

.input {
  max-width: 190px;
  width: 40px;
  height: 40px;
  outline: none;
  margin: 5px;
  transition: .5s;
  border: auto;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transform: rotate(90deg);
  background-color: #E4D0D0;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
}

input:focus {
  width: 150px;
  transform: rotate(0);
}

.submit {
  padding: 15px 25px;
  border: unset;
  border-radius: 15px;
  color: #212121;
  z-index: 1;
  background: #e8e8e8;
  position: relative;
  font-weight: 1000;
  font-size: 17px;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  transition: all 250ms;
  overflow: hidden;
}

.submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 15px;
  background-color: #212121;
  z-index: -1;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  transition: all 250ms
}

.submit:hover {
  color: #e8e8e8;
}

.submit:hover::before {
  width: 100%;
}

.reset {
  padding: 15px 25px;
  border: unset;
  border-radius: 15px;
  color: #212121;
  z-index: 1;
  background: #e8e8e8;
  position: relative;
  font-weight: 1000;
  font-size: 17px;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  transition: all 250ms;
  overflow: hidden;
}

.reset::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  border-radius: 15px;
  background-color: #212121;
  z-index: -1;
  -webkit-box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  box-shadow: 4px 8px 19px -3px rgba(0, 0, 0, 0.27);
  transition: all 250ms
}

.reset:hover {
  color: #e8e8e8;
}

.reset:hover::before {
  width: 100%;
}

/* ***************************************** */

/* ************************* Connect with me ******************** */

.cardie {
  width: 300px;
  height: 270px;
  background: #f5f5f5;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  margin-left: 5%;
  margin-right: 15%;
  transition: box-shadow .3s ease, transform .2s ease;
}

.cardie-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform .2s ease, opacity .2s ease;
}

/*Image*/
.cardie-avatar {
  --size: 60px;
  background-image: url('edit.jpg');
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  transition: transform .5s ease;
  margin-bottom: 1rem;
}


/*Cardie footer*/
.cardie-social {
  padding: 10px 0px 0px 0px;
  transform: translateY(200%);
  display: flex;
  justify-content: space-around;
  width: 100%;
  opacity: 0;
  transition: transform .2s ease, opacity .2s ease;
}

.cardie-social__item {
  list-style: none;
}

.cardie-social__item svg {
  display: block;
  height: 30px;
  width: 30px;
  fill: #515F65;
  cursor: pointer;
  transition: fill 0.2s ease, transform 0.2s ease;
}

/*Text*/
.cardie-title {
  color: #333;
  font-size: 1.5em;
  font-weight: 600;
  line-height: 2rem;
}

.cardie-subtitle {
  color: #859ba8;
  font-size: 0.8em;
}

/*Hover*/
.cardie:hover {
  box-shadow: 0 8px 50px #23232333;
}
.cardie:hover .cardie-info {
  transform: translateY(-5%);
}

.cardie:hover .cardie-social {
  transform: translateY(100%);
  opacity: 1;
}

.cardie-social__item svg:hover {
  transform: scale(1.1);
}

.cardie-avatar:hover {
  border-radius: 20px;
  transform: scale(1.1);
}

/* ************************************************************* */

/* ******************* Footer ************** */

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
}

/* ***************************************** */