

html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    font-variation-settings:
            "wdth" 100;
    color: white;
    background: rgba(18, 18, 18, 0.98);
    overflow-x: hidden;
    /*overflow: hidden;*/

}


.navbar ul {
    list-style-type: none;
    /*background-color: #464343;*/
    padding: 0;
    margin: 0;
    /*overflow: hidden;*/
    text-align: center;
}

.navbar ul li {
    display: inline-block;
}


.navbar a {
    color: white;
    text-decoration: none;
    padding: 30px;
    display: block;
    text-align: center;
    transition: background-color 0.5s;

}

.navbar a:hover {
    background-color: #333131;
    border-radius: 5px;

}



h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: lighter;
}

section {
    margin: 0 auto;
    padding: 150px 15px;
}

.header {
    margin-left: 5%;
}

img {
    max-width: 20%;
    height: auto;
    display: block;
    margin-right: 32%;
    margin-left: auto;
    border: 30px solid #121212;
    border-radius: 5px;

}

.content {
    display: flex;
    /*justify-content: space-between;*/
}

.text {
    width: auto;
}

.text-one {
    margin-top: 50px;
}


.projects {
    position: absolute;
    margin-top: 10px;
    text-decoration: none;
    color: white;
    padding: 12px;
    background-color: #4389f1;
    border-radius: 22px;
    transition: background-color 0.5s;
}

.projects:hover {
    background-color: #146bdd;
}

.h-element {
    display: flex;
    justify-content: center;
    align-items: center;
}

.projects-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.project-one {
    background-color: #1e1f22;
    padding: 50px;
    border-radius: 10px;
}

.project-two {
    background-color: #1e1f22;
    padding: 50px;
    border-radius: 10px;
}



.todo {
    width: 100%;
    height: 80%;
    border: solid black;
    background: white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#experience {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    /*background-color: #101010;*/
}

.timeline {
    width: 80%;
    height: auto;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline ul {
    list-style-type: none;
}

.timeline ul li {
    padding: 20px;
    background-color: #1e1f22;
    border-radius: 10px;
    margin-bottom: 20px;
}

.timeline ul li:last-child {
    margin-bottom: 0;
}

/*.timeline ul li:last-child this is only used if the 4th one is the last one{*/
/*    margin-bottom: 0;*/
/*}*/

.timeline-content h1 {
    font-size: 25px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 16px;
    line-height: 30px;
    font-weight: 300;
}

.timeline-content .date {
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

@media only screen and (min-width: 768px) {
    .timeline::before {
        content: '';
        position: absolute;
        height: 100%;
        width: 2px;
        left: 50%;
        transform: translateX(-50%);
        background-color: gray;
    }
    .timeline ul li {
        width: 50%;
        margin-bottom: 50px;
        position: relative;
    }



    .timeline ul li:nth-child(odd) {
        float: left;
        clear: right;
        transform: translateX(-30px);
        border-radius: 20px 0 20px 20px;

    }

    .timeline ul li:nth-child(even) {
        float: right;
        clear: left;
        transform: translateX(30px);
        border-radius:0 20px 20px 20px;
    }

    .timeline ul li:after {
        content: '';
        position: absolute;
        height: 20px;
        width: 20px;
        background-color: gray;
        border-radius: 50%;
        top: 0;
        transition: background-color 0.5s;
    }

    .timeline ul li:nth-child(odd):after {
        transform: translate(50%, -50%);
        right: -30px;
    }

    .timeline ul li:nth-child(even):after {
        transform: translate(-50%, -50%);
        left: -30px;
    }

    .timeline ul li:hover:after {
        background-color: darkgray;
    }

    .timeline-content .date {
        position: absolute;
        top: -30px;
    }
}

small {
    font-weight: bold;
}

.links {
    text-decoration: none;
    color: white;
    transition: color 0.2s;

}

.links:hover {
    color: #808080;
}


.scroll-up {
    position: fixed;
    right: 15px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);*/
    outline: none;
    border: none;
    cursor: pointer;
    background-color: rgb(255, 255, 255);
    transition: background-color 0.3s;
}

.scroll-up:hover {
    background-color: #1e1f22;
    color: white;

}

.scroll-up:active {
    background: darkgray;
}

.sub-heading {

    display: flex;
    margin-top: 10px;
    justify-content: center;
    align-items: center;
    font-weight: lighter;
}



.languages-list {
    display: flex;
    justify-content: center;
    list-style-type: none;
    /*margin: 30px;*/
}

.languages-list li {

    border-color: white;
    border-radius: 10px;
    font-size: 25px;
    margin: 30px;
    cursor: pointer;
}

.contact-details-ul {
    display: flex;
    justify-content: flex-start;
    list-style-type: none;
    margin-left: 25%;
}

.contact-details-ul li {
    margin: 20px;
    font-size: 25px;

}

.contact-details-ul li a {
    color: white;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: .5rem;
    padding-top: .5rem;
    border-radius: .375rem;
    background-color: #1e1f22;
    text-decoration: none;
    transition: background-color 0.5s;
}

.contact-details-ul li a:hover {
    background-color: rgba(128, 128, 128, 0.98);
}

.contact-heading {
    display: flex;
    margin-left: 26%;
}

@media screen and (max-width: 600px) {
    img {
        max-width: 90%;
    }
}

#particles-js {
    position: fixed;
}
