@import url('https://fonts.googleapis.com/css?family=Quicksand:500');

* {
    box-sizing: border-box;
}



html {
    overflow: scroll;
    overflow-x: hidden;
    scrollbar-width: none;
}

::-webkit-scrollbar {
    width: 0px;
    /* Remove scrollbar space */
    background: transparent;
    /* Optional: just make scrollbar invisible */
}

body {
    background-image: url(../images/background/stripe_1_5_45_grey_bckgrnd.png);
    display: -webkit-box;
    min-height: 100%;
    display: block;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


@media only screen and (min-width: 1200px) {
    /* styles for wide screens */
}

@media only screen and (max-width: 320px) {
    /* styles for narrow screens */
}

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min--moz-device-pixel-ratio: 2),
only screen and (-moz-min-device-pixel-ratio: 2),
only screen and (-o-min-device-pixel-ratio: 2/1),
only screen and (min-device-pixel-ratio: 2),
only screen and (min-resolution: 192dpi),
only screen and (min-resolution: 2dppx) { 
    /* styles for Retina-type displays */
}


 /*
.button {
  position: fixed;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: dimgrey;
  padding: 1em 2em;
  border: none;
  color: white;
  font-size: 1.2em;
  cursor: pointer;
  outline: none;
  overflow: hidden;
}
.button span {
  position: relative;
  pointer-events: none;
}
.button::before {
  --size: 0;
  content: '';
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(circle closest-side, #4405f7, transparent);
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transition: width .2s ease, height .2s ease;
  transition: width .2s ease, height .2s ease;
}
.button:hover::before {
  --size: 400px;
}

*/

.topodireito {
    flex-shrink: 0;
    /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
    position: fixed;
    display:flex;
    justify-content: right;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 5px;
    margin: 30px;
    right: 0;
    cursor: pointer;
    transition: .5s;
    text-decoration: none;
    z-index: 999;
}

.topodireito li {
    list-style-type: none;
}

.topodireito li a {
    text-align: right;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: .8em;
    color: dimgrey;

}

.navegacao {
    margin: 0 auto;
    width: 500px;
    overflow: hidden;
}


.navegacao ul li a {
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: .9em;
    color: dimgrey;


}

.navegacao li:hover {
    background: rgba(255, 255, 255, 0.5);
    border: 1px dashed rgba(0, 0, 0, 0.3);
}

#parabaixo {
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    font-size: 3em;
}

#parabaixo a {
    text-decoration: none;
    color: rgba(1, 1, 1, .4);
}

.topoesquerdo {
    flex-shrink: 0;
    /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
    position: fixed;
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 10px;
    margin: 20px;
    font-family: 'Quicksand', sans-serif;
    font-size: .8em;
    color: dimgrey;
    cursor: pointer;
    transition: .5s;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    text-align: right;

}

.topoesquerdo:hover {
    background: rgba(255, 255, 255, 0.5);
    border: 1px dashed rgba(0, 0, 0, 0.3);
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow: hidden;
    transition: .75s;
    transition: 0.5s;
}


.overlay-content {
    position: relative;
    display: flex;
    top: 40%;
    transform: translate(0px, -50%);
    padding: 5%;
    margin: 0 auto;
    height: 75%;
    background: rgba(255, 255, 255);
}

.overlay-content:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../images/background/stripe_1_5_-45_grey_bckgrnd.png);
    width: 100%;
    height: 100%;
    opacity: .5;
    z-index: -1;
}

.margem {
    padding: 50px;
    height: 100%;
    overflow-y:scroll;
}

.margemptf {
    padding: 60px;
    height: 100%;
    overflow-y:hidden;
}

.margemtop {
    display: inline-block;
    padding-top: 30vh;
    padding-bottom: 50vh;
    height: 50%;
    width: 100%;
    overflow-y: hidden;
    margin-left: auto;
    margin-right: auto;

}

.read-more-state {
    display: none;
}

.read-more-target {
    opacity: 0;
    max-height: 0;
    font-size: 0;
    transition: .25s ease;
}

.read-more-state:checked ~ .read-more-wrap .read-more-target {
    opacity: 1;
    font-size: inherit;
    max-height: 999em;
}

.read-more-state ~ .read-more-trigger:before {
    content: '+';
    font-size: 1.8em;
}

.read-more-state:checked ~ .read-more-trigger:before {
    content: '-';
    font-size: 2.5em;

}

.read-more-trigger {
    cursor: pointer;
    position: relative;
    padding: 0 .5em;
    right: 0%;
    color: #666;
    font-size: .9em;
    border: 0px auto;
    margin: 0 auto;
    z-index: 1;
}


.img-p {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    display: table;
    margin: 0 auto;
    max-width: 85%;
    padding: 5px;
    box-shadow: 0;
    border-radius: 0;
    opacity: 1;
    background: transparent;
    box-shadow: none;
}

p {
    text-indent: 0em;
}

ul {
    list-style: lower-latin;
    text-indent: 0em;
}

