/* 
font-family: 'Rubik', sans-serif;*/
body{
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    color: #f0f0f0;
    scroll-behavior: smooth;
}
.head{
    background: url(https://images.unsplash.com/photo-1531746790731-6c087fecd65a?auto=format&fit=crop&w=1650&q=80);
    height: 35em;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: auto auto;
    display: block;
    margin-top: -3.4em;
    margin-left: -0.5em;
    margin-right: -0.5em;
    position: relative;
    text-align: center;
}
/*.head > h1{
    position: relative;
    text-align:center;
    font-size: 5em;
    position: absolute;
    top: 25%;
    left: 25%;
    transform: translate(10%, -25%);
}
.head > h2{
    text-align: center;
    font-size: 2em;
    top: 50%;
}*/
#text{
    position: absolute;
    top: 25%;
    left: 30%;
    transform: translate(-20%, -25%);
}
#text > h1{
    font-size: 5em;
    font-family: 'Playfair Display', serif;
}
#text > h2{
    font-size: 2em;
    font-weight: 300;
}
#container{
    display: flex;
    flex-direction: row;
    
}
#container > img{
    width: 20rem;
    height: auto;
    margin-top: 0.5rem;
    margin-left: 0%;
}
#TLDR > h1{
    text-align: center;
    margin-top: 0.5rem;
    font-family: 'Playfair Display', serif;
}
.text{
    margin: auto auto auto auto;
}
#box2{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
#innerbox1{
    display: grid;
    grid-template-columns: 1fr 1fr;
    
    
    
}
.proj > h1{
    text-align: center;
    margin-top: 0.5rem;
}
.achi > h2{
    text-align: center;
    margin-top: 0.5rem;
}
.cv > h1{
    text-align: center;
    margin-top: 0.5rem;
}
.up > h1{
    text-align: center;
    margin-top: 0.5 rem;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 768px) {
    #container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #text {
        left: 10%;
        top: 20%;
        transform: translate(-10%, -20%);
    }
    #text > h1 {
        font-size: 3em;
    }
    #text > h2 {
        font-size: 1.5em;
    }
}
