
: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(--color4);
}


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(--color4);
}
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%;
    font-size: 1.6em;
    font-weight: bolder;
    grid-area: 2/1/3/2; 

    display: block;
    
}

imgtitle {
    font-weight: bolder;
}

.container {
    display: grid;
    grid-template-rows: auto auto 1fr auto ;
    grid-template-columns: 1fr;
    /* grid-template-areas:
    "nav nav nav nav nav"
    "s1 s1 s1 s1 s1"
    "s2 s2 s2 s2 s2"
    "s3 s3 s3 s3 s3"
    "s4 s4 s4 s4 s4"
    /* "s5 s5 s5 s5 s5" */
    /* "ft ft ft ft ft"
    ; */ 

}

nav {


    background: var(--color2);
    grid-area: 1 / 1 / 1 / 4;
    

}
header img {
    height: 300px;
}
nav p {
      /* border: 5px, solid, var(--color6); */
      padding-left: 50px;
}
.sub {
      padding: 20px;
    /*background: var(--color1);*/
    
    

    animation-duration: 3s;
    animation-name: trans;
    display: inline-flex;
    justify-content: space-evenly;
    animation-fill-mode: forwards;
}
.section1 {
    padding: 20px;
    
    /*background: var(--color1);*/
    grid-area: 2 / 1 / 2 / 4;
    display: block;

}

/* .section1 p {
  padding-left: 25px;
} */
.section2 {
  padding: 20px;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  grid-area: 3/ 1 / 3 / 4;
  border-radius: 50px;
  display: flex;
  flex-wrap: wrap;
    

}
.section2 img {
  margin: 10px 0 20px 20px;  
  max-width: 400px;
  border-radius: 25px;
  border: 5px, solid, var(--color3);
  transition: border-color 0.3s;
  
}

.section2 img:hover {
    border-color: var(--color4);
}


footer {
    padding: 20px;

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



