* {
    background-color: black;
    max-width: 100%;
}

span {
    color: #53acfb;
}

html {
    width: auto;
    margin: 0px;
}

#id {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
}

#header {
    
    display: flex;
    align-items: left;
    justify-content: space-between;
    position: relative;

}
.container nav ul{
    position:absolute;
    left:70%;
}
nav ul li {
    display: inline-block;
    margin: 10px 15px;
    color: #53acfb;
    font-family: 'Open Sans', sans-serif;
}

nav ul li a {
    color: #53acfb;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 100%;
    height: 3px;
    background: #fff;
    position: absolute;
    left: 0;
    bottom: -6px;
}

li:hover {
    color: crimson;
}

.wrapper {
    display: inline-flex;
}

.wrapper .static-txt {
    color: white;
    font-size: 60px;
    font-weight: 400;
}

.wrapper .dynamic-txts {
    color: #53acfb;
    margin-left: 15px;
    height: 90px;
    line-height: 90px;
    overflow: hidden;
}

.dynamic-txts li {
    color: #53acfb;
    list-style: none;
    font-size: 60px;
    font-weight: 500;
    position: relative;
    top: 0;
    animation: slide 6s steps(3) infinite;
}

.dynamic-txts li span {
    position: relative;
    color: #53acfb;
    display: inline-block;
    white-space: nowrap;
    /* Ensure the text doesn't wrap to the next line */
}

.dynamic-txts li:nth-child(1) span::after {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 0;
    /* Start with width 0 */
    background: #000;
    border-left: 2px solid #53acfb;
    animation: typing 2s steps(20) infinite;
    /* Adjust width and duration for "Designer" */
}

.dynamic-txts li:nth-child(2) span::after {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 0;
    /* Start with width 0 */
    background: #000;
    border-left: 2px solid #53acfb;
    animation: typing 2s steps(20) infinite 3s;
    /* Delay the animation by 3s for "Coder" */
}

.dynamic-txts li:nth-child(3) span::after {
    content: "";
    position: absolute;
    left: 0;
    height: 100%;
    width: 0;
    /* Start with width 0 */
    background: #000;
    border-left: 2px solid #53acfb;
    animation: typing 3s steps(20) infinite 6s;
}

@keyframes slide {
    100% {
        top: -360px;
    }
}

@keyframes typing {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

body {
    width: auto;
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #000;
}

.middle {
    
    font-family: 'Dancing Script', cursive;
    color: #53acfb;
    text-align: center;
    display: flex;
    flex-wrap: wrap;;
    justify-items: center;
    align-items: center;
    margin-left:10%;
    margin-top: 10%;
    margin-bottom: 100px;
    /* max-width: max-content; */
}

.profile_pic {
    justify-content: right;
    position: relative;
    top: 60px;
    left: 350px;
}

.head {
    font-weight: bold;
    font-size: x-large;
    position: relative;
    top: 40px;
}

#name {
    color: #53acfb;
}

.features {
    background-image: url(./pics/347317299795.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
}

.about {
    background-image: url(./pics/2163.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
}

.footer {
    background-image: url(./pics/347317299795.jpg);
    background-color: rgba(0, 0, 0, 0.7);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
    color: white;
    background:
        linear-gradient (to bottom, rgba (0, 0, 0, 0), rgba (0, 0, 0, 0.5));

}
.text-boddy-secondary{
    color:white;
}
    
@media only screen and (max-width: 1200px) {
    .middle {
        padding-left: 150px;
        margin-left: 50px;
    }

    .profile_pic {
        left: 150px;
    }
}

@media only screen and (max-width: 992px) {
    .middle {
        padding-left: 50px;
        margin-left: 20px;
    }

    .profile_pic {
        left: 50px;
    }
}

@media only screen and (max-width: 768px) {
    .middle {
        padding-left: 20px;
        margin-left: 10px;
    }

    .profile_pic {
        left: 20px;
    }
}
.certificate{
    display:block;
    border-top:1px solid #fff;    
}
.text_cert{
    color:#53acfb;
    font-family: 'Beau Rivage', cursive;
    display:block;
    text-align: center;
    font-size: 5rem;
}
.first_cert{
    color:#53acfb;
    font-size: 2rem;
}
.second_cert{
    margin-top: 20px;
    color:#53acfb;
    font-size: 2rem;
    
}
