
:root {
    font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    line-height: 1.5;
    font-weight: 400;

    color-scheme: light dark;
    color: #E4E0BA;
    /* background-color: #33161b; */
    /* background-color: #39283d; */
    
    /* --color1: #662e37;
    --color2: #aa243a;
    --color3: #d42341;
    --color4: #f56e84;
    --color5: #f3c0c9;
    --color6: #91221b;
    --color7: #ec993a;
    --color8: #e7e7b9; */
    --color1: #9a6dce;
    --color2: #4d3255;
    --color3: #91eafa;
    --color4: #fff9c7;
    --color5: #ffe4f3;
    --color6: #1b5891;
    --color7: rgb(21, 94, 122);
    --color8: #000000;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    font-weight: 500;
    color: var(--color3);
    text-decoration: inherit;
}
a:hover {
    color: var(--color7);
}


button {
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 0.6em 1.2em;
    font-size: 1em;
    font-weight: 500;
    font-family: inherit;
    background-color: var(--color7);
    cursor: pointer;
    transition: border-color 0.25s;
}

button:hover {
    padding: 0.4em 1.1em;
    border: 4px, solid;
    border-color: var(--color8);
}
button:focus,
button:focus-visible {
    outline: 5px auto -webkit-focus-ring-color;
}

html, body {
    width: 100%;
    height: 100%;
}
body {
    
    margin: 0;
    
    height: 100%;
    display: grid;
    padding: 0;
    min-width: 320px;
    min-height: 100vh;
    grid-template-rows: auto 1fr auto;


}
body {
    background-image: url(/portfolio/textura.webp);
    background-color: #cccccc;
}
h1 {
    font-size: 4em;
    margin: 0;
    margin-bottom: -20px;

}
h3 {
    
    margin-bottom: -20px;
    padding-bottom: 20px;
}


header {
    /* background: var(--color2); */
    grid-area: 1/1/2/2;
    text-align: center;
}


header p {
    margin-top: 0;
    font-size: 1.2em;
    font-family: monospace;
    text-decoration: underline;
}
main {
    color: var(--color8);
    width: 100%;

    grid-area: 2/1/3/2; 

    display: block;
    
}


nav {
      /* border: 5px, solid, var(--color6); */
      padding-left: 50px;
      padding-top: 20px;
}

h1 {
    margin-bottom: -20px;
    padding-bottom: -10px;
    font-size: 4em;

}
h3 {

    margin: 0;
    padding-bottom: 20px;
}




.inv {
display: none;
}

.vis {
  display: block;
  margin: 0;
  padding: 0;
  justify-content: center;
  text-align: center;
}

.cbg {
  display: block;
  position: fixed;
  z-index: 5;
  top: 25px; left: 25px;
}

img {
  max-width: 100%;
  
}

.img {
  max-width: 450px;
  
}


.image {
  display: flex;
  border-radius: 25px;
  height: 190px;
  width: fit-content;
  max-height:fit-content;
  max-width:fit-content;
  min-width:fit-content;
  border: 5px solid var(--color3);
  overflow:hidden;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.image:hover {
    border: 5px solid var(--color7);
}


.post .image-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap:15px;
    
    justify-content: space-evenly;

    margin-bottom: 50px;
}

.post .image-container .image {
      justify-self:center;
    align-self:center;
    min-width: 280px;
    min-height: 180px;

}
.post .image-container .image img{
max-height:250px;
max-width:350;
object-fit: cover;
transition: .2s linear;

}

.post .image-container .image:hover img{
transform: scale(1.1);
}

.post .popup-image {
position: fixed;
top:0; left:0;
background: rgba(0,0,0,.9);
height:100%;
width:100%;
z-index: 100;
display: none;
}

.post .popup-image span{
position: absolute;
top:0; right:10px;
font-size:40px;
font-weight: bolder;
color: #e7522d;
cursor: pointer;
z-index: 100;
}

.post  .popup-image img{
position: absolute;
top:50%; left:50%;
transform: translate(-50%, -50%);
border:5px solid #e99432;
border-radius: 5px;
width: 90%;
object-fit: cover;
}



.prev {

margin: 10px;
position: fixed;
bottom: 2%; left: 15%;
padding: 5px;
background-color: #ffe791;
color: #ed7e22;
font-weight: bolder;
font-size: 2em;
border: 5px solid #e4b96c;
border-radius: 15px;
z-index: 5;
}
.next {

margin: 10px;
position: absolute;
bottom:2%; right: 15%;
padding: 5px;
background-color: #ffe791;
color: #ed7e22;
font-weight: bolder;
font-size: 2em;
border: 5px solid #e4b96c;
border-radius: 15px;
z-index: 5;
}

/* aaaaaaaaa */

.post2 .image-container2{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap:15px;
    
    justify-content: space-evenly;

    margin-bottom: 50px;
}

.post2 .image-container2 .image {
    justify-self:center;
    align-self:center;
    min-width: fit-content;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    

}
.post2 .image-container2 .image img{
    height: 200px;
    text-align: center;
    align-items: center;
    justify-content: center;
    

transition: .2s linear;

}

.post2 .image-container2 .image:hover img{

    transform: scale(1.1);
}

.post2 .popup-image2 {
position: fixed;
top:0; left:0;
background: rgba(0,0,0,.9);
height:100%;
width:100%;
z-index: 100;
display: none;
}

.post2 .popup-image2 span{
position: absolute;
top:0; right:10px;
font-size:40px;
font-weight: bolder;
color: #e7522d;
cursor: pointer;
z-index: 100;
}

.post2  .popup-image2 img{
position: absolute;
top:50%; left:50%;
transform: translate(-50%, -50%);
border:5px solid #e99432;
border-radius: 5px;
width: 750px;
object-fit: cover;
}


.prev2 {

margin: 10px;
position: fixed;
bottom: 2%; left: 15%;
padding: 5px;
background-color: #ffe791;
color: #ed7e22;
font-weight: bolder;
font-size: 2em;
border: 5px solid #e4b96c;
border-radius: 15px;
z-index: 5;
}
.next2 {

margin: 10px;
position: absolute;
bottom:2%; right: 15%;
padding: 5px;
background-color: #ffe791;
color: #ed7e22;
font-weight: bolder;
font-size: 2em;
border: 5px solid #e4b96c;
border-radius: 15px;
z-index: 5;
}

footer {
    padding: 20px;

    grid-area: 3 / 1 / 4 / 2;
    background-color: var(--color2);
    text-align: center;
    margin-bottom: 0;
    bottom: 0px;
}


