@import url('https://fonts.googleapis.com/css2?family=MuseoModerno:wght@100&family=Poppins:wght@200&display=swap');

/* rgb(238,102,170)      rgb(163,156,244) */
html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body{
  /* margin-left: 80px; */
  background: rgb(0, 0, 0);
  max-height: 100vh;    
  overflow-x: hidden;
  position: relative;
  /* display: flex; */
}

/* loader */
#preloader {
  top: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgb(0, 0, 0);
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  z-index: 1000;
  left: 0;
}

#navbar {
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0);
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: 0.5s;
}



.landingpage{
  /* margin-top: 2rem; */
  width: 100%;
  position: relative;
  z-index: 1;
}

  
.overflowing {
  margin-top: 0;
  height: 100%; /* Or a specific height value */
  overflow: hidden;
  position: absolute;
}

section, section #profile, section #skills, section #project, section #contact{
  position: relative;
  width: 100%;
  height: 100vh;
  /* height: max-content; */
  background-color: rgba(198, 65, 65, 0); 
  text-align: center; 
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

div #work {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  margin-right: 70px;
  position: relative;
  width: 100%;
  height: 100%;
  background-color: rgba(198, 65, 65, 0); 
  overflow: hidden;
}

#skills{
  display: flex;
  position: relative; 
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  font-size: 50px;
  color: rgb(163,156,244);
  height: 100vh;
  margin-top: 0;
}
#skills h1{
  margin-bottom: 2rem;
}


#project {
  top:5rem;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  margin: 0;
}
#project h1{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: rgb(163,156,244);
  margin-bottom: -2rem;
}

#contact{
  background-image: linear-gradient(to bottom, rgba(255,0,0,0), rgb(163,156,244),  rgb(238,102,170));
}
.contact-container{
  display: flex;
  position: relative; 
  margin-top: 3rem;
  flex-direction: column;
  align-items: center; 
  margin-bottom: 2rem;
}

.contact-container h1{
  font-size: 60px;
  color: rgb(255, 255, 255) ;
}










.soc {
  display: flex;
  font-size: 0;
  padding: 1%;
  align-items: center;
  justify-items: center;
  justify-content: space-between;
  max-width: 100%;
}
.soc a {
height: 4rem;
width: 4rem;
margin: 0 50px; 
margin-top: 5rem;
}
.logo-1, .logo-2, .logo-3, .logo-4 ,.logo-5 ,.logo-6, .logo-7 {
  background-size: cover;
  transition: transform 0.5s ease-out, background-image 0.5s ease-out;
  filter: brightness(0%);
}
.logo-2 {
  background-color: white;
  border-radius: 100%;
}
.logo-1:hover,.logo-2:hover,.logo-3:hover,.logo-4:hover,.logo-5:hover,.logo-6:hover,.logo-7:hover{
  border-radius: 100%;
  transform: scale(1.25);
  z-index: 10;
  filter: brightness(100%);
}

.ir {
  display: block;
  overflow: visible;
  padding: 0 0 100%;
  position: relative;
  height: 80px;
  width: 90px;
}

.ir > *{
  position: absolute;
  height: 80px;
  width: 80px;
  top: 0;
  left: 0;
}

.contact-container p{
  text-align: center;
  color: rgb(0, 0, 0);
  max-width: 50%;
  margin-top:2rem;
  font-size: 1rem;
  font-weight: bold;
}

footer{
  color: #fff;
  background-color: #a2a2a2;
  height: 15px;
  font-size: 5px;
  margin-bottom: 0;
}












/* Add this at the bottom of your existing CSS */
@media only screen and (max-width: 768px) { /* Adjusts styles for screens up to 768px wide */

  #navbar {
    display: flex;
    height: fit-content;
    top:10px;
  }

  #navbar .download-button{
    width: 50px;
    height: 30px;
    position: fixed;
    font-size: small;
    text-align: center;
    align-items: center;
    top:15px;
    right: 15px;
  }

  section, section #profile, section #project, section #contact {
    height: auto; /* Adjust height for mobile */
    padding: 20px; /* Add some padding */
    /* Adjust other styles if needed */
  }

  #skills h1, #project h1, .contact-container h1 {
    margin-top: 0;
    font-size: 40px; /* Smaller font size */
  }
section #skills{
  margin: -2rem;
  padding: 0;
  overflow: hidden;
  padding: 20px;
}
#contact{
display: flex;
justify-items: start;
align-items: start;
justify-content: center;
}
  .contact-container p {
    font-size: 14px; /* Smaller text size */
    max-width: 80%; /* Wider paragraph for better readability */
    text-align: center;
  }

  .soc {
    display: flex;
    padding: 1%;
    align-items: center;
    justify-items: center;
    justify-content: space-between;
    max-width: 100%;
  }
  .soc a {
  height: 1rem;
  width: 1rem;
  margin-top: 5rem;
  }
  
  .ir > *{
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
    height: 50px;
    width: 50px;
    top: 0;
    left: -10px;
  }
}
