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


*{
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-size: 18px;
}
body{
    background: fixed url(images/bg.svg); /* for backgrounf image*/
    background-size: 30% auto;
    background-repeat: repeat;
}
.header{
    height: auto;
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2.5vh 0;
}
.header img{
    height: 20vh;
}

.main{
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0 10%;
}
/* sedction label */
.section_label{
    font-size: 14px;
    font-weight: 600;
    color: #525252;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* hero section */
.hero{
    height: 70vh;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    backdrop-filter: blur(1px);
    margin: 2.5vh 0 15vh 0;
    background: #fff;
}

/* grid component */
.hero .hero_grid{
    height: auto;
    padding: 18px;
    /*border: 1px solid #000;*/
}

.hero .grid1{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: start;
    border-right: 3px dashed #000;
    border-bottom: 3px dashed #000;
}
.grid1 .main_heading{
    font-family: "Space Grotesk", serif;
    font-size: 48px;
    font-weight: 400;
}
.grid1 p{
    font-family: "Playfair Display", serif;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    color: #525252;
}

.grid3{
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    
}

.detail .subheading{
    font-size: 12px;
    font-weight: 300;
    color: #BCBCBC;
}
.detail p{
    font-size: 16px;
    font-size: 600;
    color: #000;
}
.detail hr{
    opacity: 50%;
} 

.hero .grid4{
    display: flex;
    justify-content: start;
    align-items: flex-start;
    gap: 16px;
    border-top: 3px dashed #000;
    border-left: 3px dashed #000;
}

/* links with hover */
.grid4 a{
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    color: #000;
}
.grid4 a p{
    position: relative;
    display: inline;
    opacity: 0;
    font-size: 14px;
    left: -10px;
    transition: .3s ease-in;
}
.grid4 a:hover{
    text-decoration: underline;
}
.grid4 a:hover p{
    display: inline;
    opacity: 1;
    left: 0;
}

/* project section */
.projects{
    position: relative;
    height: 70vh;
    margin: 15vh 0 15vh 0;
    background: #fff;
}

/* grid for projects */
.projects_grid{
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
    justify-content: space-around;
    align-items: stretch;
}
.projects_grid .pr{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* link to project */
.pr a{
    text-decoration: none;
    color: #000;
    margin-left: 12px;
}
.pr a p{
    display: none;
    font-size: 14px;
}
.pr a:hover p{
    display: inline;
}

/* last footer for contact */

.footer{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 70vh;
    margin: 15vh 0 15vh 0;
}
.footer h1{
    font-size: 60px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}
.footer h1::after{
    display: block;
    width: 500px;
    content: '';
    opacity: 0.5;
    border-bottom: 1px solid #000;
}

.footer a{
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin: 8px 0;
}
.footer a p{
    position: relative;
    display: inline;
    opacity: 0;
    font-size: 14px;
    left: -10px;
    transition: .3s ease-in;
}
.footer a:hover{
    text-decoration: underline;
}
.footer a:hover p{
    display: inline;
    opacity: 1;
    left: 0;
}