@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Poppins:wght@300;400&display=swap');
/* !BASE STYLES/RESET */
::before,
::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --light-color: #fff;
    --dark-color: #000;
    --border-top-color: rgba(0,0,0,.1);
    --link-hover-color: rgba(255,255,255,.2);
    --title-font-family: 'Playfair Display', 'serif';
    --body-font-family: 'Poppins', 'sans-serif';
    --containter-width: 96rem;
    --container-padding: 1.5rem;
    --section-vertical-spacing: 8rem;
}

html{
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body{
    font-family: var(--body-font-family);
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--light-color);
    color: var(--dark-color);
    overflow-x: hidden;
    scroll-padding-block-start: 5rem;
    
}

body.dark-theme{
    --light-color: #000;
    --dark-color: #fff;
    --border-top-color: rgba(255,255,255,.1);
    --title-font-family: 'Playfair Display', 'serif';
    --body-font-family: 'Poppins', 'sans-serif';
    --containter-width: 96rem;
    --container-padding: 1.5rem;
    --section-vertical-spacing: 8rem;

}

a{
    text-decoration: none;
    color: inherit;
    outline: none;
}

img{
    max-width: 100%;
    display: block;
}

ul{
    list-style: none;
    margin-right: 3rem;
}

li{
    padding-right: 1rem;
    padding-left: 1rem;
}



span{
    display: inline-block;
}

i{
    font-size: 2.4rem;
}

input,
button,
textarea{
    font: inherit;
    color: inherit;
    background-color: transparent;
    border: none;
    outline: none;
}
/*BASE STYLES*/


/* !REUSABLE CLASSES */
.container{
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}
.section{
    padding-block: var(--section-vertival-spacing);
    position: relative;
    scroll-snap-align: start;
}

.d-grid{
    display: grid;
}

.section:not(.hero)::before{
    content: '';
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50% );
    width: 80vw;
    height: 80vw;
    z-index: -1;
    opacity: 1;

}
/*REUSABLE CLASSES*/
/* !HEADER */
.header{
    position: fixed;
    margin-bottom: 5rem;
}


.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 8rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
	transition: all 300ms ease-in-out;
}

.scroll-down .navbar {
    transform: translate3d(0, -110%, 0px);
}

.scroll-up .navbar {
    filter: none;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    padding-bottom: 1rem;
}

.menu-is-open {
    overflow: hidden;
}

.menu-is-open header {
    filter: none;
}
  

.logo{
    font-family: var(--title-font-family);
    font-size: 10rem;
    font-weight: 200;
    letter-spacing: -12px;
}

.landing-btn-text{
    font-family: 'Archivo' sans-serif;
    font-weight: 900;
    margin: 0;
    font-size: 16rem;
    position:relative;
    left: 20px;
    top:0px;
    height:225px;
    margin-bottom: 10rem;
}



.landing-btn-text:hover{
    transform:rotateZ(3.5deg);
}

.navbar-buttons{
    display: flex;
    column-gap: .5rem;
    padding: 0 .5rem;
    background-color: var(--dark-color);
    color: var(--light-color);
    border-radius: .4rem;
    position: relative;
    z-index: 999;
}

.button{
    cursor: pointer;
}

.icon-button{
    width: 4rem;
    height: 4rem;
    display: flex;
}

.icon-button i{
    margin: auto;
}

.close-icon,
.theme-on{
    display: none;
}

