@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Lato:wght@400;700;900&display=swap');

:root {
    --titles-font: "DM Serif Display", serif;
    --text-font: "Lato", sans-serif;

    --creamy: #C7253E;
    --primary: #821131;
    --dark-secondary: #E85C0D;
    --secondary: #FABC3F;
    --light: #FFF8DC;
    
    --border: #000 solid .3rem;
    --bg-bars: rgba(250, 188, 63,0.5);
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}
*, ::after, ::before {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

/*General tags*/
body {
    flex-direction: column;
    font-size: 16px;
    color: rgba(0, 0, 0,.67);
    font-family: var(--text-font);
    min-height: 100vh;
}
h1, h2, h3 {
    font-family: var(--titles-font);
}
h2 {
    color: rgba(0, 0, 0,.8);
    font-size: 4.2rem;
    letter-spacing: .2rem;
}
a {
    text-decoration: none;
}

/*General classes*/
.flex {
    display: flex;
}
.flex-column {
    flex-direction: column;
}
.gap-1 {
    gap: .5rem;
}
.gap-2 {
    gap: 2rem;
}
.justify-center {
    justify-content: center;
}
.align-center {
    align-items: center;
}
.padding-1 {
    padding: 1rem;
}
.w-100 {
    width: 100%;
}
/*Container*/
.container {
    width: 100%;
    margin: auto;
    margin-bottom: 0;
    padding: 1rem;
    flex-direction: column;
    border-radius: 1rem;
    border: rgba(0,0,0,.15 solid .1rem);
    box-shadow: 7px 7px 15px 0 rgba(0,0,0,.15);
    background-color: var(--creamy);
    z-index: 10;
}

/*Buttons*/
.btn {
    display: inline-block;
    height: 5rem;
    width: 20rem;
    border-radius: 1.5rem;
    line-height: 4.8rem;
    text-align: center;
    background-color: var(--secondary);
    color: var(--primary);
    font-weight: 700;
}
.btn:hover {
    color: var(--creamy);
    background: var(--primary);
    background: linear-gradient(90deg, var(--dark-secondary) 20%, var(--secondary) 100%);
}
/*Profile*/
.profile_pic {
    height: 23rem;
    width: 23rem;
    border-radius: 50%;
    background-image: url(../picture/front-pic.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
/*Details*/
.details_texts {
    display: none;
    margin-bottom: 2.5rem;
    color: #000;
}
.details-paragraph {
    text-align: justify;
    margin-top: 2.5rem;
}

/*Footer*/
.footer {
    margin: 0 auto auto auto;
    padding: .7rem;
    background-color: var(--secondary);
    border-radius: 0 0 1.5rem 1.5rem;
    width: 98%;
    cursor: pointer;
    transform: translate(6px,-52px);
    transition: transform 1s;
}
.footer:hover {
    transform: translate(6px,0px);
}
.icon {
    margin: 0;
    height: 5rem;
}
/*Media Queries*/

@media (max-width: 426px) {
    .btns {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
    .footer {
        width: 100%;
    }
}
@media (min-width: 768px) {
    body {
        flex-direction: row;
        padding: 2rem;
    }
    .container {
        flex-direction: row;
        margin: auto 0 auto auto;
        width: 80rem;
        max-width: 98%;
    }
    .footer {
        width: auto;
        margin: auto auto auto 0;
        flex-direction: column;
        height: 40rem;
        border-radius: 0 1.5rem 1.5rem 0;
        transform: translate(-52px,0);
    }
    .footer:hover {
        transform: translateX(0);
    }
    .details_texts {
        display: block;
    }
}