body {
    margin: 0;
    padding: 0;
    height: 100%;
}


.main {
}

.keywords p {
    margin: 0;
}

#keyword-one {
    margin-bottom: 20vh;
}

#last .desc p {
    margin-bottom: 0;
}

a#last {
    margin-bottom: 0;
}

.quarter{
    height: 20vh;
    color: white;
    text-decoration: none;
}

.quarter a {
    text-decoration: none;
    color: white;

}

.quarter.hello {
    color: black;
    height: 100%;
    margin-bottom: 1rem;
}

.one {
    background-color: red;
}

.two {
    background-color: green;

}

.three {
    background-color: blue;
}

.one, .two, .three {
    text-align: center;
    font-size: 3rem;
    line-height: 20vh;
}


.content {
    margin: 0 50px 50px 50px;
}


#circle {
    width: 20px;
    height: 20px;
    background: red;
    border-radius: 50%;
    position: fixed;
    bottom: 50px;
    right: 30px;

}

h1#name:hover span {
    display: none;
}

h1#name:hover:before {
    content: "Yuri Smirkeh";
}


#about-txt {
    font-size: 1.4rem;
    text-align: center;
}

.btw {
    font-size: 1rem;
}


/* PORTFOLIO */

.git {
    margin-left: auto;
    margin-right: auto;
    width: 120px;
}



div.image > img {
    /* max-width: 100vw; */
    /* position: absolute;
    top: 0px;
    left: 0px; */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position: 50% 50%; */
}

div.image {
    position: relative;
    width: 100%;

}

.content.portfolio {
    margin: 0px;
    font-size: 1.3rem;
    padding-bottom: 50px;
    text-align: left;
}

.content.portfolio a {
    text-decoration: none;
    color: black;
    box-shadow: none;
}

.content .desc {
    margin-left: 1.4rem;
    background-color: white;
    position: relative;

}

.content .desc p {
    margin-bottom: 15vh;
}

.desc p {
    line-height: 1.5;
}

.content .desc span {
    margin-bottom: 15vh;
    background-color: white;
}

.desc span {
    line-height: 1.5;
}

#sumx {
    margin-bottom: 5vw;
}

.content .desc {
    margin-bottom: 12rem;
}

.keywords {
    margin-bottom: 2rem;
}

label.on, label.off, input#on, input#off, span#or {
    display: none;
}

div.mail, div#home {
    display: none;
}

div#home {
    position: fixed;
    right: 40px;
    bottom: 40px;

}

div#home span {
    background-color: white;
}

div#home a {
    box-shadow: 10px 1px 10px 10px #f00;
    text-decoration: underline;
    color: black;
}

#branch-animated {
    -webkit-animation: none;
}

@keyframes magnified{
0%{
transform: scale(1.2,1.2);
}
70%{
transform: scale(1.2,1.2);
}
100%{
transform: scale(1,1);
}
}
div#ikigai img {
  animation: pulse 2s infinite, magnified 2s infinite;
}

.archived {
  display: none;
}

/* RESPONSIVE */

@media only screen and (min-width: 480px) {
    .content.portfolio a.odd {
        margin-top: 14%;
        margin-left: 0%;
        width: 40%;
        display: block;
        margin-bottom: 15vw;
    }

    .content.portfolio a.even {
        margin-top: -14%;
        margin-left: 50%;
        width: 50%;
        display: block;
        margin-bottom: 15vw;
    }

    .content.portfolio a {
        text-decoration: none;
        color: black;
        box-shadow: 10px 1px 10px 10px #f00;
    }

    #rtoolbox, #cebobo {
        margin-top: -6%;
        margin-left: 8%;
    }

    .content.portfolio {
        background: url("/img/raw/combo_four_loss.jpg");
    }

    div.keywords {
        margin: 0 auto 15vw;
        padding: 10vh 32px;
        max-width: 50%;
        /* line-height: 8em; */
        /* font-size: 3rem;
        background-color: white; */
    }

    div.keywords span {
        font-size: 3rem;
        background-color: white;
    }

    div.mail {
        /* display: inline;
        float: left;
        padding-left: 5px; */
        position:fixed;
        left: 5px;
        display: inline;
        z-index: 2;
    }

    div.mail span {
        background-color: white;
        line-height: 20px;
    }

    div.mail a {
        text-decoration: none;
        color: black;
        font-size: 12px;
    }

    label.on, label.off, input#on, input#off, span#or {
        display: inline;
    }

    input[type=radio] {
        position:absolute;
        left: -9999px;
    }

    input[type=checkbox] + label {
        font-weight: normal;
    }

    input[type=radio]:checked + label {
        font-weight: bold;
    }

    label {
        line-height: 20px;
        background-color: white;
        cursor: pointer;
        font-size: 12px;
    }

    label.off {
        margin-right: 5px;
    }

    span#or {
        color: white;
    }

    #off:checked ~ .content.portfolio {
        background-color: #888787;
        background-image: none;
    }

    #off:checked ~ .content.portfolio a {
        box-shadow: none;
    }

    div.main.portfolio {
        text-align: right;
        /* background-color: #888787; */
    }

    .content.portfolio {
        margin-top: -21px;
        padding-top: 21px;
    }


    #buna {
        margin-left: 25%;
        width: 50%;
    }

    #first {
        margin-top: 0;
    }

    .quarter.hello {
        color: black;
        height: 100%;
        margin-bottom: 4rem;
    }

    div#home {
        left: -9999px;
    }

    .content .desc {
        background: none;
    }

    /* animate branch energy */
    #branch-animated {
        -webkit-animation: linear infinite;
        -webkit-animation-name: run;
        -webkit-animation-duration: 10s;
    }
    @-webkit-keyframes run {
        0% {
          left: 0;
        }
        50% {
          left: calc(100% - 12vw);
         }
        100% {
          left: 0;
        }
    }

    #branch-energy div.image img {
        max-width: 400px;
    }

}
