@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700;800;900&display=swap");

* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
header{
  position: fixed;
  top: 0; 
  left: 0;
  right: 0; 
  z-index: 1000;
  box-shadow: 0 10px 100px rgba(0,0,0,.1);
  background-color: #ffffff;
}
/* NAVBAR */
#nav-container {
  background-color: #ffffff;
  padding:  0.625rem 3.125rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 610;
  
  z-index: 2;
  width: 100%;
  overflow: hidden;
}

#left-nav {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

#icon-img {
  /* border: 1px solid rgb(0, 0, 0); */
  height: 60px;
  width: 60px;
  border-radius: 50%;
  background-image: url("/Resources/mypicturew.jpg");
  background-size: cover;
  filter: invert(0);
  
}

nav #nav-container a {
  font-size: 2rem;
  color: #616161;
  text-decoration: none;
}
nav #nav-container a:hover {
  color: #000000;
}
#right-nav ul{
  display: flex;
  align-items: center;
  gap: 1.2rem;
  letter-spacing: 1px;  
}

li {
  list-style: none;
}
li a {
  text-decoration: none;
}
#right-nav ul li a, ul li a {
  color: #616161;
  font-size: 1rem;
}
#right-nav ul li a:hover {
  color: #000000;
}
#dark-icon{
  width: 3rem;
  cursor: pointer;
}

#menu-icon{
  height: 3.4rem;
  display: none;
  cursor: pointer;
}
#menu ul{
  display: flex;
  position: absolute;
  width: 100%;
  top: 100%;
  background-color: #ffffff;
  flex-direction: column;
  max-width: 0%;
  overflow: hidden;
  transition: max-width 0.5s;
  right: 0;
  align-items: flex-end;
}
#menu ul li a {
  font-size: 2rem;
}
#menu ul li, #menu ul div{
  border-top: 0.5px solid #cacaca;
  padding: 5rem 3rem;
  width: 100%;
  display: flex;
  justify-content: end;
  font-weight: 620;
  font-family: "Source Sans 3", sans-serif;
}
#menu .menu-wrap{
  max-width: 100%;
}

#menu ul li a {
  color: #616161;
}
#menu ul li a:hover{
  color: #000000;
}

#menu ul #dark-icon{
  width: 4rem;
}
.link-contact{
  border-bottom: 0.5px solid #cacaca;

}


/* MAIN  */

#main-container {
  min-height: calc(100vh - 10vh - 330px);
  font-family: "Source Sans 3", sans-serif;
}
#introduction-container {
  height: 600px;
  width: 100%;
  background-image: url("/Resources/backgroundintroduction.jpg");
  background-size: cover;
  color: #eeeeee;
  font-family: "Source Sans 3", sans-serif;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: 8rem 5rem;
  grid-column-gap: 3rem;
  justify-content: center;
  align-content: center;
}
#introduction-photo {
  grid-row: 1/4;
}
#introduction-photo img{
  height: 300px;
  width: 568px;
  border-radius: 120px;
}
#introduction-heading {
  width: 540px;
  font-size: 2.05rem;
  margin: 3rem 0 1rem
}
#introduction-paragraph {
  width: 100%;
  font-size: 1rem;
}

#introduction-button {
  background-color: #ffffff;
  border: 1px hidden black;
  border-radius: 20px;
  text-align: center;
  padding: 1.05rem 2.2rem;
  text-decoration: none;
  position: relative;
  color: #000000;
  transition: all 1s ease 0s;
  top: 2rem;
}
#introduction-button:hover {
  transition: all 1s ease 0s;
  color: #ffffff;
  background-color: #292d2e;
}
#right-slider {
  padding-left: 3px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 245px;
  width: 50px;
  background-color: #ffffff;
  position: fixed;
  top: 221px;
  left: -66px;
  z-index: 1;
  transition: all 1s ease 0s;
}
#right-slider:hover {
  transition: all 1s ease-in-out 0s;
  transform: translateX(66px);
}
#drag-text {
  position: relative;
  background-color: #ffffff;
  left: 46px;
  bottom: 240px;
  font-family: "Source Sans 3", sans-serif;
  height: 48px;
  width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 13px;
}
#arrow-icon {
  height: 30px;
  width: 30px;
}

