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

a {
    text-decoration: none;
    color: white;
}

ol {
    list-style-position: inside;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.header a:hover {
    color: #fdd835;
}

.logo img{
    align-items: left;
    height: 40px;
    width: 40px;
    margin-left: 10px;
}
/* Header element starts */
.header {
    height: 50px;
    width: 100%;
    background-color: grey;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    font-size: 24px;
    color: white;
    flex-wrap: wrap;
}
.home,
.about,
.resume,
.linktree {
    margin: 0 50px;
}

/* Header element ends */

/* Main body starts */
main {
    background-color: #121212;
    width: 100%;
}

/* Home Section */
.home_page {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.home_page img {
    height: 400px;
    width: 400px;
    margin-bottom: 20px;
}

.HomeContent {
    color: azure;
    font-size: 36px;
    margin: 20px;
}

span {
    color: yellow;
}

/* About Section */
.about_page {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.about_page img {
    border-radius: 50px;
    height: 400px;
    width: 400px;
    margin-bottom: 20px;
}

.AboutContent {
    color: azure;
    text-align: center;
    max-width: 600px;
}

.AboutContent h1 {
    text-decoration: underline;
}

/* Contact Us Section */
.contact_page {
    text-align: center;
    padding: 20px;
}

.contact_page img {
    height: 50px;
    width: 50px;
    margin: 10px;
}

.contact_page h1 {
    color: azure;
    text-decoration: underline;
}

/* Back to Top Button */
.backToTop {
    text-align: center;
    margin: 20px;
}

/* Footer */
.footer {
    height: 40px;
    width: 100%;
    background-color: grey;
    text-align: center;
    color: white;
    padding: 10px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .header {
        flex-direction: column;
        text-align: center;
        font-size: 20px;
        padding: 15px;
    }

    .home, .about, .resume, .linktree {
        margin: 10px 0;
    }

    .home_page img, .about_page img {
        height: 350px;
        width: 350px;
    }

    .HomeContent {
        font-size: 28px;
    }
}

@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        font-size: 18px;
        padding: 10px;
    }

    .home_page img, .about_page img {
        height: 300px;
        width: 300px;
    }

    .HomeContent {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .header {
        flex-direction: column;
        font-size: 16px;
        padding: 8px;
    }

    .home_page {
        flex-direction: column;
        text-align: center;
    }

    .home_page img, .about_page img {
        height: 250px;
        width: 250px;
    }

    .HomeContent {
        font-size: 20px;
    }

    .about_page {
        flex-direction: column;
        text-align: center;
    }

    .footer {
        font-size: 14px;
    }
}