.menu{
    position: absolute;
    right: 2.5rem;
    background-color: #000;
    color: #fff;
    padding: .8rem 1.5rem;
    border-radius: .4rem;
    z-index: -1;
    pointer-events: none;
    transform: scale(0);
    transform-origin: right;
    transition: transform .25s .25s cubic-bezier(1,0,0,1);
}
.footer-list{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.list{
    display: flex;
}
.list-item{
    flex: 1;
    text-align: center;
}

.menu > .list{
    opacity: 0;
}

.menu > .list .list-link{
    text-transform: uppercase;
}

.list-link{
    font-size: 1.4rem;
}


.list-link:hover,
.list-link:focus{
    color: rgb(198, 135, 114);
}

.list-link span{
    font-weight: bold;
}
/* !JAVASCRIPT STYLES */

.active.menu{
    z-index: initial;
    pointer-events: initial;
    transition: .7s;
    transform: scale(1.5) translateY(15rem) ;
}

.active.menu > .list{
    opacity: 1;
    transition: opacity .1s .5s;
    justify-content: space-between;
}


.active .open-icon{
    display: none;
}

.active .close-icon{
    display: block;
}


.dark-theme .theme-off{
    display: none;
    
}

.dark-theme .theme-on{
    display: block;
}

/* !JAVASCRIPT STYLES */
/* !HERO STYLES*/
.title{
    font-family: var(--title-font-family);
    font-weight: 300;
    text-transform: uppercase;
}


.main-title{
    font-size: clamp(4.5rem, 10vw, 10rem);
    text-align: center;
    line-height: 1.2;
    margin-top: 15rem;
    margin-bottom: 5rem;
}

.main-title2{
    font-size: clamp(4.5rem, 10vw, 5rem);
    text-align: right;
    line-height: 1.2;
    margin-top: 1rem;
    margin-right: 2rem;
    margin-left: 2rem;
}


/* !ABOUT ME STYLES */
.section-description{
    gap: 2.5rem;
    margin-bottom: .5rem;
    margin-top: -4rem;
    font-family: 'Archivo' sans-serif;
    padding: 2rem;
}

.section-description2{
    gap: 2.5rem;
    margin-bottom: .5rem;
    margin-top: 2rem;
    font-family: 'Archivo' sans-serif;
}

.description{
    font-family: 'Archivo' sans-serif;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 2rem;
    margin-top: 2rem;
    
}

.description2{
    justify-content: right;
    font-family: 'Archivo' sans-serif;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 2rem;
    margin-top: 2rem;
    
}

.text-bold{
    font-family: 'Archivo' sans-serif;
    font-weight: bold;
}

.description-image{
    zoom: 170%;
    margin: 0 auto;
    transform: rotate(0deg);
}  

.description-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-top-right-radius: 0rem;
    border-bottom-left-radius: 0rem;
    border-top-left-radius: 17rem;
    border-bottom-right-radius: 17rem;
    border: 2px solid rgb(198, 135, 114);
}

.service{
    border: #000 solid 2px;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    position: relative;
    bottom: 0;
    text-align: center;
    z-index: 1;
}

.card-desc{
    align-content: center;
    color: #000;
}

.service-cards{
    display: grid;
    grid-template-columns:  repeat(2 1fr);
}

.service-logo{
    width: 80px;
    height: 110px;
    background-color: #fff;
    border-radius: 1rem;
    margin: auto;
    transition: transform 1s;
}

.service-logo img{
    width: 50px;
    height: 50px;
    margin-left: 14px;
    margin-top: 10px;
    margin-bottom: 0px;
    padding-top: 2px;

}  

.service h4{
    height: 35px;
    font-size: 25px;
    font-family: 'Archivo' sans-serif;
    font-weight: 350;
    color: #000;
    margin: auto;
    background-color: #fff;
    padding-bottom: 1rem;
    margin-top: -20px;
    position: relative;
    text-align: center;
    z-index: top;
    border-bottom:rgb(198, 135, 114) 2px solid;
}

.shadowOne{
    height: 17.5rem;
    width: 80%;
    background-color: #fff;
    position: absolute;
    border-radius: 10px;
    bottom: 25rem;
    left: 10%;
    z-index: 0;
    box-shadow: 0 0 20px -15px #030380;
    transition: transform 1s;
    border: solid 2px #000;
}
.shadowTwo{
    height: 20rem;
    width: 64%;
    border: solid 2px #000;
    background-color: #fff;
    position: absolute;
    border-radius: 10px;
    bottom: 25rem;
    left: 18%;
    z-index: -4;
    box-shadow: 0 0 20px -15px #030380;
    transition: transform .8s;
}

.main{
    margin-top: 4rem;
    width: 100%;
    min-height: 380px;
    text-align: center;
    position: relative;
    cursor: pointer;
    z-index: 10;
}

.main:hover .service{
    transform: translateY(20px);
}


.main:hover .shadowOne{
    transform: translateY(17rem);
}

.main:hover .shadowTwo{
    transform: translateY(19rem);
}


.tech-stack{
    max-width: 150rem;
    grid-template-columns: repeat(auto-fit, minmax(5rem, 1fr));
    gap: 2.5rem;
    margin-top: 10rem;
    margin-bottom: 5rem;
}

.tech-stack-item{
    display: flex;
    align-items: center;
    justify-content:center;
    position: relative;
}

.tech-stack-item i{
    font-size: 5rem;
    opacity: .5;
}

.dark-theme .tech-stack-item i{
    opacity: .8;
}

.tech-stack-item::before,
.tech-stack-item::after{
    position: absolute;
    justify-content: center;
    top: -1rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .5s, opacity .5s;
}

.tech-stack-item::before{
    content: '';
    border: 1rem solid transparent;
    border-top-color: var(--dark-color);
    transform: translateY(0);
    z-index:5;
}

.tech-stack-item::after{
    content: attr(data-tooltip);
    width: 100;
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 1rem;
    border-radius: .4rem;
}

.tech-stack-item:hover::before{
    opacity: 1;
}

.tech-stack-item:hover::after{
    opacity: 1;

}
/* !PORTFOLIO STYLES */
.section-title-container{
    display: inline-block;
    margin-bottom: 5rem;
}


