* {
    margin: 0;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    
    background-color: #1D1D1D;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
a {
    font-family: 'Inter', sans-serif;
    color: white;
    line-height: 1.7
}

/*fonts properties*/
h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

h2 {
    font-size: 2.3rem;
}


h3 {
    font-size: 2rem;
}

h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
}

a {
    font-size: 0.9rem;
    font-weight: lighter;
}

p {
    font-size: 1.0rem;
    color: #bbbbbb;
    font-weight: lighter;
    
}

.custom-container-lg {
    margin-left: 5%;
    margin-right: 5%;
}

.custom-container-sm {
    z-index: 10;
    margin-left: 10vw;
    margin-right: 10vw;
}

.screen-height-section {
    position: relative;
    
}

.about-me-p{
    text-align: left; 
    font-size:1.3rem;
    line-height: 1.7;
    z-index: 2;
}

.blurred-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    filter: blur(100px);
    top: -150;
    left: -150;
}

.blob-banner {
    position: absolute;
    background-image: url(../image/blob_gr4.png);
    height: 500px;
    width: 700px;
    top: 300;
    right: 10vw;
    opacity: 0.3;
    scale: 1.5;
    background-size: contain;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
    filter: blur(100px);

}




.bio-container {
    display: flex;
    justify-content: space-between;

}

