html{
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin-top: 0;
    margin-left: 0px;
    width: 100%;
    font-family: Arial, sans-serif;
    color: #333;
    background: linear-gradient(to bottom, #2b003b, #9200af, #3b0152);
    background-repeat: no-repeat;
    overflow-x: hidden;
}

header {
    width: 100%;
    height: 7em;
    background-color: #450061;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    position: sticky;
    top: 0px;
    z-index: 50;
}

footer {
    height: 10em;
    width: 100%;
    background-color: #3b0152;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    margin-top: 20px;
}

.footer-section-1, .footer-section-2{
    height: 8em;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

.phone-area, .email-area, .location-area {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
}

.footer-section-2 {
    align-items: center;
}

.profiles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
}

.profile-icons {
    font-size: 2em;
}


a, a.visited{
    text-decoration: none;
    color: #ffffff;
}

.back-button{
    font-size: 1.3em;
    padding-left: 5%;
    font-weight: bold;
}

main{
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: space-around;
}

.section-1, .section-3{
    width: 19em;
    height: 26em;
}

.bgimg{
    background-size: cover;
    background-repeat: no-repeat;
}

#img1{
    height: 480px;
    width: 18em;
    background-image: url("images/profile/maldini.png");
    background-position: center;
}

#img2{
    height: 480px;
    width: 20em;
    background-image: url("images/profile/messi.png");
    background-position: left;
}

.section-2{
    height: 70%;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2em;
    margin-top: 2em;
}

.dashboards{
    background-color: rgb(155, 41, 184);
    height: 6em;
    width: 10em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 1.5em;
    border-radius: 10px;
    gap: 1em;
    border: 1px solid #ffffff;
    transition: 0.1s ease-in;
}

.dashboards:hover{
    transform: translateY(-5px);
    box-shadow: 2px 2px 8px #f792e6;
}

p{
    margin: 0;
}

i{
    font-size: 1.5em;
}

@media (max-width: 1263px) {
    .section-1{
        display: none;
    }

    #img2{
        width: 24em;
        background-size: contain;
    }

    .section-3{
        width: 25em;
    }

}

@media (max-width: 788px) {
    .dashboards{
        font-size: 1em;
        gap: 0.5em;
    }
    
}

@media (max-width: 739px) {
    .dashboards{
        height: 3em;
        width: 15em;
        flex-direction: row;
        padding: 1em;
    }
    .section-2{
        height: 100%;
        flex-direction: column;
        flex-wrap: nowrap;
    }
}

@media (max-width: 655px) {
    main{
        height: 400px;
        justify-content: center;
    }
    .section-3{
        width: 10em;
    }
    #img2{
        background-image: url("images/profile/maldini.png");
        width: 17em;
        height: 350px;
        background-position: left;
    }
    .dashboards{
        height: 1em;
        width: 7em;
    }
    .back-button{
        font-size: 0.8em;
    }
    .section-2{
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .footer-section-1, .footer-section-2{
        width: 90%; 
        align-items: center;
    }

    footer {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }
}

@media (max-width: 1047px) {
    .footer-section-1{
        flex-direction: column;
    }
}

section{
    width: 100%;
    height: 3em;
    display: flex;
    justify-content: center;
}

.profile{
    font-size: 3em;
    color: #fff;
    font-family: 'Times New Roman', Times, serif;
}