/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}
body::-webkit-scrollbar {
  width: 0.25rem;
}
body::-webkit-scrollbar-track {
  background: #2c3e50;
}
body::-webkit-scrollbar-thumb {
  background: var(--primary);
}
:root {
  /* Colors */
  --bg-color: #e7eafb;
  --primary: #6ECDDD;
  --hover: #008170;
 
  /* Fonts */
  --h1-font: 2.2rem;
  --h2-font: 1.1rem;
  --p-font: 0.9rem;
  --spacing: 1px;
  /* Margins */
  --m-1: 0.4rem;
  --m-4: 2rem;
}
.container {

  
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

html {
  background: #1c2834;
  color: #fff;
}
section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    margin: auto;
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-color);
  padding: 18px 100px;
  box-shadow: 0 0.5rem 50rem rgba(0, 0, 0, 0.1);
}
.logo {
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
}
.navbar {
  display: flex;
}
.navbar a {
  font-size: 1rem;
  padding: 10px 20px;
  color: #222435;
  font-weight: 500;
}
header .navbar a:hover {
  background: var(--primary);
  color: #fff;
}
#menu-icon {
  font-size: 2rem;
  cursor: pointer;
  display: none;
}
/* Home */

.summary {
  padding: 75px 100px 20px;
  text-align: left;
  margin: 20px 0;
}
.challenges {

  padding: 20px 100px;
  text-align: left;
  margin: 20px 0;
}
.logos {

  padding: 20px 100px;
  text-align: left;
  margin: 20px 0;
}
.posters {

  padding: 20px 100px;
  text-align: left;
  margin: 20px 0;
}
.thumbs {

  padding: 20px 100px;
  text-align: left;
  margin: 20px 0;
}
.social-graphics {
  padding: 20px 100px;
  text-align: left;
  margin: 20px 0;
}
.project-challenges {
  background-color: #2c3e50;
  padding: 10px;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  width: auto;
}
.design-challenges {
height: 300px;
max-width: 100%;
max-height: 100%;
}
.project-logos {
  background-color: #2c3e50;
  padding: 10px;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  width: auto;
}
.design-logos {
height: 300px;
max-width: 100%;
max-height: 100%;
}
.project-posters {
  background-color: #2c3e50;
  padding: 10px;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  width: auto;
}
.design-posters {
height: 750px;
max-width: 100%;
max-height: 100%;
}
.project-thumbs {
  background-color: #2c3e50;
  padding: 10px;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  width: auto;
}
.design-thumbs {
height: 250px;

}
.project-social {
  background-color: #2c3e50;
  padding: 10px;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  width: auto;
}
.design-social {
height: 300px;
max-width: 100%;
max-height: 100%;
}
.heading {
  display: flex;
  justify-content: center;
  padding: 1.4rem 0;
}
.heading h1 {
  font-size: var(--h1-font);
  font-weight: 600;
  border-bottom: 2px solid var(--primary);
}

.contact {
  flex-direction: column;
}
.contact-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.contact-info {
  max-width: 500px;
}
.info-box {
  display: flex;
  align-items: center;
  margin: 1rem 0;
}
.info-box i {
  font-size: 20px;
  color: var(--primary);
}
.info-box p {
  margin-left: 1rem;
  font-weight: 400;
}
.social {
  display: flex;
  align-items: center;
}
.social a {
  margin-right: 1rem;
}


.copyright {
  padding: 20px;
  text-align: center;
  background: var(--primary);
}
/* Making Responsive */
 
@media (max-width: 820px) {
  :root {
    --h1-font: 2rem;
    --h2-font: 1rem;
    --m-4: 1.4rem;
  }
  header {
    padding: 13px 65px;
  }
  .about {
    flex-direction: column;
  }
  .about-img {
    width: 240px;
    height: 300px;
  }
  .p-box {
    flex: 1;
  }
  .skills-content {
    flex-direction: column;
  }
  .summary {
    padding: 40px 20px 5px;
  }
  .container {
    max-width: 50%;
    padding: 10px 20px;
  }
  .logos {
    padding: 10px 20px;
  }
  .challenges {
    padding: 20px 20px;
  }
  .posters {
    padding: 10px 20px;
  }
  .thumbs {
    padding: 10px 20px;
  }
  .social-graphics {
    padding: 10px 20px;
  }  
}


@media (max-width: 768px) {
  #menu-icon {
    display: initial;
    color: #222435;
  }
  header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--bg-color);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 0.5s ease;
  }
  header .navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .navbar a {
    margin: 1rem;
    padding: 1.5rem;
    display: block;
    background: #fff;
    border-left: 4px solid #222435;
  }
  .home {
    background: #e7eafb;
    justify-content: center;
  }
  .home-text {
    max-width: 410px;
  }
  .contact-content {
    flex-direction: column;
  }
  .container {
    
    min-width: fit-content;
  }
  .design-thumbs {
    height: 100px;
  }
  .design-challenges {
    height: 150px;
  }
  .design-logos {
    height: 200px;
  }
  .design-posters {
    height: 300px;
  }
  .design-social {
    height: 100px;
  }
}


@media (max-width: 670px) {
  header {
    padding: 10px 34px;
  }
  section {
    padding: 10px 20px;
  }
  .skills-img {
    width: 320px;
  }
}


@media (max-width: 360px) {
  .home-text {
    max-width: 225px;
  }
  .skills-img {
    width: 280px;
  }
  .about-text {
    margin-top: 1rem;
  }
  .container {
    padding: 10px 20px;
    object-fit: contain;
  }
  .logos {
    padding: 10px 20px;
  }
  .challenges {
    padding: 10px 20px;
  }
  .posters {
    padding: 10px 20px;
  }
  .thumbs {
    padding: 10px 20px;
  }
  .social-graphics {
    padding: 10px 20px;
  }  
}
  

  
