:root {
    font-size: 62.5%; /* conta como 10px */
}

* {
    padding: 0px;
    margin: 0px;
}

body,
html {
    height: 100vh;
    width: 100vw;
    box-sizing: border-box;
    overflow: hidden;
    background:#181719;
}

div#container {
    height: 100%;
    width: 100%;
    color: #FFFFFF;
}

header {
    height: auto;
    width: 100%;
    max-width: 1366px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding-top: 3rem;
}

div.logo {
    height: 30px;
    width: 100%;
    max-width: 100px;


    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0.5rem;
    margin-left: 8rem;    

    font-size: 1.3rem;
    font-family: 'Crimson Text', serif;
    text-transform: uppercase;
    font-weight: bold;
    
    border: 1px solid white;
}

div.menu-section {
    margin-right: 8rem;
}

header nav {
    height: auto;
    width: 100%;
    
    display: flex;
    justify-content: flex-end;
    
    margin-right: 8rem;

    font-family: Montserrat;
    font-size: 1.7rem;
}

a {
    text-decoration: none;
    color: rgb(238, 237, 237);
    font-weight: bold;
    transition: .2s;
}

header a {
    margin-left: 6%;
    font-weight: 500;
    cursor: default;
    transition: .2s;
}

header a:hover {
    cursor: default;
    font-weight: bold;
}

main {
    height: auto;
    width: auto;
    max-width: 1366px;
    
    margin-top: 6rem;
    
    display: flex;
}

div.texts {
    height: auto;
    width: 100%;
    max-width: 300px;

    display: flex;
    flex-direction: column;
    position: relative;
    
    margin-left: 8rem;
    
    font-family: Montserrat;
    font-size: 1.5rem;
}

div.texts h1 {
    font-family: Lora;
    font-size: 2.7rem;
    margin-bottom: 41px;
    font-weight: normal;
}

div.texts p {
    margin-bottom: 5rem;
    font-size: 2rem;
    line-height: 3rem;
}

div.texts a:hover {
    color: white;
    cursor: pointer;
}

a i {
    height: 10px;
    width: 20px;
    margin-left: 5px;
}

div.images {
    height: auto;
    width: 100%;
    max-width: 909px;

    margin: 0px 8rem;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

div.images img {
    height: auto;
    width: 100%;
    max-width: 550px;
    max-height: 330px;
}

div.profile {
    height: auto;
    width: 100%;
    max-width: 240px;

    background: #181719;
    
    display: flex;
    flex-wrap: wrap;

    margin: -3rem 3rem 0px 0px;

    font-size: 1rem;
}

div.images div.profile img {
    height: auto;
    width: 100%;
    max-width: 50px;
    
    padding: 2rem;
    
    border-radius: 50%;
}

div.header {
    margin-top: 2.4rem;
    font-family: Montserrat;
    width: 100%;
    max-width: 50%;
}

div.header h2 {
    font-size: 1.6em;
}

div.header h4 {
    font-size: 1.2em;
    color: #828282;
}

div.profile h3{
    margin: 5px 0px 0px 20px;
    font-size: 1.6em;
    width: 80%;
}

footer {
    height: auto;
    width: 100%;

    display: flex;
    justify-content: center;   


    position: absolute;
    bottom: 10px;

    font-family: Montserrat;
    font-weight: 600;
    font-size: .8rem;

    color: #A9A9A9;
}

@media(max-width: 1050px) {
    :root {
        font-size: 60%;
    }

    div.images img {
        max-width: 450px;
        max-height: 230px;
    }
}

@media(max-width: 838px) {
    :root {
        font-size: 52%;
    }

    div.texts {
        max-width: 195px
    }

    div.profile {
        max-width: 65%;
    }
}

/* mobile style */

@media (max-width: 670px) {
    :root {
        font-size: 50%;
    }

    body {
        overflow-y: scroll;
    }

    div#container {
        display: flex;
        flex-direction: column;
    }

    header {
        justify-content: space-between;
    }

    header div.logo {
        margin-left: 1.5rem;
    }

    div.menu-section {
        margin: 0px;
    }

    header nav {
        display: none;
    }

    header div.menu-toggle {
        height: auto;
        width: 40px;
        
        margin-right: 1.5rem;
    }

    .one,
    .two,
    .three {
        height: 4px;
        width: 70%;

        margin: 6px auto;

        background: #F2F2F2;

        transition-duration: .3s;
    }

    header div.menu-section.on {
        height: 100vh;
        width: 100vw;
        
        background: #181719;
        
        position: absolute;
        top: 0;
        right: 0;

        z-index: 10;
    }

    header .menu-section.on .menu-toggle {
        margin: 1.5rem;

        position: absolute;
        right: 0;
    }

    header .menu-section.on .menu-toggle .two {
        opacity: 0;
    }

    header .menu-section.on .menu-toggle .one {
        transform: rotate(45deg) translate(7px, 7px);
    }

    header .menu-section.on .menu-toggle .three {
        transform: rotate(-45deg) translate(8px, -7px);
    }

    header div.menu-section.on nav {
        height: 100vh;
        width: 100vw;
        
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    header div.menu-section.on nav a {
        margin-bottom: 4rem;
        font-size: 3rem;
    }

    main {
        flex-wrap: wrap;
        margin: 5rem 1.5rem;
    }

    div.texts {
        max-width: 80%;
        margin: 0px;
    }
    
    div.texts h1 {
        font-size: 4.7rem;
    }
    
    div.texts p {
        width: 70%;
        font-size: 3rem;
    }

    div.texts a {
        margin-bottom: 4rem;
        font-size: 3rem;
    }

    div.images {
        margin: 0px;
    }

    div.images img {
        max-height: 100%;
        max-width: 100%;
    }

    div.profile {
        margin-top: -8rem;

        font-size: 2rem;

        box-shadow: 1rem 1rem 1rem black;
    }

    div.header {
        margin-top: 2rem;
    }

    footer {
        width: 100%;
        
        position: static;
        margin-bottom: 2rem;
        align-self: center;
    }
    
    footer p {
        padding-top: .7rem;
        border-top: 1px solid #A9A9A9;
    }
}

@media (max-width: 514px) {
    :root {
        font-size: 35%;
    }

    header div.logo {
        height: 25px;
    }
}

@media (max-width: 372px) {
    :root {
        font-size: 30%;
    }

    header div.menu-toggle .one,
    .two,
    .three {
        height: 4px;
    }
}