body,html{

    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

a{
    text-decoration: none;
}

a:hover{
    text-decoration: none;
}



/*about section*/

.about-container{
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color:#20252d;

}

.about-container .content{

    text-align: justify;
    line-height: 1.66;
    letter-spacing: 1.5px;
    padding: 20px;
    width: 50vw;
    color: aliceblue;
}

.about-container .content p{

    padding: 20px;
}
.about-container .heading h1{

        padding: 5px;
        padding-top: 10px;
        text-transform: uppercase;
        margin-left: 10vw;
        color: aqua;
        letter-spacing: 2.5px;
        
}

.about-container .heading p{
    margin: 0;
    padding: 2px;
    margin-left: 10vw;
    line-height: 1.66;
    letter-spacing: 1.5px;
    color: aliceblue;
}


@media screen and (max-width: 600px) {

    .about-container{
        flex-direction: column;
    }

    .about-container .content{

        width: 100%;
    }

    .about-container .heading h1 {
        margin-left: 0px;
        text-align: center;
    }

    .about-container .heading p{
        
        margin-left: 0px;
        width: 95vw;
        padding: 20px;
        padding-top: 2px;
        padding-bottom:2px;
        text-align: center;
        text-align: justify;
        
    }

}

/*projects section*/

.projects{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    overflow-y: scroll;
}

.content .card{
    align-self: center;
    margin: 10px;
    box-shadow: 2px 2px 30px black;
    transition-duration: 500ms;
}

.content .card:hover{
    transform: scale(1.02);
}

.projects .card-body h4{

    color: #50d890;
    text-align: center;

}

.projects .card-text{

    color: aliceblue;
    text-align: center;
}


/* The actual timeline (the vertical ruler) */
.main-timeline {
    position: relative;
    }
    

    section{
        background-color: #232931;
    }
    /* The actual timeline (the vertical ruler) */
    .main-timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: whitesmoke;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    }
    
    /* Container around content */
    .timeline {
    position: relative;
    background-color: inherit;
    width: 50%;
    }
    
    /* The circles on the timeline */
    .timeline::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: #50d890;
    border: 5px solid rgba(255, 255, 255, 1);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    }
    
    /* Place the container to the left */
    .left {
    padding: 0px 40px 20px 0px;
    left: 0;
    }
    
    /* Place the container to the right */
    .right {
    padding: 0px 0px 20px 40px;
    left: 50%;
    }
    
  
    
    /* Fix the circle for containers on the right side */
    .right::after {
    left: -12px;
    }

    section h1{
        transform: translate(10vw,50vh);
        padding: 5px;
        text-transform: uppercase;
        margin-left: 10px;
        color: aqua;
        letter-spacing: 2.5px;
        position: absolute;
    
        z-index: 2;
    }


    .card-body{
        background-color: #232931 !important;
    }

    .card-body img{

        height: 100px;
        width: 100px;
        border-radius: 50%;
        margin: 5px;
        margin-right: 20px;
        object-fit: cover;
    }

    .card-body .img-div{
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: flex-start;
    }

    .card-body p{

        color: aliceblue;
    }

    .card-body span{
        color: #b3bfd6;
        margin-left: 2px;
    }
    .card{
        border: none;
    }

    .card-body h3{
        color: #50d890;
        margin-bottom: 0px;
    }
    
    /* Media queries - Responsive timeline on screens less than 600px wide */
    @media screen and (max-width: 600px) {

    .main-timeline{
        margin-top: 50px;
    }
    
    /* Place the timelime to the left */
    .main-timeline::after {
    left: 31px;
    }
    
    /* Full-width containers */
    .timeline {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    }
    
    /* Make sure that all arrows are pointing leftwards */
    .timeline::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
    }
    
    /* Make sure all circles are at the same spot */
    .left::after, .right::after {
    left: 18px;
    }
    
    .left::before {
    right: auto;
    }
    
    /* Make all right containers behave like the left ones */
    .right {
    left: 0%;
    }

    section h1{
        transform: translateY(0);
        text-align: center;
        transform: translateX(0);
        width: 100%;
    }

    .card-body img{

        height: 50px;
        width: 50px;
        border-radius: 50%;
        margin: 5px;
        margin-right: 0 px;
        object-fit: cover;
    }

    .card-body h3{
        font-size: 18px;
        margin-bottom: 0px;

    }

    .card-body span{
        font-size: 14px;
    }

    }



    .bg {
        /* The image used */
        background-image: url("../images/bg/IMG_20211215_121657.jpg");
      
        /* Full height */
        height: 100vh; 
        
        /* Center and scale the image nicely */
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
      }

      .bg .greeting{

        position: absolute;
        z-index: 4;
        transform: translate(10vw,50vh);
        background-color: #232931;
        color: #50d890;
        padding: 10px;
        border-radius: 10px;
        box-shadow: 2px 2px 30px black;
        transition-duration: 500ms;
      }

      .bg .greeting:hover{
        
    
        box-shadow: 2px 2px 50px black;
      }

      .bg .greeting h1{
          font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
          letter-spacing: 2px;
          margin-bottom: 0px;
      }

      @media screen and (max-width: 600px) {

        .bg{
            background-image: url("../images/bg/IMG_20211215_121657-1.jpg");
            background-position: top;
            height: 50vh;
        }

        .bg .greeting{
            transform: translate(5vw,35vh);
          
        }

        .bg .greeting h1{
            font-size: 20px;  
        }
      }



.social{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}


.social .links{
    background-color: #20252d;
    width: 200px;
    text-align: center;
    padding: 10px;
    margin: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    line-height: 1.66;
    letter-spacing: 2.5px;
    color: #50d890;
    box-shadow: 2px 2px 20px black;
    border-radius: 5px;
    transition-duration: 500ms;
}

.social .links a{

    text-decoration: none;
    color: #50d890;
}

.social .links:hover{
    transform: scale(1.1);
    box-shadow: 2px 2px 10px black;
}


.fa-angle-up{

    font-size: 100px;
    margin-top: 40px;
    font-weight: bolder;
    color: aliceblue;
    animation: bounce 2s infinite ease-in-out;

}

.fa-angle-up:hover{
    color: #50d890;
}


/* Preloader */

#preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    /* change if the mask should have another color then white */
    z-index: 9999;
    position: fixed;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    /* makes sure it stays on top */
}

#status {
    display: flex;
    align-self: center;
    width: 100vw;
    height: 100vh;
    /* centers the loading animation vertically one the screen */
    background-image: url(https://media.giphy.com/media/cIbJ5bBlNLxynVGYzb/giphy.gif);
    /* path to your loading animation */
    background-repeat: no-repeat;
    background-position: center;
    object-fit: cover;
    /* is width and height divided by two */
}