#image-icon1 {
  height: 40px;
  width: 40px;
  background-image: url("/Resources/facebookicon.png");
  background-size: cover;
  margin: 10px 0px;
  transition: all 0.5s ease 0s;
}
#image-icon1:hover {
  transition: all 0.5s ease-in-out 0s;
  transform: scale(1.3);
}
#image-icon2 {
  height: 40px;
  width: 40px;
  background-image: url("/Resources/insta.png");
  background-size: cover;
  margin: 10px 0px;
  transition: all 0.5s ease 0s;
}
#image-icon2:hover {
  transition: all 0.5s ease-in-out 0s;
  transform: scale(1.3);
}
#image-icon3 {
  height: 40px;
  width: 40px;
  background-image: url("/Resources/twitter.png");
  background-size: cover;
  margin: 10px 0px;
  transition: all 0.5s ease 0s;
}
#image-icon3:hover {
  transition: all 0.5s ease-in-out 0s;
  transform: scale(1.3);
}
#image-icon4 {
  height: 40px;
  width: 40px;
  background-image: url("/Resources/linkedin.png");
  background-size: cover;
  margin: 10px 0px;
  transition: all 0.5s ease 0s;
}
#image-icon4:hover {
  transition: all 0.5s ease-in-out 0s;
  transform: scale(1.3);
}

/* SECTION ABOUT */
#loading{
border: 3px solid #666666;
border-radius: 25px;
height: 38.2px;
width: 61px;
position: relative;
display: flex;
align-items: center;
padding: 1px;
bottom: 75px;
transform: rotate(90deg);

}
#loading-dot{
  /* border: 1px solid #f9f9f9; */
  width: 6px;
  height: 6px;
  background-color: #000000;
  border-radius: 50%;
  animation: loading-dot 2s ease-in-out 0s infinite normal;
}
@keyframes loading-dot {
  0%  {
            transform: translateX(1px);
            
  }
  10%  {
    background-color: #666666;
   
  }
  25%  {
    background-color: #b3b1b1;
    
  }
  35%  {
    background-color: #d6d4d4;
    
  }
  45% {
    background-color: #e4e3e3;
  }

  50% {
            transform: translateX(43px);
            background-color: #f9f9f9;
  }
  70% {
            
            background-color: #575757;
  } 
  100% {
    transform: translateX(1px);
    background-color: #000000;
} 


  }
  
#about-container {
  height: 1040px;
  background-color: #f9f9f9;
  padding: 120px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-headings {
  margin: 0px 0px 110px;
  width: 72.1%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-text {
  font-size: 2.5rem;
}
.section-line {
  margin: 10px 0px;
  height: 6px;
  width: 35px;
  border: 1px hidden black;
  border-radius: 20px;
  background-color: #555555;

  animation: line-moving  2s ease-in-out 0s infinite normal; 
  
}
@keyframes line-moving  {
  0% {
    transform: translateX(-40px);
  }
  50% {
    transform: translateX(40px);
  }
  100% 
  {
    transform: translateX(-40px);
  }
  
}




.section-paragraph {
  text-align: center;
  font-size: 1.26rem;
  color: #555555;
  width: 65.8%;
}
#about-skills {
  width: 72.1%;
  height: 523px;
  grid-gap: 1px;
  display: grid;
  grid-template-columns: 50% 50%;
  overflow: hidden;
  grid-column-gap: 90px;
}
#left-skills {
  height: 522px;
  width: 91.3%;
}
.skills-heading {
  height: 42px;
  font-size: 1.75rem;
  margin-bottom: 20px;
}
.skills-paragraph {
  margin-bottom: 10px;
  color: #666666;
  font-size: 1.13rem;
}
#skills-paragraph {
  margin-bottom: 40px;
}
#left-skills p a {
  color: #000000;
  font-weight: 510;
  text-decoration: none;
}
#left-skills p a:hover {
  font-weight: 610;
  text-decoration: underline;
}
#skills-button {
  
 
  background-color: #292d2e;
  border: 1px hidden black;
  border-radius: 20px;
  text-align: center;
  padding: 1.05rem 2.2rem;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.1rem;
  transition: all 1s ease 0s;
}
#skills-button:hover {
  transition: all 1s ease 0s;
  color: #000000;
  background-color: #f9f9f9;
}

