@import url('https://fonts.googleapis.com/css2?family=Arvo&family=Balsamiq+Sans&display=swap');

/* common css */
html, body{
    margin: 0;
    padding: 0;
    font-family: 'Arvo', serif;
}

/*header*/
.navbar-brand{
    font-size: 1.5rem;
}

.nav-link{
    font-size: 1.2rem;
}

/*home*/
#home{
    width: 100%;
    min-height: 100vh;

}

#particles-js{
    width: 100%;
    min-height: 100vh;
    position: absolute;
    top: 0; left: 0;
    background: #527cec;
}

#name{
    margin-top: 16rem;
    font-size: 4rem;
    color: #fff;
    text-align: center;
}

#tagline{
    margin-top: 1rem;
    font-size: 4rem;
    color: #fff;
    font-weight: bold;
    text-align: center;
}

#learn-more{
    padding: .4rem 1rem;
    max-width: 10rem;
    color: #fff;
    margin: 0 auto;
    display: block;
    border: 2px solid #fff;
    border-radius: 8 rem;
    text-decoration: none;
    text-align: center;
    font-size: 18px;
}

#learn-more:hover{
    text-decoration: none;
    background-color: #395cbf;
    color: #fff;
}    


/* resume */
#resume .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

#resume .card-img-top {
    object-fit: cover;
    height: 200px; /* Adjust as needed */
    width: 100%;
    margin: 0;
}

#resume .card-body {
    flex-grow: 1;
}

/* portfolio */
#something{
    margin-bottom: 50px;
}
#portfolio{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    padding: auto;
}

#portfolio img{
    margin-top: 10px;
    width: 100%;
    height: 200px;
}

#portfolio .grid{
    position: relative;
    width: 100%;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

#portfolio .grid .overlay {
    position: absolute;
    top: 0; 
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%; 
    opacity: 0;
    transition: opacity 0.5s ease; /* Ensures smooth transition */
    background-color: rgba(14, 73, 235, 0.8); 
    overflow: hidden;
}

#portfolio .grid:hover .overlay {
    opacity: 1;
    overflow: hidden;
}
    

.text {
    color: #fff;
    font-size: 1.7rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    white-space: nowrap; /* Add this to prevent the text from wrapping */
}


/* contact */
#contact{
    width: 100%;
    height: auto;
    padding: 4rem 0;
}
#contact form{
    width: 100%;
}
#contact form input,
#contact form textarea{
    background-color: #e8edfc;
}
#contact form .submit-message{
    margin-left: 15px;
    margin-right: 15px;
    background:#527cec ;
    color: #fff;
}

/* footer */
footer{
    width: 100%;
    height: auto;
    background-color: #e8edfc;
    padding: 2rem 0 4rem;
}
footer ul{
    list-style: none;
    padding-left: 0;
}
footer .back-to-top{
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: #333;
}
footer .back-to-top:hover{
    text-decoration: none;
    color: #527cec;
}
footer ul#social{
    list-style: none;
    padding-left: 0;
    text-align: right;
}
footer ul#social li{
    display: inline-block;
    margin-left: 1rem;

}
footer ul#social a{
    text-decoration: none;
    color: #333;
    font-size: 2rem;
}
footer ul#social li a:hover{
    text-decoration: none;
    color: #527cec;
}
footer a, footer p{
    color: #333;
}
footer a:hover{
    color: #527cec;
}
footer p{
    text-align: right;

}