@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

body{
    font-family: "Montserrat", ;
}

h1,h2,h3,h4,h5,h6,p strong{
    color: #2C2C2C;
}

p{
    font-size: 1rem;
    line-height: 1.9rem;
}

span, label, input, textarea, li{
    color: #E0A96D;
}

a{
    text-decoration: none;
}

.main-container{
    width: 1200px;
    margin: 0 auto;
}

@media screen and (max-width: 1200px) {
    .main-container{
        width: 90%;
    }
}

/*buttons*/
.btn{
    padding: 1rem 1.5rem;
    background: #F9F5F0;
    border: 1.5px solid #3D7068;
    cursor: pointer;
    transition: .2s ease-in-out;
}

.btn:hover{
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}

/*titles*/
.section-title{
    margin: 1rem 0 4rem;
    font-size: 2rem;
}

.pre-title{
    text-transform: uppercase;
    letter-spacing: .5rem;
    color: #E0A96D;
    position: relative;
    padding-left: 40px;
    width: fit-content;
    font-weight: 400;
    font-size: .9rem;
}

.pre-title::before{
    content: "";
    width: 30px;
    height: 1px;
    background: #3D7068;
    position: absolute;
    display: block;
    left: 0;
    top: 50%;
}

/*layout*/
.grid-3{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

/*logo dan navigation menu*/
.nav{
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
}

.nav ul{
    list-style: none;
    display: flex;
    gap: 3rem;
}

.logo{
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 2rem;
}

.logo a{
    color: #3D7068;
}

.nav ul li{
    display: flex;
    align-items: center;
}

.nav ul li a{
    color: #3D7068;
}

/*burger*/
.burger div{
    width: 25px;
    height: 2px;
    background-color: #3D7068;
    margin: 7px;
    transition: all .3s;
    z-index: 99;
}

.burger{
    display: none;
    z-index: 99;
    position: fixed;
    top: 33px;
    right: 35px;
}

/*herosection*/
#hero{
    height: 720px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.hero-name{
    font-size: 3rem;
    font-weight: 700;
    margin: .5rem 0 1rem;
}

.hero-name span{
    color: #E0A96D;
}

.hero-right img{
    width: 90%;
}

.hero-right{
    display: flex;
    justify-content: center;
}

/*service section*/
#services{
    background-color: #F9F5F0;
    padding: 6rem 0;
}

.services .pre-title{
    margin: 0 auto;
}

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

.service{
    padding: 3rem 2rem;
    text-align: center;
    background: white;
    border-radius: 20%;
}

.service h4{
    margin: 1.5rem 0;
    font-weight: 500;
    font-size: 1.05rem;
}

.service-icon{
    background: #E0A96D;
    width: 5%;
    margin: 0 auto;
    padding: 1 rem 1.3rem;
    border-radius: 0.5rem;
}

/*portofolio section*/
#portofolios{
    padding: 6rem 0;
}

.portofolio{
    border-radius: 0.7rem;
    overflow: hidden;   
}

.portofolio .portofolio{
    border: 1px solid #E0A96D;
}

.portofolio-cover{
    height: 250px;
}
.portofolio-cover img{
    height: 100%;
    object-fit: cover;
}

.portofolio-info{
    padding: 2rem 1.5rem;
}

.portofolio-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.portofolio h3{
    margin:  5rem 0 1rem;
}
.portofolio h4{
    font-weight: 500;
    font-size: 1.05rem;
}

.portofolio-tags{
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.portofolio-tags div{
    font-size: .9rem;
    border: 1px solid #E0A96D;
    padding: .4rem 1rem;
    color: #3D7068;
}

/*skills*/
#skills{
    display: flex;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    padding: 6rem 0;
    background: #F9F5F0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat (auto-fit, minmax(350px, 1fr));
    gap: 10px;
    padding: 10px 15px 30px;
    max-width: 350px;
    margin: 0 auto;
  }
.gallery img{
    width: 350px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}
.gallery img:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgb(0 0 0 / 0.2);
}

.gallery{
    max-height: fit-content;
}
/*Certificate*/
#Certificate{
    display: flex;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    padding: 6rem 0;
    background: #F9F5F0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat (auto-fit, minmax(350px, 1fr));
    gap: 10px;
    padding: 10px 15px 30px;
    max-width: 350px;
    margin: 0 auto;
  }
.gallery img{
    width: 350px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}
.gallery img:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgb(0 0 0 / 0.2);
}

.gallery{
    max-height: fit-content;
}

/*contact section*/
#contact{
    padding: 6rem 0;
}

.contact{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.contact-form div{
    margin-bottom: 1.4rem;
}

.contact-form input, .contact-form textarea{
    width: 100%;
    padding: .75rem 1.3rem;
    font-family: "Montserrat";
    background: #F9F5F0;
    border: 1px solid #3D7068;
    border-radius: 3px;
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color: #E0A96D;
}

.contact-form input:focus,
.contact-form textarea:focus{
    outline: none;
    border: 1px solid #2C2C2C;
}

.btn-submit{
    width: 100%;
    padding: .75rem 1.3rem;
    background-color: #3D7068;
    color: #F9F5F0;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: .2s ease-in-out;
}

.btn-submit:hover{
    background: #5bbaaa;
}

.contact-item{
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item-icon{
    background: #E0A96D;
    width: 53px;
    height: 53px;
    border-radius: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-item-detail h4{
    margin-bottom: .6rem;
}

/*footer section*/
footer{
    padding: 4rem 0;
    background: #F9F5F0;
    text-align: center;
}

.footer-icons{
    margin-bottom: 1rem;
}

.footer-icons a{
    margin: 0.5rem;
}

.footer-icons a:hover img{
    fill: #2C2C2C;
}