@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

html {
    font-size: 62.5%;
}
.My-self{
    display: flex;
    flex-direction: row;
    background-color: rgb(122, 164, 202);
}
.profile{
    border-radius: 50%;
    max-width: 10%;
    max-height: 10%;
    margin: 1%;
    cursor: pointer;
    transition-duration: .4s;
    transition-timing-function: ease-in-out;
}
.descriptions{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-top: 2%;
    color: azure;

}

.main-content{
    display: flex;
    flex-direction: column;
}

.profileon {
    z-index: 10;
    max-width: 50%;
    max-height: 50%;
    border-radius: 2%;
}
.Detalhes{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 2%;
}
ul{ margin: 2% 5%; }
details {
    width: 90%;
    margin: 0 auto ;
    background: rgb(122, 164, 202);
    margin-bottom: .5rem;
    box-shadow: 0 .1rem 1rem -.5rem rgba(0,0,0,.4);
    border-radius: 5px;
    overflow: hidden;
    color: azure;
  }

  summary {
    color: black;
    font-weight: 600;
    padding: 1rem;
    display: block;
    background: rgb(135, 199, 255);
    padding-left: 2.2rem;
    position: relative;
    cursor: pointer;
  }
  
  summary:before {
    content: '';
    border-width: .4rem;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    top: 1.3rem;
    left: 1rem;
    transform: rotate(0);
    transform-origin: .2rem 50%;
    transition: .3s transform ease;
  }
  

  details[open] > summary:before {
    transform: rotate(90deg);
  }
  
  
  details summary::-webkit-details-marker {
    display:none;
  }
  
  details > ul {
    padding-bottom: 1rem;
    margin-bottom: 0;
    
  }

html,
body {
    height: 100vh;
    font-family: 'Ubuntu', sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    font-size: 1.6rem;
}

header {
    background-color: cadetblue;
}

header img {
    width: 64px;
    margin-left: 2px;
    padding: 13px 0;
}

header .conteiner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 90%;
    max-width: 980px;

    margin: auto;
}

header nav ul {
    display: flex;
}

header nav ul li {
    list-style: none;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-size: 1.4rem;
    padding: 2.4rem;
    transition: all 250ms linear 0s;
}

header nav ul li a:hover {
    background: rgba(255, 255, 255, 0.15)
}

/*Media queries*/
@media (max-width:768px) {
    html {
        font-size: 50%;
    }
}

@media (max-width:428px) {
    nav {
        display: none;
    }

    .one,
    .two,
    .three {
        background-color: azure;
        height: 5px;
        width: 100%;
        margin: 6px auto;
        transition-duration: .3s;
    }

    .menu-toggle {
        width: 40px;
        height: 30px;
        margin-right: 20px;
    }

    .menu-section.on {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: cadetblue;

        z-index: 10;

        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menu-section.on nav {
        display: block;
    }

    .menu-section.on .menu-toggle {
        position: absolute;
        right: 30px;
        top: 15px;
    }

    .menu-section.on .menu-toggle .one {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-section.on .menu-toggle .two {
        opacity: 0;
    }

    .menu-section.on .menu-toggle .three {
        transform: rotate(-45deg) translate(8px, -10px);
    }

    .menu-section.on nav ul {
        text-align: center;
        display: inline;
    }

    .menu-section.on nav ul a {
        transition-duration: 0.5s;
        font-size: 3rem;
        ;
        line-height: 4rem;
        display: block;
    }
}
