/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

   /*========== Font and typography ==========*/
  /*--body-font: 'CustomFont';*/
  --body-font:'Poppins', sans-serif;
  --biggest-font-size: 1.75rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  --tiny-font-size: .625rem;
  --first-hue: 131;
  --sat: 37%;
  --lig: 83%;
  --second-hue: 130;
  --first-color: hsl(var(--first-hue), var(--sat), var(--lig));
  --first-color-alt: hsl(var(--first-hue), var(--sat), 71%); /* -4% */
  --title-color: hsl(var(--first-hue), 15%, 95%);
  --text-color: hsl(var(--first-hue), 8%, 75%);
  --text-color-light: hsl(var(--first-hue), 4%, 55%);
  --body-color: hsl(var(--first-hue), 32%, 8%);
  --container-color: hsl(var(--first-hue), 32%, 12%);

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semibold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  transition: .4s; /* for light mode animation */
}

h1, h2, h3 {
  color: var(--title-color);
  font-weight: var(--font-semibold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== THEME ===============*/
.change-theme{
  font-size: 1.25rem;
  margin-right: 20px;
  cursor: pointer;
  transition: .3s;
}

.change-theme:hover{
  color: var(--first-color);
}

/*========== Variables Light theme ==========*/
body.light-theme{
  --first-hue: 131;
  --sat: 25%;
  --lig: 60%;
  --second-hue: 130;
  --first-color: hsl(var(--first-hue), var(--sat), var(--lig));
  --title-color: hsl(var(--first-hue), 15%, 15%);
  --text-color: hsl(var(--first-hue), 8%, 35%);
  --body-color: hsl(var(--first-hue), 100%, 99%);
  --container-color: #ffff;
}

/*========== 
    Color changes in some parts of 
    the website, in light theme
==========*/
.light-theme .scroll-header{
  box-shadow: 0 2px 4px hsla(0, 0%, 1%, .1);
}

.light-theme .section_title{
  color: hsla(var(--first-hue), 30%, var(--lig));
}

.light-theme .section_subtitle{
  color: var(--text-color);
}

.light-theme .home_social-link{
  box-shadow: 0 2px 8 px hsla(var(--first-hue), 48%, 8%, .1)
}

.light-theme .home_social::after{
  background-color: var(--title-color);
}

.light-theme .home_social-link,
.lgiht-theme .home_scroll,
.light-theme .button:hover
.light-theme .active-work{
  color: var(--title-color);
}

.light-theme .button{
  color:#fff
}

.light-theme .button--ghost{
  background-color: transparent;
  border: 2px solid var(--first-color);
  color: var(--first-color);
}

.light-theme .navbutton--ghost{
  background-color: transparent;
  color: var(--first-color);
}

.light-theme .header {
  box-shadow: 0 2px 4px hsla(var(--first-hue), 48%, 8%, .1);
}

.light-theme .dropdown-content {
  box-shadow: 0 2px 4px hsla(var(--first-hue), 48%, 8%, .1);
}

.light-theme .about_box {
  box-shadow: 0 2px 8px hsla(var(--first-hue), 48%, 8%, .1);
}

.light-theme .slideshow-container {
  box-shadow: 0 2px 8px hsla(var(--first-hue), 48%, 8%, .1);
}

.light-theme .skills_content,
.light-theme .services_card,
.light-theme .work_card,
.light-theme .contact_card{
  box-shadow: 0 2px 16px hsla(var(--first-hue), 48%, 8%, .1);
}

.light-theme::-webkit-scrollbar{
  background-color: hsl(var(--first-hue), 8%, 66%);
}

.light-theme::-webkit-scrollbar-thumb{
  background-color: hsl(var(--first-hue), 8%, 54%);
}

.light-theme::-webkit-scrollbar-thumb:hover{
  background-color: hsl(var(--first-hue), 8%, 44%);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 968px;
  margin-left: 1rem;
  margin-right: 1rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.main {
  overflow: hidden;
}

.section {
  padding: 4.5rem 0 1rem;
}

.section_title, 
.section_subtitle {
  text-align: center;
}

.section_title {
  font-size: var(--h1-font-size);
  color: var(--first-color);
  margin-bottom: 1rem;
}

.section_subtitle {
  display: block;
  font-size: var(--h2-font-size);
  color: var(--text-color-light);
}

/*=============== HEADER & NAV===============*/
.header{
  position:  fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--body-color);
  box-shadow: 0 2px 4px hsl(var(--first-hue), 32%, 12%);
  z-index: var(--z-fixed);
  transition: .4s; /* for light mode animation */
}

.nav{
  height: var(--header-height);
  justify-content: space-between;
  align-items: center;
}

.drop_btn, .exit_btn{
  justify-self: center;
  color: var(--first-color);
  font-weight: var(--font-medium);
  padding-top:3px;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 8px;
  font-size: 1.6rem;
  background-color: var(--body-color);
  margin-left:15px;
}

.contents{
  overflow: hidden;
}

.dropdown-content {
  flex-direction: column;
  z-index: var(--z-fixed);
  position: absolute;
  text-align: left;
  left:0;
  background-color: var(--body-color);
  box-shadow: 0 2px 4px hsl(var(--first-hue), 32%, 12%);
  width:100%;
  padding-top: 20px;
}

.dropdown-content a{
  padding:14px 0px 14px 26px;
}

.nav_logo{
  color: var(--first-color);
  font-weight: var(--font-medium);
  transition: .4s;
}

.nav_logo:hover{
  color: var(--first-color-alt);
}

/* Change background header */
.scroll-header{
  box-shadow: 0 4px 4px hsla(0, 0, 4%, .3);
}

/*=============== HOME ===============*/
.home_container{
  height: 90vh;
  position: relative;
  padding-top: 2rem;
  align-items: center;
  justify-content: center;
}

.home_data{
  text-align: center;
}

.home_education{
  font-size: 1.23rem;
  font-weight: var(--font-medium);
}

.home_greeting{
  font-size: 1.5rem;
  font-weight: var(--font-medium);
  display: block;
  color: var(--title-color);
  margin-bottom: .25rem;
}

.home_education{
  color: var(--text-color);
}

.home_name{
  font-size: var(--biggest-font-size);
}

.home_img{
  width: 280px;
}

.home_handle{
  margin-bottom:auto;
  justify-self: center;
  width: 250px;
  height: 250px;
  border-radius: 10rem 10rem 10rem 10rem;
  overflow: hidden;
}

/*=============== BUTTONS ===============*/
.button{
  display: inline-block;
  background-color: var(--first-color);
  color: var(--body-color);
  padding: .75rem 1rem;
  border-radius: .5rem;
  font-weight: var(--font-medium);
  transition: .4s;
  justify-self: center;
  margin:auto;
  left:0;
  right:0;
}

.button:hover{
  background-color: var(--first-color);
  color: var(--container-color);
}

.button--ghost{
  background-color: transparent;
  border: 2px solid var(--first-color);
  color: var(--first-color);
}

.navbutton--ghost{
  background-color: transparent;
  color: var(--first-color);
}

/*=============== ABOUT ===============*/
.about_container{
  row-gap: 2.5rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.slideshow-container {
  justify-content: center;
  align-items: center;
  width:330px;
  height: auto;
  background-color: var(--container-color);
  border-radius: 1.5rem;
  padding: .75rem .5rem;
  position: relative;
  margin:auto;
  left:0;
  right:0;
}

.mySlides {
  display: none;
}

.dot {
  cursor: pointer;
  margin-top: 1rem;
  height: 8px;
  width: 8px;
  display:inline-block;
  background-color: #bbb;
  border-radius: 50%;
  transition: #bbb 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.about_text {
  position:absolute;
  left:0;
  right:0;
  text-align: center;
  justify-self: center;
  margin: auto;
  bottom:7.3%;
}

.about_img{
  width: 100px;
  height:auto;
  padding-left:1.5rem;
  padding-right:1.5rem;
  padding-top:1.5rem;
  padding-bottom: 1.5rem;
  border-radius: 3rem 3rem 3rem 3rem; 
  justify-self: center;
}

.about_data{
  align-items: center;
  justify-items: center;
}

.about_info{
  justify-content:center;
  align-items: center;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  justify-self: center;
  gap:1rem;
  column-gap: 0.1rem;
  margin-top: 15px;
}

.about_box{
  background-color: var(--container-color);
  border-radius: .75rem;
  text-align: center;
  padding: .5rem 0;
  margin: 0 10px;
  grid-column: span 2;
}

.about_box:hover{
  background-color: var(--first-color);
  color: var(--container-color);
}

.last_box1{
  grid-column: 3 / span 2;
}

.last_box2{
  grid-column: 5 / span 2;
}

.about_title{
  font-size: var(--normal-font-size);
}

.about_subtitle{
  font-weight: var(--font-medium);
  font-size: .85rem;
}

.about_intro1, .about_intro2{
  text-align: center;
  font-weight: var(--font-medium);
  font-size: var(--h3-font-size);
  margin-bottom: 5px;
}

.about_description{
  text-align:center;
  margin-bottom: 1.3rem;
}

/*=============== SERVICES ===============*/
.services_container{
  grid-template-columns: repeat(3, 1fr);
  padding-top: 1rem;
  justify-items: center;
  align-items: center;
}

.services_cover{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.services_card{
  background-color: var(--container-color);
  padding: 2.5rem 1.5rem 1.5rem;
  border-radius: 1rem;
  width:200px;
}

.services_title{
  font-size: var(--h3-font-size);
  margin-bottom: 2.5rem;
  text-align:center;
}

.services_button{
  color: var(--first-color);
  font-size: var(--normal-font-size);
  display: flex;
  align-items: center;
  column-gap: .25rem;
  cursor: pointer;
}

.services_button:hover .services_icon{
  transform: translate(.25rem);
}

.services_icon{
  font-size: 1rem;
  transition: .45;
}

/* Services modal */
.services_modal{
  position: fixed;
  inset: 0;
  background-color: hsla(var(--second-hue), 28%, 16%, .7);
  padding: 2rem 1rem;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0; 
  transition: .4s;
  justify-content:center;
  align-items: center; 
  left:0;
  right:0;
  margin:auto;
  z-index: var(--z-modal);
}

.services_modal-content{
  position: relative;
  background-color: var(--body-color);
  padding: 3rem 1rem 1rem;
  border-radius: 1.5rem;
  justify-content:center;
  align-items: center; 
  left:0;
  right:0;
  margin:auto;
}

.services_modal-title{
  text-align: center;
}

.services_modal-title{
  font-size: var(--normal-font-size);
  margin-bottom: 1.1rem;
}

.services_link{
  font-size: var(--h2-font-size);
  font-weight: var(--font-medium);
  color: var(--first-color);
}

.services_img1,
.services_img2,
.services_img3{
  display: flex;
  width: 340px;
  left:0;
  right:0;
  margin:auto;
  margin-bottom: 1.5rem;
  justify-self: center;
}

.services_img2{
  width: 500px;
}

.services_img3{
  width: 450px;
}

.services_modal-list{
  display: grid;
  row-gap: .75rem;
  margin-bottom:2rem;
}

.services_modal-item{
  display: flex;
  align-items: flex-start;
  column-gap: .5rem;
}

.services_modal-icon{
  font-size: 1.5rem;
  color: var(--first-color);
}

.services_modal-info{
  font-size: var(--small-font-size);
}

.services_modal-close{
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--first-color);
  cursor: pointer;
}

/*Active modal*/
.active-modal{
  opacity: 1;
  visibility: visible;
}

/*=============== WORK ===============*/
.work_container{
  padding-top: 1rem;
}

.work_filters{
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: .75rem;
  margin-bottom: 2rem;
}

.work_item{
  cursor: pointer;
  color: var(--title-color);
  padding: .25rem .75rem;
  font-weight: var(--font-medium);
  border-radius: .5rem;
}

.work_card{
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: 1rem;
}

.work_img{
  border-radius: 1rem;
  margin-bottom: .75rem;
}

.work_title{
  font-size: 1.4rem;
  font-weight: var(--font-medium);
}

.work_subtitle{
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: .25rem;
}

.work_button{
  width: max-content;
  color: var(--first-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  column-gap: .25rem;
}

.work_git{
  width: max-content;
  color: var(--first-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  column-gap: .25rem;
}

.work_button:hover .work_icon{
  transform: translateX(.25rem);
}

.work_git:hover .work_icon{
  transform: translateX(.25rem);
}

.work_icon{
  font-size: 1rem;
  transition: .4s;
}

.work_description{
  font-weight: var(--font-medium);
  margin-top: 1rem;
}

.work_info{
  display: grid;
  gap: 2rem;
}

.work1_data{
  text-align: center;
}

.work1_title{
  font-size: var(--small-font-size);
}

/* Active item work*/
.active-work{
  background-color: var(--first-color);
  color: var(--body-color);
}

/*=============== FOOTER ===============*/
.footer_container{
  margin-top: 2rem;
}

hr{
  color: hsla(var(--first-hue), 28%, 8%, .1);
  filter: blur(1px);
  size: 0.5px;
}

.footer_social{
  display:flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 1rem;
  margin-right: 5rem;
  margin-bottom: 2rem;
}

.footer_caption{
  color: var(--text-color-light);
  font-size: var(--normal-font-size);
  margin-left: 5.6rem;
  font-weight: var(--font-medium);
  justify-content:left;
  align-items: bottom;
}

.footer_icons{
  display: inline-flex;
}

.footer_social-link{
  color: var(--first-color);
  justify-content: right;
  display: inline-flex;
  font-size: 1.7rem;
  padding: 0.4rem;
  border-radius: 0.5rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(var(--second-hue), 8%, 38%);
}

::-webkit-scrollbar-thumb{
  background-color: hsl(var(--second-hue), 8%, 26%);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover{
  background-color: hsl(var(--second-hue), 8%, 20%);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 379px){
  body {
    min-height: 800px;
  }

  .home_handle{
    width: 200px;
    height: 200px;
  }

  .home_img{
    width: 200px;
  }

  .about_intro2{
    margin-top:33px;
  }  

  .about_info{
    grid-template-columns: repeat(6, 1fr);
    column-gap: 0.5rem;
  }

  .about_description{
    max-width: 280px;
    margin:auto;
    left:0;
    right:0;
    text-align:center;
    margin-bottom: 1.3rem;
  }

  .about_box{
    margin:0px;
  }

  .last_box1{
    grid-column: span 2;
  }
  
  .last_box2{
    grid-column: 3 / span 2;
  }
  
  .slideshow-container {
    width:245px;
  }

  .about_img{
    width:245px;
    margin-bottom:1.2rem;
  }

  .about_text{
    max-width: 10rem;
    bottom:9.3%;
  }

  .services_container{
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    margin:auto;
    left:0;
    right:0;
  }

  .services_card{
    width:200px;
    margin:auto;
    left:0;
    right:0;
  }

  .services_img1, 
  .services_img2,
  .services_img3{
    margin-top: 1rem;
    width: 170px;
  }

  .services_img2{
    width: 270px;
  }

  .services_img3{
    width: 230px;
  }

  .work_item{
    font-size: var(--small-font-size);
  }

  .work_filters{
    column-gap: .25rem;
  }

  .work_info{
    grid-template-columns: repeat(1, 1fr);
  }

  .hr{
    width: 1fr;
  }

  .footer_caption{
    margin-left:0;
  }

  .footer_social{
    margin-top:0.5rem;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* For small-medium devices */
@media screen and (min-width: 380px) and (max-width: 520px){
  .home_handle{
    width: 200px;
    height: 200px;
  }

  .home_img{
    width: 200px;
  }

  .about_intro2{
    margin-top:33px;
  }  
 
  .about_info{
    column-gap: 0.5rem;
  }

  .about_description{
    max-width: 350px;
    margin:auto;
    left:0;
    right:0;
    text-align:center;
    margin-bottom: 1.3rem;
  }

  .about_box{
    margin: 0px;
  }

  .slideshow-container {
    width:245px;
  }

  .about_img{
    width:245px;
    margin-bottom:1.2rem;
  }

  .about_text{
    max-width: 10rem;
    bottom:9.3%;
  }

  .services_container{
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    margin:auto;
    left:0;
    right:0;
  }
  
  .services_card{
    width:230px;
    margin:auto;
    left:0;
    right:0;
  }

  .services_img1, 
  .services_img2,
  .services_img3{
    margin-top: 1rem;
    width: 210px;
  }

  .services_img2{
    width: 310px;
  }

  .services_img3{
    width: 260px;
  }

  .hr{
    width: 1fr;
  }

  .footer_caption{
    margin-left:0.9rem;
  }

  .footer_social{
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
  }
}
/* For medium devices */
@media screen and (min-width: 521px) and (max-width: 766px){
  .home_img{
    width: 300px;
  }
  .home_handle{
    width: 300px;
    height: 300px;
  }

  .home_greeting{
    font-size: 1.5rem;
  }

  .home_name{
    font-size: 2.5rem;
  }

  .home_education{
    font-size: 1.4rem
  }

  .about_intro2{
    margin-top:33px;
  }  

  .about_info{
    column-gap: 0.5rem;
  }

  .about_box{
    margin: 0px;
  }

  .about_description{
    max-width: 450px;
    margin:auto;
    left:0;
    right:0;
    text-align:center;
    margin-bottom: 1.3rem;
  }

  .slideshow-container {
    width:345px;
  }

  .about_img{
    width:345px;
    margin-bottom:1.2rem;
  }

  .about_text{
    max-width: 10rem;
    bottom:7.3%;
  }

  .services_container{
    grid-template-columns: repeat(4, 0.1fr);
    row-gap:0.7rem;
    grid-template-rows: 50% 50%;
    justify-content: center;
    align-items: center;
  }

  .services_card{
    grid-column: span 2;
    width:200px;
  }

  .last_card{
    grid-column: 2 / span 2;
  }

  .services_modal-content{
    width: 500px;
    padding: 4.5rem 2.5rem 2.5rem
  }

  .services_img1, 
  .services_img2,
  .services_img3{
    margin-top: 1rem;
    width: 270px;
  }

  .services_img2{
    width: 340px;
  }

  .services_img3{
    width: 320px;
  }

  .work_container{
    justify-content: center;
  }

  .work_img{
    justify-content: center;
    width: 295px;
  }

  .work_info{
    grid-template-columns: repeat(1, 355px);
  }

  .hr{
    width: 355px;
  }

  .footer_caption{
    margin-left:1.3rem;
  }

  .footer_social{
    margin-right: 0.9rem;
    display: flex;
    align-items: center;
  }
}

@media screen and (min-width: 767px) and (max-width:991px){
  .home_img{
    width: 300px;
  }
  .home_handle{
    width: 300px;
    height: 300px;
  }

  .home_greeting{
    font-size: 1.5rem;
  }

  .home_name{
    font-size: 2.5rem;
  }

  .home_education{
    font-size: 1.4rem
  }

  .about_intro2{
    margin-top:33px;
  }  

  .about_info{
    column-gap: 0.5rem;
  }

  .about_box{
    margin: 0px;
  }

  .about_description{
    max-width: 450px;
    margin:auto;
    left:0;
    right:0;
    text-align:center;
    margin-bottom: 1.3rem;
  }

  .slideshow-container {
    width:345px;
  }

  .about_img{
    width:345px;
    margin-bottom:1.2rem;
  }

  .about_text{
    max-width: 10rem;
    bottom:7.3%;
  }

  .services_container{
    grid-template-columns: repeat(3, .1fr);
    flex-direction: row;
    justify-content: center;
  }

  .services_card{
    width:200px;
    margin:auto;
    left:0;
    right:0;
  }

  .services_modal-content{
    width: 500px;
    padding: 4.5rem 2.5rem 2.5rem
  }

  .services_modal-description{
    padding: 0 3.5rem;
  }

  .services_img1, 
  .services_img2,
  .services_img3{
    margin-top: 1rem;
    width: 270px;
  }

  .services_img2{
    width: 340px;
  }

  .services_img3{
    width: 320px;
  }

  .work_container{
    justify-content: center;
  }

  .work_img{
    justify-content: center;
    width: 295px;
  }

  .work_info{
    grid-template-columns: repeat(2, 355px);
  }

  .footer_container{
    margin: auto;
    margin-top: 2rem;
    left: 0;
    right: 0;
    width: 710px;
  }

  .footer_caption{
    margin-left:1.3rem;
  }

  .footer_social{
    margin-right: 0.9rem;
    display: flex;
    align-items: center;
  }
}

/* For large devices */
@media screen and (min-width: 992px){
  .container{
    margin-left: auto;
    margin-right: auto;
  }

  .section{
    padding: 6.5rem 0 1rem;
  }

  .section_title{
    margin-bottom: 1rem
  }

  .nav_logo{
    padding:0px 0px 0px 26px;
  }

  .nav{
    height: calc(var(--header-height) + 1rem);
    align-items: center;
    justify-content: space-between;
  }

  .about_container{
    grid-template-columns: auto .8fr;
    align-items: center;
    justify-content: center;
  }

  .about_img{
    width: 330px;
  }

  .about_data{
    margin-top:35px;
    text-align: initial;
  }

  .about_info{
    grid-template-columns: repeat(8, 1fr);
    justify-self: center;
    column-gap: 0.1rem;
    margin-bottom: 25px;
  }

  .about_box{
    text-align: center;
    padding: .5rem 0;
    margin: 0 10px;
    grid-column: span 2;
  }

  .last_box1{
    grid-column: 3 / span 2;
  }

  .last_box2{
    grid-column: 5 / span 2;
  }

  .about_button{
    display:flex;
    align-items: center;
    justify-content: center;
  }
  .about_description{
    margin-bottom: 2.5rem;
  }

  .services_container{
    grid-template-columns: repeat(3,.25fr);
    justify-content:center;
  }

  .services_modal-content{
    width: 800px;
    padding: 4.5rem 2.5rem 2.5rem
  }

  .services_card{
    padding: 4.5rem 2rem 2rem;
  }

  .work_container{
    gap: 3rem;
  }

  .work_card{
    padding: 1.25rem;
  }

  .work_img{
    margin-bottom: 1rem;
  }

  .work_title{
    margin-bottom: .5rem;
  }

  .work_info{
    grid-template-columns: repeat(2, 420px);
    margin:auto;
    left:0;
    right:0;
    justify-self:center;
  }

  hr{
    width: 840px;
    margin: auto;
    left: 0;
    right: 0;
  }

  .change-theme{
    font-size: 1.5rem;
  }
  .header_social-link{
    font-size: 1.5rem;
  }
}