#skills-container {
  width: 70%;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  color: #666666;
  font-weight: 510;
}
.skill-box {
  margin: 0 0.9rem 0.9rem 0;
  background-color: #e7e7e7;
  width: 56px;
  height: 43px;
  border: 1px hidden black;
  border-radius: 14px;
  transition: all 0.7s ease 0s;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
  
}
.skill-box:hover {
  transition: all 0.7s ease-in-out 0s;
  color: #ffffff;
  background-color: #000000;
}
#skill-box3 {
  width: 105px;
}
#skill-box5 {
  width: 140px;
}
#skill-box6 {
  width: 170px;
}
#skill-box7 {
  width: 72px;
}
#skill-box8 {
  width: 100px;
}

/* SECTION PROJECTS */
#projects-container {
  height: 1270px;
  background-color: #ffffff;
  padding: 120px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#project-headings{  
  margin: 0px 0px 60px;
  width: 72.1%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#headingg {                 /*NEW*/
  margin-bottom: 5px;
}
.projects {
  width: 72.1%;
  height: 523px;
  /* height: 423px; */
  display: grid;
  grid-template-columns: 50% 50%;
  overflow: hidden;
  grid-column-gap: 80px;
  margin-bottom: 100px;
  align-items: center;
}
.live_icons {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0px 3px;
}

#hover-icon:hover{
  scale: 1.2;
  transition: all 0.2s;
  cursor: pointer;
}
.project-image {
  height: 362px;
  width: 89.9%;
  background-size: cover;
}
.swiper .swiper-pagination-bullet-active{
  background-color:  #7066ff;
}
.swiper .swiper-button-prev, .swiper .swiper-button-next{
  color: #7066ff;
}

.swiper-slide img{
  height: 380px;
  width: 521px;
  margin: 0px 20px;
}
.swiper {
  width: 580px;
  height: fit-content;
}

.swiper .swiper-pagination-bullet-active{
  background-color:  #555555;
}
.swiper .swiper-button-prev, .swiper .swiper-button-next{
  color: #292d2e ;
}

.project-details {
  height: 247px;
  width: 83.3%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  
}
#section-text{
  font-size: 1.56rem;
  color: #666666;
}
.projects-paragraph{
  margin-top: 3px;
  /* margin-top: 20px; */
  color: #666666;
  font-size: 1.1rem;

}
#buffering-circle 
{
  margin-top: 30px;
  border: 10px solid #666666;
  height: 80px;
  width: 80px;    
  border-top: 10px solid black;
  border-radius: 50%;
  animation: buffering-circle 1.5s ease-in-out 0s infinite normal; 
}
@keyframes buffering-circle {
  from {
    transform: rotate(0deg);
  }
  to {transform: rotate(360deg);}
  
}

/* CONTACT SECTION */

#contact-container{
  height: 1520px;
  background-color: #ffffff;
  padding: 120px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("/Resources/backgroundintroduction.jpg");
  background-size: cover;
  color: #eeeeee;
  font-family: "Source Sans 3", sans-serif;
  

}
#contact #contact-container .section-headings .section-line
{
  background-color: #ffffff;
}
#contact #contact-container .section-headings .section-paragraph{
  color: #eeeeee;
}
#contact-form
{
  display: flex;
  height: 840px;
  width: 50.5%;
  background-color: #ffffff;
  padding: 40px;
  color: #666666;
  font-size: 0.9rem;
  font-weight: 610;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-input{
  margin-bottom: 40px;
  width: 100%;
  overflow: hidden;
}
.contact-label{
  height: 21px;
  width: 720px;
  margin-bottom: 10px;
}
div .contact-insert{
  height: 53px;
  width: 100%;
  border: 1px solid #ebebeb;
  padding: 10px;
  border-radius: 10px;
  background-color: #f0f0f0;
  font-weight: 602;
  font-size: 0.9rem;
  color: #333;
 outline: none;
}
div .contact-message{
  height: 256px;
  width: 100%;
  border: 1px solid #ebebeb;
  padding: 10px;
  border-radius: 10px;
  background-color: #f0f0f0;
  font-weight: 602;
  font-size: 0.9rem;
  color: #333;
 outline: none;
 resize: none;
}
#submit-button{
  
  border: 1px hidden black;
  background-color: #292d2e;
  color: #ffffff;
  border-radius: 18px;
  text-align: center;
  padding: 1.05rem 2.2rem;
  transition: all 1s ease 0s;
  font-size: 1.2rem;
  cursor: pointer;
  
}
#submit-button:hover{
  transition: all 1s ease 0s;
  color: #000000;
  background-color: #ffffff;
}




