body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ecebe4;
  text-decoration: none;
}
p {
  color: black;
  text-decoration: none;
}

li,a,button {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 500;
  font-size: 16;
  color: black;
  text-decoration: none;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 10%;
}
.Header {
  font-size: xx-large;
}
.Header:hover {
  text-decoration: underline;
}

/* Footer  */
.note {
  padding: 1px 70px;
}
footer {
  background-color: rgba(255, 255, 255, 0);
  color: black;
  padding: 10px;
  border-radius: 5px;
  margin-top: auto;
}

.socials {
  list-style: none;
}
.github .linkedin {
  font-style: italic;
}
.socials li {
  display: inline-block;
}
.socials li a {
  transition: all 0.3s ease 0s;
  color: black;
}
.socials li a:hover {
  color: #ff0000;
  text-decoration: underline;
}
/* Footer End */

/* Projects Section
------------------------------------------------------------------------------- */

#projects {
  min-height: 800px;
  margin: 1em 0 6em 0;
}

.projects_content {
  text-align: center;
}

.project_cards_grid {
  color: black;
  max-width: 1200px;
  position: relative;
  margin: 0 auto 0 auto;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;

  /* border: 2px solid black; */
}

.project_cards_grid .card {
  position: relative;
  cursor: pointer;
  padding: 1em .5em;
}

.project_cards_grid .card .box {
  width: 300px;
  height: 200px;
  transition: 0.4s;
}

.project_cards_grid .card .box.background1 {
  position: relative;
  background: #eef0f2;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  transform: translateY(100px);
}

.project_cards_grid .card:hover .box.background1 {
  background: #daddd8;
  transform: translateY(0);
  /* ff669c */
  /* 7bfdc7 */
}

.project_cards_grid .card .box.background1 .content {
  opacity: 0.5;
  transition: 0.3s;
}

.project_cards_grid .card:hover .box.background1 .content {
  opacity: 1;
}

.project_cards_grid .card .box.background1 .content img {
  max-width: 200px;
  max-height: 120px;
}

.project_cards_grid .card .box.background1 .content h3 {
  font-family: consolas;
  margin: 10px 0 0;
  padding: 0;
  color: black;
  text-align: center;
  font-size: 1.5em;
}

.project_cards_grid .card .box.background2 {
  position: relative;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 18px 36px rgba(125, 125, 125, 0.4);
  transform: translateY(-100px);
}

.project_cards_grid .card:hover .box.background2 {
  transform: translateY(0);
}

.project_cards_grid .card .box.background2 .content p {
  font-family: 'Segoe UI';
  margin: 0;
  padding: 0;
}

.project_cards_grid .card .box.background2 .content a {
  margin: 15px 0 0;
  display: inline-block;
  text-decoration: none;
  font-weight: 900;
  color: #333;
  padding: 5px;
  border: 1px solid #333;
}

.project_cards_grid .card .box.background2 .content a:hover {
  background: #333;
  color: #fff;
}




















































































.accordion {
    background-color: rgba(255, 255, 255, 0.299);
    border: 1px solid rgba(255, 255, 255, 0.395);
    width: 70%;
    padding: 0 10px;
    margin: 0 auto;
    list-style: none outside;
  }
  
  .accordion > * + * { border-top: 1px solid white; }
  
  .accordion-item-hd {
    display:flex;
    padding: 12px;
    position: relative;
    cursor: pointer;
    font-size: 19px;
    font-weight: bold;
    height: 80px;
    justify-content:flex-start;
    align-items: center;
  }




  
  .accordion-item-input:checked ~ .accordion-item-bd {
    max-height: 1000px;
    padding-top: 15px;
    margin-bottom: 15px;
    -webkit-transition: max-height 1s ease-in, margin .3s ease-in, padding .3s ease-in;
    transition: max-height 1s ease-in, margin .3s ease-in, padding .3s ease-in;
  }
  
  .accordion-item-input:checked ~ .accordion-item-hd > .accordion-item-hd-cta {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
  }
  
  .accordion-item-hd-cta {
    display: block;
    width: 30px;
    position: absolute;
    top: calc(50% - 6px );
    /*minus half font-size*/
    right: 0;
    pointer-events: none;
    -webkit-transition: -webkit-transform .3s ease;
    transition: transform .3s ease;
    -webkit-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    transform: rotate(-180deg);
    text-align: center;
    font-size: 12px;
    line-height: 1;
  }



  .accordion-item-bd {
    max-height: 0;
    margin-bottom: 0;
    overflow: hidden;
    -webkit-transition: max-height .15s ease-out, margin-bottom .3s ease-out, padding .3s ease-out;
    transition: max-height .15s ease-out, margin-bottom .3s ease-out, padding .3s ease-out;
  }
  
  .accordion-item-input {
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1;
    overflow: hidden;
    position: absolute;
    left: -9999px;
  }



  /* This is the beggining of the back button  */

.close-button {
  width: 40px;
  height: 40px;
  box-shadow: 0px 10 10px 10px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  background: #ecebe400;
  left: 0%;
  top: 50%;
  /* margin-top: -75px; */
  /* margin-left: -75px; */
  position: absolute;
  display: flex;
  /* z-index: 200; */
  text-indent: -9999px;
}
.close-button:before,
.close-button:after {
  content: "";
  width: 55%;
  height: 2px;
  background: black;
  position: absolute;
  top: 48%;
  left: 22%;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.close-button:after {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.close-button:hover:before {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
  top: 29%;
  left: 18%;
}
.close-button:hover:after {
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
  top: 67%;
  left: 18%;
}

/* this is the end of back button */





