/**************************************************************** 

Styling and Sizing for elements. Do not modify this section

*****************************************************************/

* {
    box-sizing: border-box;
}

/***********************    body structure   ********************/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    }


/*********************    nav bar structure   *******************/
.navbar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    position: relative;
    right: -100px;
}

.navbar img {
    margin: 5px;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
}

/******************    nav children structure   *****************/

nav img {
    align-self: center;
}

nav ul {
    display:flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-evenly;
}


/********************    container structure   ******************/

.container {
    display: grid;
    grid-template-columns: 1fr 3fr;
}

.container * {
    margin: 10px;
}

/*********************    sidebar structure   *******************/

.bio-sidebar {
    display: flex;
    flex-direction: column;
    margin-top: 45px;
    padding: 10px;
    height: fit-content;
}

.bio-sidebar * {
    margin: 4px;
}


/***********************    bio structure   *********************/

.bio{
    display: flex;
    flex-direction: column;
}

.bio img {
    width: clamp(100px, 70%, 200px);
    height: 250px;
    margin: 10px;
}

/*********************    aboutme structure   *******************/

.about-me .about-me-text *{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/**********************    main structure   *********************/

.main-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    margin: 10px;
    max-width: ;
}

.main-section section {
    width: 80%;
    padding: 10px;
}
.main-section .posts {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-section .posts div {
    align-self: center;
    margin: 20px;
}

/**********************    music iframe    **********************/
.music {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.music h2 {
    align-self: flex-start;
}


/**********************    pet iframe    ************************/
.pets {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.pets h2 {
    position: relative;
    top: -150px

}

.pets iframe {
    height: 350px;
    width: 350px;
}

/*********************    friends iframe    *********************/

.friends {
    display: grid;
    width: 80%;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    column-gap: 0px;
}
.friends h2 {
    grid-column: 1/ span 4;
    text-align: start;
}

.friends div {
    height: auto;
    width: 80%;
    padding: 1%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.friends div * {
    flex-basis: auto;
    flex-shrink: 1;
}


.friends div img {
    max-width: 150px;
    max-height: 150px;
    height: inherit;
    width: inherit;
    object-fit: cover;
}

.friends div span {
    max-width: 150px;
    max-height: 150px;
    font-size: 75%;
    overflow-wrap: break-word;
}


/*****************************************************************

Your Playground (Make customizations and changes below)

*****************************************************************/

body {
    background: url(./assets/namine-kingdom-hearts.gif) repeat;
    color: white;
    text-shadow: 4px 4px 10px blueviolet;
    }

/************************    navbar   ***************************/

.navbar {
    border-radius: 70px;
    background: radial-gradient(circle at center in hsl shorter hue,
    pink,
    blueviolet);
    box-shadow: blueviolet 0px 0px 30px 5px;
    width: 85%;
}



nav ul li a {
    text-decoration: none;
    font-weight: bold;
}

/**********************    text styles   ************************/

ul li {
    list-style-type: none;
    padding: 14px 20px;
}

ul li a {
    text-decoration: none;
    font-weight: bold;
    color: inherit;
}

ul li a:hover {
    color:firebrick;
    text-shadow: 4px 4px 10px cornflowerblue;

}

/********************    section styles   ***********************/

.bio-sidebar, .main-section * {
    background: radial-gradient(circle at center in hsl shorter hue,
    pink,
    blueviolet);
    border-radius: 40px;
}

.bio-sidebar, 
.main-section > .posts,
.main-section > .about-me,
.main-section > .music,
.main-section > .pets,
.main-section > .friends {
    box-shadow: 0px 0px 25px 10px blueviolet;
}

/***********************    sidebar styles   ********************/



.bio-sidebar .bio,
.bio-sidebar .links{
    border-bottom: white dotted 2px;
}

/***********************    main styles   ***********************/

 .main-section .posts div > p{
    background: transparent;
}


/************************    bio styles   ***********************/

.bio img {
    border:#333333 dotted 2px;
}

/**********************    aboutme styles   *********************/


.main-section img,
.main-section span {
    background: transparent;
}