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

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

body {
    font-family: "Inter", sans-serif;
    background-color:#d7d7d7;

}

header {
    margin-top:4vh;
    /*height: 2.875rem;*/
    height: 6vh;
}
.container{
    width: min(90%,1120px);
    margin-inline: auto;
}
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
.navbar .mobile-logo{
    display: none;
}
.navbar .logo{
    width: 3.729375rem;
    height:3.125rem ;
    cursor: pointer;
}
.nav-links{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    
}
.nav-links li{
    list-style: none;
}
.nav-links li a{
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1rem;
}
.nav-links .btn{
    text-decoration: none;
    background-color: #fff;
    color: black;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1rem;
    cursor: pointer;
}
.hero{
    /*margin-top: 2.125rem;*/
    margin-top: 5vh;
    height: 60vh;
    display: flex;
    flex-direction: column;
}
.hero-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.bg-img img{
    width: 60%;
    height: 100vh;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}
.hero-top .content{
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.info h1{
    margin-bottom: 1.375rem;
    font-size: 2rem;
    font-weight: 700;
}
.info h2{
    font-size: 3rem;
    font-weight: 700;
}
.info h6{
    font-size: 1.5rem;
    font-weight: 400;
    color: #909090;
}
.person-img img{
   
    margin-right: 8rem;
    /*width: 400px;*/
    /*height: 468px;*/
    height: 60vh;
    width: auto;
}
.contact-me{
    display: flex;
    justify-content: center;
   gap: 2rem;
}
.contact-me a{
    text-decoration: none;
    color: black;
}
.contact-me i{
    background-color: #C4C4C4;
    padding: 0.625rem .75rem;
    border-radius: 5px;
}
.BERRIES{
    background-color: #1d1d1d;
    display:  flex;
    flex-direction: column;
    align-items: self-start;
    padding: 2rem 3rem;
    color: #fff;
    gap: 1rem;
    height: 25vh;
}
.BERRIES p{
    font-size: 0.6875rem;
    line-height: 1rem;
    color: #909090;
}
.BERRIES span{
    font-size: 0.6875rem;
    line-height: 1rem;
    color: #d7d7d7;
    border-inline: 1px solid #d7d7d7;
    padding-inline: 0.5rem;
}
.hamburger{
    display: none;
}
.aboutme{
    margin-top: 8.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}
.aboutme p{
    font-size: 0.8rem;
    line-height: 1rem;
    color: black;
    text-align: justify;
}
.header-info{
    display: flex;
    flex-direction: column;
   text-align: center;
    align-items: center;
    gap:2rem ;
}
.header-info h4{
    font-size: 2rem;
    font-weight: 700;
    border: 4px solid #000;
    padding: 0.5rem 1rem;
}
.header-info h6{
    font-size: 1rem;
    font-weight: 600;
    border-inline: 2px solid #000;
    padding-inline: 1rem;
}
.grid-about{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
}
.grid-about h6{
    font-size: 1rem;
    font-weight: 700;
}
.grid-about .columns{
    display: flex;
    flex-direction: column;
    gap: 1rem;

}
.skills{
    margin-top: 8.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}
.using-now, .learning-now, .other-skills{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.using-now, .learning-now, .other-skills h4{
    font-size: 1.5rem;
}
.grid-skills{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    row-gap: 3rem;
    column-gap: 10rem;
}
.grid-item{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: center;
}
.grid-item img{
    width: 90px;
    height: 100px;
}
.portfolio{
    margin-top: 8.875rem;
    display: flex;
    flex-direction: column;
}
.header-img{
    height: 10rem;
    background: url(./images/Section\ Header.png) center / cover  no-repeat;
}
.grid-header{
    background-color: #1c1918;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color:#d7d7d7;
}
.grid-header .info{
    display: flex;
    padding-bottom: .2rem;
    gap: 3rem;
    border-bottom: 1px solid #fff;
  
}
.grid-header .info p{
    font-size: 0.6875rem;
    line-height: 1rem;
}
.grid-port{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    /*justify-content: space-evenly;*/
    /*align-items: stretch;*/
}
.grid-port .grid-col{
    height: auto;
    width: 45vw;
    margin: 2.5vw;
    /*border: 2px solid black;*/
}

.grid-col img {
    max-height: 90%;
    width: 100%;
    height: 90%;
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}


.project-img {
    margin-top: 1rem;
    width: 50%;
    height: auto;
}

.main-project-img {
    margin-top: 1rem;
    width: 100%;
    height: auto;
}

.btn2 {
    text-decoration: none;
    background-color: black;
    color: #ffffff;
    border: none;
    margin-top: 1em;
    padding: 0.6em 1.2em;
    border-radius: 2em;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1rem;
    cursor: pointer;
}

footer a{
    text-decoration: none;
    color:#fff;
}
footer{
    margin-top: 3rem;
    background-color: #1c1918;
    color: #fff;
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.footer-info{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
}
.social{
    display: flex;
    gap: 1rem;
}
.footer-info p{
    font-size: 0.6875rem;
    line-height: 1rem;
    color: #d7d7d7;
}


@media (max-width: 768px){
    header{
        margin-top: 0;
        background-color: black;
       height: 3rem;
    }
    .navbar{
        height: 100%;
        align-items: center;
    }
    .navbar .logo{
        display: none;
    }
    .navbar .mobile-logo{
        display: block;
        width: 2.5rem;
        height:2rem ; 
    }
    .nav-links{
        height: 210px;
        position: absolute;
        left: 0;
        right: 0;
        background-color:#1c1918;
        margin-top: 16rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-top:1px solid #d7d7d7 ;
        padding-top: 2rem;
        gap: 2rem;
        transition: transform 100ms ease-in-out ;
    }
    .nav-links .btn{
        width: 100%;
        border-radius: 0;
    }
    .hamburger{
        display: block;
    }
    .hamburger i{
        color: #fff;
        position: absolute;
        right: 5%;
        top: 2.5%;
        font-size:1.5rem ;
    }
    .hamburger i[data-visible="false"]{
        display: none;
    }
    .hamburger i[data-visible="true"]{
        display: block;
    }
    .nav-links[data-visible="false"]{
        transform: translateY(-145%);
    }
   
    .bg-img {
        display: none;
    }
    .person-img{
        display: none;
    }
    .hero{
        height: calc(100vh - 3rem);
        margin-top: 0;
        background: url(./images/Background.png)center/cover no-repeat;
        justify-content: center;
        align-items: center;
    }
    .hero-top{
        height: 100%;
        justify-content: center;
        color: #fff;
    }
    .grid-skills{
        grid-template-columns: repeat(2,1fr);
    }
    .grid-port{
        grid-template-columns: repeat(2,1fr);
    }
    .grid-port .grid-col{
        height: fit-content;
        width: 50vw;
        margin: 0 0 5% 0;
        /*border: 2px solid black;*/
    }
    .grid-col img {
        width: 100%;
        height: auto;
    }
    .project-info {
        flex-direction: column;
        !important;align-items: center;!important;
    }
    form input{
        width: 90%;
    }
}
@media (max-width: 480px){
    .grid-about{
        grid-template-columns: 1fr;
    }
    .grid-skills{
        grid-template-columns: 1fr;
    }
    .grid-port{
        grid-template-columns: 1fr;
    }
    .grid-port .grid-col{
        height: fit-content;
        width: 100vw;
        margin: 0 0 5% 0;
        /*border: 2px solid black;*/
    }
    .grid-col img {
        width: 100%;
        height: auto;
    }
    .project-info {
        flex-direction: column;
        !important;align-items: center;!important;
    }
    form input{
        width: 100%;
    }
}


