html,body
{
    margin:0;
    padding:0;
    font-family:sans-serif;
}
/*---Header CSS---*/
#header
{
    height:100vh;
  
    background-image: url("background.png");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
.user-box
{
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    position:absolute;

}
.user-box img
{
    border-radius: 50%;
    width: 250px;
    border: 2px solid #6caed5;
}
.user-box h1
{
    color: #fff;
    font-weight: bold;
    margin: 10px;
}
.user-box p
{
    color: #fff;
}
.scroll-btn
{
    bottom:30px;
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    border: 2px solid #fff;
    padding: 10px 10px 20px;
    border-radius: 30px;
}
.scroll-bar span
{
    border:2px solid #fff;
    font-size: 10px;
    border-radius: 30px;
}
.scroll-bar
{
    animation: mover 1s infinite alternate;
}
@keyframes mover
{
    0%{transform: translateY(0);}
    100%{transform: translateY(10px);}
}
/*--About--*/
.about h2
{
    font-weight: bolder;
    font-family:'Times New Roman', Times, serif ;
    color:purple;
}
.about h5
{
    font-weight: bolder;
    font-family:'Times New Roman', Times, serif ;
    color:purple;
}
.about h3
{
    font-weight: bolder;
    font-family:'Times New Roman', Times, serif ;
    color:purple;
}
.about
{
    
    padding-top:100px;
    padding-bottom: 50px;
    
}
.nav-bar
{
    top:0;
    position:sticky;
    z-index:2;

}
.nav-bar{
    background-color: black;
}
.navbar-brand img
{
    height:50px;
}
.nav-bar .fa-bars
{
    font-size:35px;
    color:white;
}
.navbar-toggler
{
    outline: none !important;
}
.nav-link
{
    color: white;
}
.program-bar p
{
    margin-bottom:6px;
    font-weight:600;
}
.progress
{
    border-radius: 16px;
    margin-bottom: 10px;
}
.progress-bar
{
    border-radius: 16px;
    background: black !important;
}
/*----Resume----*/
.table 
 {
    width:100%;
    border: 1px solid black;
    border-collapse: collapse;
    padding: 15px;
    border-spacing: 5px;
  }
.table td,.table th{
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 16px;
}
.table th
{
    background-color: black;
    color:white;

}
.table tbody tr:nth-child(even)
{
    background-color: #f5f5f5;
}
@media(max-width:500px)
{
    .table thead{
        display:none;
    }
    .table, .table tbody, .table tr, .table td{
        display:block;
        width:100%;
    }
    .table tr{
        margin-bottom: 15px;
    }
    .table td{
        text-align: center;
        padding-left: 50%;
        text-align: center;
        position: relative;
    }
    .table td::before{
        content: attr(data-label);
        position: absolute;
        left:0;
        width:50%;
        padding-left:15px;
        font-size:15px;
        font-weight: bold;
        text-align: left;
    }
}

.education
{
    margin-top: -50px;
    padding-top:none;
    padding-bottom: 30px;
    background: white;
}
.education h3
{
    margin-bottom: 50px;
}
.resume
{
    padding-top:50px;
    padding-bottom: 30px;
    background: whitesmoke;
}
.resume h3
{
    margin-bottom: 50px;
}
.timeline
{

    position: relative;
}
.timeline:before
{
    content: '';
    background: #555;
    display: inline-block;
    position:absolute;
    left:30px;
    width:2px;
    height: 100%;
    z-index: 1;
}
.timeline li
{
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 20px;
    background: yellow;
    font-weight: bold;

}
.hobbies
{
    padding-top:50px;
    padding-bottom: 30px;
    background: white;
}
.hobbies h3
{
    margin-bottom: 50px;
}
.education h3
{
    font-weight: bold;
    font-family:'Times New Roman', Times, serif;
    color: purple;
}
.hobbies h3
{
    font-weight: bold;
    font-family:'Times New Roman', Times, serif;
    color: purple;
}
.resume h3
{
    
    font-weight: bold;
    font-family:'Times New Roman', Times, serif;
    color: purple;
}
.grid
{
    margin:80px;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    align-items: center;   
    position: relative;

}
.grid > article
{
    background: #eee5e9;
    border: none;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.3);
    border-radius: 20px;
    text-align: center;
    width: 250px;
    transition: transform .3s;
}
.grid > article:hover 
{
    transform: translateY(5px);
    box-shadow: 2px 2px 26px 0px rgba(0,0,0,0.3));
}
.grid > article img
{
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
.text
{
    padding: 0 20px 20px;
}
.text h4
{
    text-transform: uppercase;
}
@media (max-width: 786px)
{
    .grid{
        grid-template-columns: repeat(2,1fr);

    }
}
@media (max-width: 500px)
{
    .grid{
        grid-template-columns: repeat(1,1fr);
    }
    .grid > article{
        text-align: center;
    }
}

/*---Contact---*/
.contact
{
    padding-top:50px;
    background-image: url("background3.png");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;

}
.contact .row
{
    padding: 30px 0;
    font-size: 20px;

}
.contact .col-md-4 .fa
{
    padding: 2px;
    font-size: 40px;
}
.contact .btn
{
    padding: 10px 25px 10px 25px;
    margin: 5px;
    border-radius: 30px;
    border: 2px solid #fff;
    background: transparent;
}
.contact .btn:focus
{
    box-shadow: none !important;

}
.contact .btn:hover
{
    border: 2px solid #000 !important;
    background: #000 !important;
    transition: 0.6s;
}
.contact .btn .fa
{
    margin-right: 10px;
}
.footer 
{
    background:#000;
    height: 50px;
    margin-top: 50px;
    color: #fff;
    padding-top: 10px;
}
.fa-heart-o
{
    color:red;
}
/*---Social Icons---*/
.social-icons
{
    top: 50%;
    transform: translateY(-50%);
    position:sticky;
    z-index:1;
    width:80px;
}
.social-icons ul
{
    padding:initial;

}
.social-icons ul li
{
    height: 40px;
    width: 40px;
    list-style-type: none;
    padding-left: 12px;
    padding-top: 6px;
    margin-top: 5px;
    color: #fff;
    background: #000;    
}
.social-icons ul li:hover
{
    padding-left:30px;
    width:80px;
    transition:1s;
}
