@import url('https://fonts.googleapis.com/css2?family=Arvo:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* common css*/
html,
body {
  font-family: 'Arvo', serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin: 0;
  padding: 0;
}

/* header */

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
    color: #fff;
}
.nav-link {
  font-size: 1.2rem;
  font-weight: 400;
    color: #fff;
}
/* home */
#home
{
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #527cec;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#particles-js {
  position: absolute;
  width: 100%;
  min-height: 100vh;
  top:0; left:0;
  background-color: #527cec;
}

#name {
  font-size: 4rem;
  color: #fff;
  text-align: center;
  margin-top: 16rem;
  font-weight: bold;
}

#tagline {
  margin-top: 1rem;
  font-size: 2rem;
  color: #fff;
    text-align: center;
}

#learn-more {
  padding: .4rem 1rem;
  max-width: 10rem;
  color:#fff;
  margin: 0 auto;
  display: block;
  border: 2px solid #fff;
  border-radius: 1rem;
  text-decoration: none;
    text-align: center;
}
#learn-more:hover {
  background-color: #fff;
  color: #527cec;
}

/* resume */
#resume {
    width: 100%;
    height: auto;
    padding: 4rem, 0;
}
#resume .card {
    margin-left: auto  ;
    margin-right: auto;
}
#resume .card img {
    height: 150px;
}

/* portfolio */
#portfolio {
    width: 100%;
    height: auto;
    padding: 4rem, 0;
}
#portfolio img {
    width: 100%;
   margin-top: 30px;
   height: 220px;
}
#portfolio .grid{
  position: relative;
   width: 100%;
}
#portfolio .grid .overlay {
  position: absolute;
 margin-top: 30px;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: #527cec;
}
#portfolio .grid:hover .overlay{
 opacity: 1;
}
.text {
  color: #fff;
  font-size: 1.7rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  position: absolute;
}

/* contact */
#contact {
    width: 100%;
    height: auto;
    padding: 4rem, 0;
}
#contact .form {
    width: 100%;
}
#contact form  input,
#contact form  textarea{
   background: #e8edfc;
}
#contact form .submit-message{
    margin: left 15px ;
    margin-right: 15px;
    background: #527cec;
    color: #fff;
}
/* footer */
footer {
  width: 100%;
  height: auto;
  background: #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{
  color: #527cec;
  text-decoration: none;
}
footer ul#social{
  list-style: none;
  padding-left: 0%;
  text-align: right;
}
footer ul#social li{
  display: inline;
  margin-left: 1rem;
}
footer ul#social li a{
  text-decoration: none;
  color: #333;
  font-size: 2rem;
}
footer ul#social li a:hover{
  color: #527cec;
  text-decoration: none;
}
footer a,
footer p{
  color: #333;
}
footer a:hover{
  color: #527cec;
  text-decoration: none;
}
footer p{
  text-align: right;
}