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

html {
    font-family: 'Space Mono', monospace;
    height: 100%;
}

body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.navbar {
    height: 80px;
    background-image: url('/images/Rectangle.png'); 
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 80px;
}

main {
    flex: 1;
}

button {
    background-color: #FFF0FE;
    border-radius: 30px;
    padding: 8px 14px;
    border: 3px solid #CB1CB9; 
    opacity: 0.8;
    position: absolute;
    right: 40px;
    top: 15px;
}

.navbar-item {
    text-decoration: none;
    color: #CB1CB9;
    padding: 5px;
    font-size: 20px;
    font-weight: bold;

}

.navbar-item:hover {
    text-shadow: 0 0 0.5em #CB1CB9, 0 0 0.5em #CB1CB9, 0 0 0.5em #CB1CB9;
    color: #FFF0FE;
}

.main-container {
    width: 100%;
    background-image: url('/images/Rectangle2.png');
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0 10px;    
    display: flex;
    justify-content: center;
}

#content-container {
    display: flex;
    flex-direction: column;
    /* max-width: 800px; */
    justify-content: center;
}

.avatar-section {
    width: 100%;
    background: #FFF0FE;
    border-radius: 10px;
    margin: 20px 0px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

.avatar-section h1 {
    color: #4F4C4C;
    padding-left: 20px;
    padding-top: 5px;
    padding-bottom: 10px;
    font-size: 28px;
}

.avatar-section p {
    margin: 0;
    padding-top: 10px;
    margin-bottom: 10px;
}

.avatar-section img {
    padding: 10px;
    width: 100%;
    border-radius: 70px;
}

.btn-contact a {
    text-decoration: none;
    color: #4F4C4C;
    background-color: #FFF0FE;
    border-radius: 30px;
    padding: 8px 14px;
    border: 3px solid #CB1CB9; 
    opacity: 0.8;
    font-weight: bold;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.3s;
    transition: .3s transform ease-in-out;
    will-change: transform;
    z-index: 0;
}

.btn-contact a:hover  {
    /* text-shadow: 0 0 0.5em #CB1CB9, 0 0 0.5em #CB1CB9, 0 0 0.5em #CB1CB9; */
    border: 2px solid #4F4C4C;
    color: black;
    transform: scale(1.05);
    will-change: transform;
}
.btn-contact a::after {
    background-color: #CB1CB9;
    border-radius: 25px;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-100%, 0) rotate(10deg);
    transform-origin :top left;
    transition: .3s transform ease-out;
    will-change: transform;
    z-index: -1;
}
.btn-contact a:hover::after {
    transform: translate(0, 0);
}

.bio-section {
    background: #FFF0FE;
    width: 100%;
    margin: 20px 0px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
    padding: 10px;    
}

.bio-section p {
    color: #4F4C4C;
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.3;
}

.bio-section h3 {
    color: #4F4C4C;
    padding: 5px;
    outline-style: ridge;
    outline-color: #CB1CB9;
}

.icon-list {
    list-style: none;
    margin-top: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    /* display: inline-flex; */
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    justify-content: flex-start;   
}

.icon-list img {
    padding: 3px;
    margin: 10px;
    background-color: #CB1CB9;
    border-radius: 5px;
    justify-content: center; 
}

.hobbies {
    list-style: none;
    color: #4F4C4C;
    margin-top: 10px;
    
}

.hobbies img {
    background: #CB1CB9;
    border-radius: 50%;
    padding: 2px;
    margin: -5px;
    height: 20px;
}

/* Responsive Design */

@media screen and (min-width: 800px) {
    .main-container {
        padding: 0 20px;
    }

    #content-container {
        flex-direction: row;
        max-width: 1400px;
        height: fit-content;
    }

    .avatar-section {
        margin: 50px;
        padding: 40px 0;
        width: 35%;
    }

    .avatar-section h1 {
        padding-top: 5px;
        padding-bottom: 20px;
        font-size: 30px;
    }
    
    .avatar-section img {
        padding: 30px;
    }

    .avatar-section p {
        padding-top: 30px;
    }

    .btn-contact {
        padding: 5px 20px;
    }
    
    .bio-section {
        margin: 50px;
        padding: 30px; 
        width: 70%;   
    }

    /* .icon-list {
        display: inline-flex;
        flex-wrap: wrap;    
    } */
}