/* FOOTER */
footer {
  height: 330px;
  background-color: #000000;
  font-family: "Source Sans 3", sans-serif;
  color: white;
  overflow: hidden;
  padding-top: 53px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
#upper-footer {
  height: 185px;

  display: flex;
  justify-content: space-between;
  width: 72.02%;
}
#footer-heading {
  width: 100%;
  font-size: 1.37rem;
  font-weight: 610;
  margin-bottom: 20px;
}
#footer-paragraph {
  width: 62.9%;
  font-size: 0.937rem;
}

#social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  gap: 0.6vw;
}
#social-icon1 {
  height: 30px;
  width: 30px;
  background-image: url("/Resources/white\ facebook.png");
  background-size: cover;
  transition: all 0.5s ease 0s;
}
#social-icon1:hover {
  transform: scale(1.4);
  transition: all 0.5s ease-in-out 0s;
}

#social-icon2 {
  height: 30px;
  width: 30px;
  background-image: url("/Resources/white\ insta.png");
  background-size: cover;
  /* margin: 10px 10px 0px 0px; */
  transition: all 0.5s ease 0s;
}
#social-icon2:hover {
 
  transition: all 0.5s ease-in-out 0s;
  transform: scale(1.4);
}

#social-icon3 {
  height: 30px;
  width: 30px;
  background-image: url("/Resources/white\ twiter.png");
  background-size: cover;
  /* margin: 10px 10px 0px 0px; */
  transition: all 0.5s ease 0s;
}
#social-icon3:hover {
  
  transform: scale(1.4);
  transition: all 0.5s ease-in-out 0s;
}

#social-icon4 {
  height: 30px;
  width: 30px;
  background-image: url("/Resources/white\ linkedin\ icon.png");
  background-size: cover;
  /* margin: 10px 10px 0px 0px; */
  transition: all 0.5s ease 0s;
}
#social-icon4:hover {
  
  transform: scale(1.4);
  transition: all 0.5s ease-in-out 0s;
}

#copywrite-text {
  padding: 2.1875rem 0 0;
  border-top: 1px solid #444;
  color: #eee;
  font-size: 0.75rem;
  text-align: center;
  width: 72.02%;
}
#copywrite-text a {
  color: #ffffff;
  margin-left: 1px;
  font-weight: 510;
}

/*                                                                    DARK THEME                                           */

body.dark-theme {
  background-color: #1f1f1f;
  color: #ffffff;
}

.dark-theme #nav-container {
  background-color: #1f2324;
  color: #ffffff;
}

.dark-theme #right-nav ul li a, .dark-theme #nav-name {
  color: #ffffff;
}
.dark-theme ul li a:hover, .dark-theme #nav-name:hover{
  color: #cecece;
}

.dark-theme #image-icon1, .dark-theme #image-icon2,.dark-theme #image-icon3,.dark-theme #image-icon4,.dark-theme #arrow-icon, .dark-theme #menu-icon {
  filter: invert(1);
}
.dark-theme #drag-text, .dark-theme #right-slider{
  background-color: #1f1f1f;
}

.dark-theme #about-container{

  background-color: #121212;
} 
.dark-theme .section-paragraph, .dark-theme .skills-paragraph{
  color: #b5b1b1;
}
.dark-theme #projects-container{

  background-color: #171717;
} 
.dark-theme .projects{
  background-color: #ffffff;
  border-radius: 20px;
}
.dark-theme #section-text, .dark-theme #linkedin {
  color: #ffffff;
}
.dark-theme #buffering-circle{
  border-color: #ffffff;
  border-top-color: #8f8f8f;
}
.dark-theme #contact-form{
  background-color: #1f1f1f;
  color: #b5b1b1;
}


#menu-icon{
  height: 3.4rem;
  display: none;
  cursor: pointer;
}
.dark-theme #menu ul{
  background-color: #171717;
 
}

.dark-theme #menu ul li, .dark-theme #menu ul div, .dark-theme #menu ul .link-contact{
  border-color: #5a5a5a;
}
 
.dark-theme #menu ul li a {
  color: #ffffff;
}