.bio-greet {
    display: flex;
    gap: 3vh;
    padding-top: 20px;
    padding-bottom: 20px;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

.bio-greet h1 {
    font-family: 'Kaisei HarunoUmi', serif;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.banner-photo-container {
    display: flex;
    align-items: end;
    justify-content: center;
    width: 50%;
    height: 100%;
}

.banner-photo {
    width: 100%;
    object-fit: contain;
    z-index: 999999;
}

.carved-line {
    width: 100%;
    background-color: #444444;
    height: 1px;
}

.carved-line-black {
    height: 1px;
    width: 100%;
    background-color: black;
}


/*Project Section*/
.poject-section {
    
    min-height: 800px;
}

.blob-common{
    position: absolute;
    background-image: url(../image/blob_gr4.png);
    height: 500px;
    width: 700px;
    top: 20vh;
    right: 30vw;
    opacity: 0.20;
    background-size: contain;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
    filter: blur(100px);
}

.blob-project-tile{
    position: absolute;
    background-image: url(../image/blob_gr4.png);
    height: 500px;
    width: 700px;
    top: 2vh;
    right: 40%;
    left: 40%;
    opacity: 0.30;
    background-size: contain;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
    filter: blur(100px);
}

.blob-project-tile-right{
    position: absolute;
    background-image: url(../image/blob_gr4.png);
    height: 500px;
    width: 700px;
    top: 2vh;
    left: 20vw;
    opacity: 0.30;
    background-size: contain;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
    filter: blur(100px);
}

.gradient-underline {
    position: relative;
}

.gradient-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, #7140FF, #3EE8FF);
    border-radius: 5px;
}


.project-tile-wrapper{
    position: relative;
    width: 100%;
    max-width: 1100px;
    background-color: rgb(105, 123, 150, 0.2);
    border-radius: 0.5rem;
    display: flex;
    min-width: 800px;
    justify-content: center;
    border: 3px solid rgb(105, 123, 150, 0.2);
    overflow: hidden;
    aspect-ratio: 4 / 1;
    margin: 0 auto 6vh;

}

.project-tile{
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.project-tile-photo{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    height: 100%;
    z-index: 10;

}

.project-photo{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.project-details{
    width: 60%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 100%;
    z-index: 11;
    box-sizing: border-box;
    padding: 20px;
    gap: 1vh;
}

.margin-tb-md{
    margin-bottom: 1.5vh;
}



/* form element*/
.classic-button {
    z-index: 11;
    cursor: pointer;
    border: none;
    width: 200px;
    color: white;
    font-size: 20px;
    height: 60px;
    border-radius: 0.3rem;
    background: linear-gradient(90deg, #7140FF 0%, #3EE8FF 100%);
    transition: scale 0.3s ease-in-out;
}

.project {
    width: 200px;
    height: 50px;
    font-size:1rem;
}

.classic-button:hover {
    scale: 1.02;
}


/*common*/
.section-head,
.gradient-underline {
    font-size: 3rem;
    font-family: 'Kaisei HarunoUmi', serif;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.article-head{
    font-size: 2rem;
    font-family: 'Kaisei HarunoUmi', serif;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}



.section-head-wrapper{
    margin-top: 7vh;
    margin-bottom: 5vh;
    display:flex; 
    flex-direction: column;
    gap: 6vh;
    align-items: center;
}

.experience-container{
    position: relative;
    padding-top: 30px;
    display: flex;
    justify-content: start;
    gap: 90px;
    flex-direction: column;
}

.experience-container .blob-project-tile{
    opacity: 0.20;
}

.experience-wrapper{
    display: flex;
    gap: 100px;
    justify-content: center;
    font-family: 'Kaisei HarunoUmi', serif;
    z-index: 14;
}

.experience-wrapper .time-period{
    padding-top: 8px;
    justify-content: end;
    display: flex;
    color: #7792BA;
    width: 20vw;
    min-width: 200px;

}

.experience-wrapper .role-description{
    display: flex;
    justify-content: start;
    gap: 12px;
    flex-direction: column;
    color: white;
    width: 45vw;
    min-width: 200px;
}

.resume-button{
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 60 60 60 60;
}

.form-field-container{
    display: flex; 
    flex-direction: column;
    width: 45vw;
    gap: 20px;
}

.form-container{
    position: relative;
    margin-top: 100px;
}
form{
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 13;
}

.form-fields, textarea{
    padding: 16 16;
    color: #bbbbbb;
    border: none;
    border-radius: 0.3rem;
    height: 50px;
    width: 100%;
    background-color: rgb(105, 123, 150, 0.2);
}

.row-fields{
    display: flex; gap: 20px;
}
textarea{
    max-width: 45vw;
    min-width: 45vw;
    height: 200px;
    font-size: 0.83rem;
}

.icons{
    height: 30px;
    width: 30px;
    opacity: 0.6;
}

.icons:hover{
    opacity: 0.8;
    cursor: pointer;
}

.contact-detail{
    display: flex;
    align-items: center;
    gap: 20px;
}

.contacts{
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin: 70 70;
}

.contact-details-container{
    display: flex;
    justify-content: center;
    gap: 100px;
}

.social-media-container{
    display: flex;
    justify-content: center;
    gap: 30px;
}

.trade-mark{
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

.trade-mark p{
    color: #596880;
    font-size: 0.9rem;
    text-align: center;
}


.to-top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 18px 20px;
    background: linear-gradient(90deg, #7140FF 0%, #3EE8FF 100%);
    color: white;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    z-index: 20;
    display: none;
}

.to-top-button:hover {
    background-color: #0056b3;
}

@media (max-width: 800px) {

    .contact-details-container{
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .row-fields{
        flex-direction: column;
    }
}


@media (max-width: 1300px) {
    
    .bio-container {
        flex-direction: column;
        align-items: baseline;
    }

    .banner-photo-container {
        align-self: center;
        width: 50%;
    }

    .bio-greet {
        width: 100%;
        margin-top: 2vh;
    }
}

@media (max-width: 900px) {

    .about-me-p, p{
        text-align: justify;
    }

    .form-field-container{
        width: 100%;
    }

    textarea{
        max-width: 100%;
        min-width: 100%;
        height: 200px;
    }

    .project-tile-wrapper{
        min-width: 100%;
        width: 100%;
        max-width: none;
        aspect-ratio: auto;
    }

    .project-tile{
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .project-details, .project-tile-photo{
        width: 100%;
        min-height: 0;
    }

    .project-photo{
        border-top-right-radius: 0.5rem;
        border-top-left-radius: 0.5rem;
    }

    .project-details{
        padding: 20px;
    }

    .project-tile-photo{
        height: 260px;
    }

    .blob-banner {
        top: 700;
        scale: 1.3;
    }

    .blob-common{
        right: 10vw;
    }


    .banner-photo-container {
        align-self: center;
        width: 60%;
    }

    .experience-container{
        justify-content: center;
    }
    .experience-wrapper{
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .experience-wrapper .time-period{
        height: 30px;
        width: 100%;
        justify-content: left;
    }

    .experience-wrapper .role-description{
        width: 100%;
    }


}

@media (min-width: 901px) {
    .project-tile-wrapper{
        height: 300px;
        max-height: 400px;
    }
}

@media (max-width: 800px) {

    .project-tile{
        flex-direction: column;
        align-items: center;
        padding: 0;
        
    }

        .banner-photo-container {
        align-self: center;
        width: 80%;
    }
}


@media (max-width: 1800px) {
    .custom-container-sm {
        margin-left: 5%;
        margin-right: 5%;
    }
}
