/*
FONTS
*/

@font-face {
    font-family: "ITC Souvenir";
    src: url("souvenir_medium.otf");
}

@font-face {
    font-family: "Inter";
    src: url("inter.ttf");
}

@font-face {
    font-family: "ITC Franklin Gothic Sd";
    src: url("franklin_medium.otf");
}

/*
BODY
*/

body {
    color: #FFF;
    background-color: #111;
    text-align: center;
    padding: 2vh 2% 2vh 2%;
    font-family: "Inter";
    /*padding: 1vh 1vw 3vh 1vw;*/
}

/*
HEADER E FOOTER
*/

.logo {
    margin: 1em 0 -1em 0;
    font-size: 1.2em;
    font-weight: 100;
}

.back {
    float: left;
}

.name {
    font-weight: 500;
}

.logo_image {
    width: 3em;
    margin-top: -15px;
}

.animation {
    animation: rotate-animation 120s infinite linear;
    transform-origin: 50% 50%;
}

@keyframes rotate-animation {
    0% {
        rotate: 0deg;
        transform: scale(0.7);
    }
    50% {
        rotate: 180deg;
        transform: scale(0.7);
    }
    100% {
        rotate: 360deg;
        transform: scale(0.7);
    }
}

#header a{
    font-weight: normal;
    color: #FFF;
    text-decoration: none;
    font-size: 1.2em;
}

.options{
    float: right;
    margin-left: 2vw;
}

#typefaces{
    transition: 0.5s ease;
}

#typefaces:hover{
    color: #AAA;
    transition: 0.5s ease;
}

#footer{
    margin: 10vh 0 -2vh 0;
    font-weight: 300;
}

#about:hover{
    color: #AAA;
    /*color: #FF5A43;*/
    /*color: #E01B1B;*/
    transition: 0.5s ease;
}

.divisor{
    margin-top: 6vh;
    border-color: #222;
}

/*
PROJECTS
*/

.project{
    width: 1200px;
    margin: 8vh auto 5vh auto;
    height: 800px;
    background-color: #555;
    border-radius: 30px;
}

.brumadinho{ /* brumadinho project */
    background-image: url("brumadinho_main.png");
    background-size: cover;
    background-position-y: -15px;
}

.cittamobi{ /* cittamobi project */
    background-image: url("cittamobi_main.png");
    background-size: cover;
    background-position-y: -15px;
}

.cittamobi_recharge{ /* cittamobi recharge project */
    background-image: url("cittamobi_recharge_main.png");
    background-size: cover;
    background-position-y: -15px;
}

.dindim{ /* dindim project */
    background-image: url("dindim_main.png");
    background-size: cover;
}

.project_supertitle{
    font-size: 3.5em;
    font-weight: bold;
    width: 68%;
    margin: 8vh auto;
}

.brumadinho_color {
    color: #00D29F;
}

.cittamobi_color {
    color: #9560FF;
}

.cittamobi_recharge_color {
    color: #94c5eb;
}

.dindim_color {
    color: #1685FF;
}

.project_details{
    font-size: 1.2em;
    font-weight: 300;
    padding: 10px;
    border-radius: 10px;
}

.project_body{
    width: 80%;
    margin: auto;
}

.p_body{
    text-align: left;
    font-size: 1.2em;
    width: 65%;
    line-height: 150%;
    font-weight: 200;
}

.bold {
    font-weight: 600;
    color: rgb(253, 191, 20);
}

.p_number{
    text-align: left;
    font-size: 2.7em;
    line-height: 150%;
    font-weight: 300;
}

.p_body_link{
    color: #FFF;
}

.p_body_medium{
    font-size: 1.5em;
}

.p_body_large{
    font-size: 1.9em;
    margin: 1.5em 0 1.5em 0;
}

.p_subtitle{
    text-align: left;
    font-size: 1.6em;
    width: 50%;
    line-height: 150%;
    font-weight: 400;
    margin-bottom: -2vh;
}

.general_link {
    color: #EAC000;
    text-decoration: none;
    font-weight: bold;
}

.image_caption{
    text-align: center;
    margin: -2vh 0 10vh 0;
}

.image_caption_new{
    text-align: center;
    font-weight: 200;
    margin-top: 0;
}

.left_text{
    margin: 10vh 0 0 0;
    text-align: left;
    color: #FFF;
}

.project_title{
    font-size: 3em;
    margin-top: 15vh;
    font-weight: 600;
}

.project_section{
    font-size: 1.5em;
    font-weight: 300;
    color: #CCC;
}

.project_subtitle{
    font-size: 2em;
    font-weight: 500;
    margin: 7vh 0 0 0;
}

.percent {
    font-size: 0.45em;
    font-weight: 400;
}

.high {
    color: rgb(100, 234, 100);
}

.low {
    color: rgb(248, 94, 94);
}

.img_new{
    width: 100%; 
    text-align: left; 
    float: left;
    margin-top: 3%;
    margin-bottom: -2%;
}

.hstack {
    display: flex;              /* lays children in a row */
    flex-direction: row;
    align-items: center;        /* vertical alignment */
    gap: 2vw;                  /* spacing between items (like spacing:) */
  }
  
  /* distribute space like .frame(maxWidth: .infinity) with spacers */
  .hstack.space-between { justify-content: space-between; }
  .hstack.center { justify-content: center; }
  .hstack.end { justify-content: flex-end; }
  
  /* allow wrapping (like HStack with .lineLimit?) */
  .hstack.wrap { flex-wrap: wrap; row-gap: 12px; }

  .hstack > *:not(:last-child)::after {
    content: "•";           /* the divider */
    margin-left: 2vw;       /* space between text and bullet */
    color: #fff;            /* style it however you want */
  }

mark {
    margin: 0 -0.2em;
    padding: 0.1em 0.2em;
    border-radius: 0.8em 0.3em;
    background: transparent;
    background-image: linear-gradient(
            to right,
            rgba(255, 225, 0, 0.1),
            rgba(255, 225, 0, 0.7) 4%,
            rgba(255, 225, 0, 0.3)
    );
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    color: #FFF;
}

/*
HML'S REMINDER
*/

#hml {
    position: fixed;
    bottom: 0;
    right: 0;
    float: right;
    width: 10vh;
    border-radius: 10px 0 0 10px;
    background-color: greenyellow;
    /*background-color: darkturquoise;*/
}

/*
RESPONSIVITY
 */

@media only screen and (max-width: 1500px) {
    .project {
        width: 840px;
        height: 560px;
    }
}

@media only screen and (max-width: 900px) {
    .project {
        width: 600px;
        height: 400px;
    }

    .p_body{
        width: 100%;
    }

    .image_caption{
        width: 70%;
        margin: auto;
    }

    .logo {
        font-size: 1.8em;
    }
}

@media only screen and (max-width: 650px) {
    .project {
        width: 500px;
        height: 550px;
        background-position: center;
    }

    .final_solutions{
        height: 400px;
        background-size: 80%;
    }

    .logo {
        font-size: 2.5em;
        line-height: 1.2;
        margin-bottom: 1em;
    }
}