.section-title{
    font-size: clamp(4rem, 10vw, 8rem);
    margin-top: 7rem;
    margin-bottom: -3rem;
    padding: 2rem;
}

.section-subtitle-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 1.5rem;
    padding: 2rem;
}

.section-subtitle-container2{
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1.5rem;
    padding: 2rem;
}

.subtitle-number{
    width: 5rem;
    height: 5rem;
    border: 2px solid rgb(198, 135, 114);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.section-subtitle{
    font-size: clamp(2rem, 5vw, 4rem);
    padding-bottom: 2rem;
}


.portfolio-cards{
    gap: 2.5rem;
}

.portfolio {
    margin-top: 3500px;
}

.card-image{
    height: 35rem;
    background-color: rgba(95, 95, 95, 0.669);
    /*background-color: rgba(48, 48, 48, 0.3);*/
    margin-bottom: 2.5rem;
    border-radius: .4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.card-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    
}

.portfolio-card:hover .card-image,
.portfolio-card:focus .card-image{
    background-color:rgb(198, 135, 114);
    transition-duration: 1.5s;
    
}

.card-heading{
    color:var(--dark-color)
}

.card-title{
    font-family: 'Archivo', sans-serif;
    font-weight: 100;
    font-size: 3rem;
}

.card-subtitle{
    font-size: 1.4rem;
    opacity: 0.8;
}

.large-button-container{
    display: flex;
}

.large-button{
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--title-font-family);
    font-size: 3rem;
    font-weight: 300;
    text-transform: uppercase;
    text-align: center;
    margin: auto;
}

.button-fill{
    position: relative;
    border: 1px solid rgb(198, 135, 114);
    transition: color .25s;
    overflow: hidden;
    font-weight: 500;
}

.button-fill:hover,
.button-fill:focus{
    color: var(--light-color);
    
}

.button-fill::before{
    content:'';
    width: 100%;
    height: 100%;
    background-color: rgb(198, 135, 114);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transform: scale(0);
    transform-origin: left;
    transition-duration: .5s;
    transition: transform 1s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.large-button.button-fill::before{
    border-radius: 50%;
}

.button-fill:hover::before,
.button-fill:focus::before{
    transform: scale(1);
}
/* !CONTACT STYLES */
.contact-form{
    display: flex;
    flex-direction: column;
}
.form-control{
    position: relative;
    margin-bottom: 5rem;
    margin-right: 4rem;
}

.input-label{
    position: absolute;
    top: 0;
    left: 0;
    text-transform: uppercase;
    font-weight: bold;
    transition: transform .25s;
}
.form-control label{
    position: absolute;
    top: 15px;
    left: 0;
}


.form-control label span {
	display: inline-block;
    font-family: var(--title-font-family);
	font-size: 24px;
	min-width: 5px;
	transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control input{
    width: 100%;
    border-bottom: 1px solid var(--dark-color);
    padding: 2rem;
    display: block;
    width: 100%;
    transition: 0.1s ease-in;
}

.form-control input:focus,
.form-control input:valid{
    border-bottom-color: rgb(198, 135, 114);
}

.form-control input:focus + label span,
.form-control input:valid + label span{
    transform: translateY(-30px);
}

.form-button{
    display: inline-block;
    padding: 1rem 2rem;
    text-transform: uppercase;
    margin: 0 auto;
}

.required-field{
    font-size: 2rem;
    transform: translateY(-.8rem);
}
/* !FOOTER STYLES */
.footer .list-link{
    color: var(--dark-color);
}

.scroll-top{
    display: flex;
    align-items: center;
    color: var(--dark-color);
}

.pricing {
    margin-right: 20px;
}

.pricing .columns {
    float: left;
    width: 30%;
    padding: 8px;
  }
  
  /* Style the list */
  .price {
    list-style-type: none;
    border: 1px solid #eee;
    margin: 0;
    padding: 0;
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  
  
  /* Add shadows on hover */
  .price:hover {
    box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2)
  }
  
  /* Pricing header */
  .price .header {
    background-color: #111;
    color: white;
    font-size: 25px;
  }
  
  /* List items */
  .price li {
    border-bottom: 1px solid #eee;
    padding: 20px;
    text-align: center;
  }
  
  
  /* The "Sign Up" button */
  .pricing .button {
    background-color: rgb(198, 135, 114);
    border: none;
    color: white;
    padding: 10px 25px;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
  }
  .pricing .button:hover {
    background-color: rgb(198, 135, 114);
    border: none;
    color: rgb(0, 0, 0);
    padding: 10px 25px;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
  }
  
  
  /* Change the width of the three columns to 100%
  (to stack horizontally on small screens) */
  @media only screen and (max-width: 600px) {
    .pricing .columns {
      width: 100%;
    }
}