img {
    max-width: inherit;
}

.imagemperfil {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 25vw;
    max-width: 40vw;
    margin-bottom: 0;
}

.alinhadodireita {
    text-align: right;
}

.texto {
    text-align: justify;
    font-family: 'Quicksand', sans-serif;
    font-size: .8em;
    line-height: 1.25em;
    overflow: hidden;
    padding-bottom: 2em;
}

.texto h1 {
    column-span: all;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 2em;
    margin-bottom: 0.1em;
    margin-top: 0.1em;
    color: #666;
}

.texto h2 {
    column-span: all;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5em;
    margin-bottom: 0.3em;
    margin-top: 0.3em;
    color: #666;
}

.texto h3 {
    column-span: all;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.25em;
    margin-bottom: 0.3em;
    margin-top: 0.5em;
    color: #666;
}

.texto a {
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: .9em;
    color: dimgrey;
}

.texto strong {
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 1em;
    color: dimgrey;
}

.overlay a {
    padding: .1em;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 1em;
    color: dimgrey;
    display: inline;
    transition: 0.3s;
    background-image: url(../images/background/stripe_1_5_-45_grey_bckgrnd.png);
    opacity: 1;
}

.return {
    font-family: 'Quicksand', sans-serif;
    font-size: .9em;
    color: dimgrey;
}


.overlay a:hover,
.overlay a:focus {
    color: black;
}

.overlay .closebtn {
    flex-shrink: 0;
    /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 10px;
    margin: 20px;
    font-family: 'Quicksand', sans-serif;
    font-size: .8em;
    color: dimgrey;
    cursor: pointer;
    transition: .5s;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    text-align: right;
}

.margem {
  scrollbar-width: thin;
} /* Firefox */

.margem::-webkit-scrollbar-track {
    -webkit-box-shadow: none;
    background-color: transparent;
}

.margem::-webkit-scrollbar {
    width: .2em;
    background-color: rgba(0, 0, 0, 0.1);
}

.margem::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
}



.centered {
    background: transparent;
    flex-shrink: 0;
    /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
    display: flex;
    position: fixed;
    text-align: center;
    top: 40%;
    left: 50%;
    padding: .7em;
    margin: 1em;
    border: 0px solid grey;
    transform: translate(-50%, 0);
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    border: none;
    transition: 1s;
}


.centered:hover span {
    display: none;
}

.centered:hover:before {
    content: "afonso's Portefolio";

}

.centered:hover {
    background: rgba(255, 255, 255, 0.75);
    border: 1px dashed rgba(0, 0, 0, 0.3);

}



#rightcorner {
    flex-shrink: 0;
    /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
    position: fixed;
    width: 90%;
    height: auto;
    text-align: right;
    bottom: 0%;
    right: 0%;
    padding: 5px;
    margin: 30px;
    border: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.8em;
    z-index: 99;
}

#rightcorner a {
    padding: 10px;
    background-color: none;
    text-decoration: none;
    color: black;
    transition: .5s;
}

#rightcorner a:hover {
    background: rgba(255, 255, 255, 0.5);
    border: 1px dashed rgba(0, 0, 0, 0.3);
}

#leftcorner {
    flex-shrink: 0;
    /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
    position: fixed;
    width: 100%;
    height: auto;
    text-align: left;
    bottom: 0%;
    right: 0%;
    padding: 5px;
    margin: 30px;
    border: 2px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.8em;
    z-index: 99;
}

#leftcorner a {
    padding: 10px;
    background-color: none;
    text-decoration: none;
    color: black;
    transition: .5s;
}

#rightcorner a:hover {
    background: rgba(255, 255, 255, 0.5);
    border: 1px dashed rgba(0, 0, 0, 0.3);
}

.textocoluna {
    display: inline-block;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: .80em;
    line-height: 1.25em;
    text-align: justify;
    column-count: 4;
    -webkit-column-width: 20em;
   -moz-column-width: 20em;
    column-width: 26em;
    column-gap: 1em;
    column-rule-style: none;
    white-space: normal;
}

.textocoluna h1 {
    column-span: all;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 1.75em;
    margin-bottom: 0.1em;
    margin-top: 0.1em;


}

.textocoluna h2 {
    column-span: all;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: .8em;
    margin-bottom: 1.1em;


}

.textocoluna h3 {
    column-span: all;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: .8em;
    margin-top: 1.1em;


}



.textocoluna a {
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 1em;
    color: dimgrey;
}
.imageptftop {
    float: left;
    max-width: 100%;
    margin-bottom: .5em;
}

.imageptfultima {
    float: left;
    max-width: 100%;
    margin-bottom: 1.5em;
}

.imageptf {
    display: inline-block;
    float: left;
    max-width: 50%;
    padding: 1vw;
}

.imageptfdown {
    display: inline-block;
    float: left;
    max-width: 100%;
    padding: 1vw;
}

.containerptf {
    height: 100%;
    width: 100%;

}
