

/* General styles */
:root{
  --grey:  rgb(118, 127, 148);
  --margin: 1.5rem;
  --textColor: rgb(250, 248, 248);
  --font:  "Poppins sans", sans-serif;
  --font-size:  clamp(.5rem, 10vw, 1.5rem);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box 100%;

}

body {
  font-family: "Poppins sans", sans-serif;
  font-size: var(--font-size);
  padding: 40px;
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/499416/demo-bg.jpg) no-repeat center center fixed ;
  background-size: cover;
}


#myName{
  font-family: "Josefin sans" , sans-serif;
  font-weight:300;
  font-size: clamp(5rem , 20vw, 10rem);
  margin: 2.5rem auto ;
}
 h4 {
  font-size: 4rem;
  color: var(--textColor);
  margin-bottom: 2%;
  text-align: center;
}

.about__Content,  .about__Contact, .about__Project{
font-family:var(--font);
font-weight: bold;
color: var(--grey);
font-size: 1.25rem;
text-align: center;
margin-bottom: 2.5vh;
line-height: 2;
}


.container__home, #title{
font-size: var(--font-size);
font-weight: bold;
margin: 2.5rem auto;
}
.text_header , .about__Content{
  margin:1.5rem auto 1.5rem auto;
}

#mySidebar.navbar__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(105, 104, 104);
  padding-block: .75rem;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 1;
  width: auto;
}

.page {
  padding-top: .75rem;
}
a:link {
  color: rgb(0, 195, 255);
}
a:visited {
  color: var(--grey);
}
a:hover {
  color: rgb(255, 253, 253);
}

.navbar__container a {
  text-decoration: none;
  color: rgb(32, 32, 32);
}

.logo {
  margin-right: 3.125rem;
  height: 3.125rem;
  width:3.125rem;
}

.list {
  list-style: none;
  display: flex;
  gap: 1.563rem;
}

.list a {
  color: var(--textColor);
  font-size: var(--font-size);
  font-weight: bolder;
}

.list a:hover {
  transform: translateY(-.625rem);
  color: var(--grey);
}
#toggler {
  display: none;
}

#mySidebar svg {
  display: none;
}
@media only screen and (max-width: 37.5rem) {
  body {
    margin: 0;
    padding: 0;
  }

  .menu {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    color: var(--textColor);
  }

  .list {
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
  }

  #mySidebar svg {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  }

  #toggler:checked ~ .menu {
    max-height: 100%;
  }
  .progressbar {
    max-height: 100%;
    max-width: 50%;
  }
  .about__Project{
    margin: var(--margin);
  }

  .about__Content{
    margin: 0.625rem 2.5rem;
  }

  .explore,
  .icon-links {
    font-size: 1.125rem;
  }
}

#picture {
  border-radius: 50%;
  width: 4.375rem;
  height: 4.375rem;
  padding: .3rem;
}

  .text{
  color: var(--textColor);
  font-weight: 1500;
  font-size: 35px;
  padding: 20px;
  text-align: center;
  font-family:var(--font);
}

/* Style for container-skills */

html{
  scroll-behavior: smooth;
}

#about_me{
  text-align: center;
  color:var(--textColor);
  margin-bottom: 10%;
}

#contact_me{
 padding-bottom: 50%;
}

#about_me, #contact_me, #project{
  padding-top:17%;
  height:38%;
  text-align: center;
  align-items: center;
  justify-content: center;

}
.row {
  width: 100%;
  display: flex;
  flex:100%;
  flex-direction: row;
  justify-content: center;
  flex-flow: row wrap;
   padding:10% 0 30%;
} 

.project {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0;
  flex: 1;
  width: 100%;
  height: 350px;
  margin:1rem;
  overflow: hidden;
}

.project img {
  position: relative;
  vertical-align: top;
  transition: 0.6s;
  height: 100%;
  width: 100%;
  transition-property: opacity;
}

.project:hover img {
  opacity:0.1;
}

.project .details {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  color: var(--textColor); 
  width: 100%;
  height: 100%; 
}

  .title {
  color: black;
  text-align: center;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 200;
  margin-top: 2rem;
  transition: 0.4s;
  transition-property: transform;
}  

.project .details .title span {
  font-weight: 600;
}

.project:hover .title {
  color: var(--textColor);
  transform: translateY(-30px);
  padding-bottom: 1rem;
  text-align: center;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 200;
  margin-top: 70px;
  transition: 0.4s;
  transition-property: transform;
}

.info {
  color: var(--textColor);
  margin: 10px 30px 0 30px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.75rem;
  text-align: center;
  opacity: 0;
  transition: 0.6s;
  transition-property: opacity, transform;
}
.project:hover .info {
  opacity: 1;
  transform: translateY(-40px);
}
.more {
  position: absolute;
  background: var(--textColor);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  bottom: -60px;
  transition: 0.6s;
  transition-property: bottom;
}
.icon-links a:last-child {
  margin-right: 30px;
}

.project:hover .more {
  bottom: 0;
}

.more .explore {
  color: #000;
  text-decoration: none;
  font-size: 20px;
  font-weight: bolder;
  text-transform: uppercase;
}
@media (max-width: 1300px){
  .project {
    flex: 100%;
    max-width: 400px; 
    flex-flow: column wrap;
  }
}

/* style for the button */
.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.button {
  margin: 50px;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 30px;
  letter-spacing: 2px;
  cursor: pointer;

  background: transparent;
  color: rgba(0, 212, 255, 0.9);
  border: 1px solid rgba(0, 212, 255, 0.6);
  transition: all 0.3s ease;
}

.button:hover {
  transform: scale(1.125);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}
.contact {
  margin-top: 100px;
}

.footer {
  color: var(--textColor);
  bottom: 10px;
  position: sticky;
  padding-top: 15%;
}

svg {
  color: var(--textColor);
}

li {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.icons svg {
  cursor: pointer;
  background: transparent;
  color: rgba(0, 212, 255, 0.9);
  /* border: 1px solid rgba(0, 212, 255, 0.6); */
  transition: all 0.3s ease;
}
.icons svg:hover {
  transform: scale(1.125);
  color: var(--textColor);
  border-color: var(--textColor);
  transition: all 0.3s ease;
}

.text{
font-size: clamp(.5rem, 10vw, 3.5rem);
color: var(--textColor);
font-family: var(--font);
}
