:root {
    --light: rgb(205, 205, 205);
    --accent: rgb(246, 255, 238);
    /* --light: rgba(200,255,184);
    --accent: rgba(249,255,0,1); */
    --dark: #3eff2c;
    --alternative: #959595;

    --light_0: rgba(226,226,226,0)
  }

body{
    margin: 0;
    cursor: url(img/cursor_auto.png) 20 20, auto;
    -webkit-text-size-adjust: 100%;
    background-color: var(--light);
}

/* Tipography */

h1{
    font-family: 'Arimo';
    font-size: 24px;
    font-weight: 400;
    line-height: 0.8;
    margin: 0px 0px -5px 0px; 
}

h2{
    font-family: 'Texturina';
    font-size: 35px;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1.1;
    margin: 80px 0 20px 0;
    max-width: 800px;
}

h3{
    font-family: 'Arimo';
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    opacity: 1;
    transition: margin 0.3s, filter 0.4s linear 1s, opacity 0.4s linear 1s;
}

h4{
    font-family: 'Arimo';
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 1.1;
    margin: 0;
    opacity: 1;
    transition: filter 0.4s, opacity 0.8s;
}

h6{
    font-family: 'Texturina';
    font-size: 21px;
    line-height: 1.1;
    max-width: 800px;
    font-weight: 300;
    margin: 0;
}

p{
    font-family: 'Arimo';
    font-size: 15px;
    line-height: 1.18;
    max-width: 800px;
}

a{
    filter: blur(0px);
    transition: filter 2s, color 0.5s;
    color: inherit;
    text-decoration: none;
    cursor: url(img/cursor_pointer.png) 20 20, pointer;
}

a:hover{
    filter: blur(3px);
    color: var(--dark)
}

p a{
    text-decoration:underline;
}

button{
    padding: 6px 12px 6px 12px;
    border: none;
    background-color: var(--accent);
    color: var(--light);
    border-radius: 20px;
    transition: all 0.5s;
    cursor: url(img/cursor_pointer.png) 20 20, pointer;
}
button:hover{
    background-color: var(--dark);
    color: var(--alternative)
}

/* Backgrounds */

#header-content{
    color: var(--accent);
    position: fixed;
    /* height: 30px; */
    width: 100%;
    top: 0px;
    z-index: 3;
    border-width: 0 0 1px 0;
    border-color: var(--accent);
    border-style: solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0 5px 0;
}

#header-name{
    padding: 0 0 0 10px;
    display: flex;
    gap: 10px;
}

#header-logo{
    height: 18px;
}

#header-contacts{
    color: var(--accent);
    padding: 0 10px 0 0;
}

#header-gradient{
    background-image: linear-gradient(to top, var(--light_0), var(--light));
    width: 100%;
    height: 110px;
    position: fixed;
    top: 0;
    z-index: 2;
}

#myimage{
    width: 100%;
    position: fixed;
    top: 170px;
    display: flex;
    justify-content: center;
    z-index: 0;
    mix-blend-mode: darken;
}

#myimage_inner{
    height: 120px;
    width: 120px;
    background-color: var(--alternative);
    background-image: url(img/fe-simeoni.gif);
    background-size: cover;
    z-index: 0;
}

.row{
    border-width: 0 0 1px 0;
    border-style: solid;
    display: flex;
    align-items: baseline;
    gap: 5px;
    padding: 5px 0 5px 0;
    /* width: 100%; */
}

#projects{
    color: var(--accent);
    margin: 150px 12px 150px 12px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#p_inner{
    /* width: 100%; */
    margin: 0 0 10px 0;
}

.subtitle{
    margin: 0 0 20px 0;
}

#gradient{
    background-image: linear-gradient(to bottom, var(--light_0), var(--accent));
    margin: 0;
    height: 100px;
}

#experiences{
    background-color: var(--accent);
    color: var(--light);
    padding: 150px 12px 150px 12px;
    
}

#intro{
    color: var(--accent);
    margin: 100px 12px 0 12px;
    padding: 12px 0 12px 0;
    border-width: 0 0 1px 0;
    border-style: solid;
}

#article{
    padding: 12px;
    color: var(--accent);
}

#content{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
    color: var(--accent);
    align-items: flex-start;
}

.content-image{
    border-radius: 3px;
    max-width: 750px;
}

.small-image{
    max-width: 500px;
}

.border-image{
    border: gray;
    border-width: 0.25;
    border-style: solid;
}

video{
    margin-bottom: 12px;
    max-width: 1080px;
}

#footer{
    background-color: var(--accent);
    color: var(--light);
    padding: 12px;
    margin: 0;
    clear: both;
}

@media only screen and (min-width: 801px) {
    #p_inner{
        width: 100%;
    }
}

@media only screen and (max-width: 1024px) {
    .small-image{
        max-width: 1024px;
    }

    p{
        max-width: 1024px;
    }
}

@media only screen and (max-width: 800px) {
    h1, h3{
        font-size: 24px;
    }
    
    h2{
        font-size: 36px;
    }
    
    h4{
        font-size: 12px;
    }
    
    h6{
        font-size: 21px;
    }
    
    p{
        font-size: 15px;
    }

    #header-content{
        padding: 8px 0 8px 0;
    }

    #header-logo{
        height: 18px;
    }
}

