/* *{
    box-sizing: border-box;
    border:2px solid red;
} */

body,html{
    height:100%;
    margin:0;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

body{
    background-image:url("../img/grid_pattern.png");
    background-repeat: repeat;
    background-size:500px;
}

nav{
    background-color: black;
    position: sticky;
    top:0;
    padding:10px;
    text-align:right;
    word-spacing: 20px;
}

nav a{
    color:white;
    text-decoration:none;
    padding:5px 10px;
    border-radius:5px;
}

nav a:hover{
    color:rgb(0, 0, 0);
    background-color:rgb(255, 255, 255);
    box-shadow: 0px 0px 5px 0px white;
}

.background{
    z-index: -2;
    position:fixed;}
.background.a{
    top:50px;
    left:0px;
}
.background img{
    width:60%;
    object-fit:cover;
}

.portrait{
    z-index:-1;
    position:fixed;
    left:0px;
    bottom:0px;
    max-width:45%;
    object-fit:cover;
}


main{
    /* padding:20px;
    z-index:2; */
      min-height: calc(100vh - 48px);
      display: grid;
      align-items: center;
      gap: 24px;
      padding: 24px;
}

section{
    position:fixed;
    top:10em;
    right:20%;
    text-align:center;
    max-width:420px;
    justify-self:center;
    width:fit-content;
}

.resume{
    border: 2px solid black;
    border-radius:10px;
    width: fit-content;
    padding: 6px 10px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 6px;   
}

.resume:hover{
    background-color: white;
    cursor: pointer;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.242);
}

.icons{
    justify-content: center;
    display: flex;
    gap: 20px;
    margin-top:20px;
}

.icons img:hover{
    cursor: pointer;
}


section h2{
    margin:0;
    padding:0;
    font-size: 2.5em;
    color:darkblue;
    margin-bottom:40px;
}
section p{
    margin: 12px 0 0;
    font-size: 1.8em;
    color: black;
}

section.b{
    position:fixed;
    top:90%;
    right:14%;
    background-color:rgb(164, 164, 239);
    border-radius: 10px 10px 0px 0px;
    z-index:4
}
section.b:hover,.c:hover,.d:hover{
    top:80%;
    height:300px;
}

section.c{
    position:fixed;
    top:90%;
    right:9%;
    background-color:rgb(104, 211, 115);
    border-radius: 10px 10px 0px 0px;
    z-index:3;
}

section.d{
    position:fixed;
    top:90%;
    right:1%;
    background-color:rgb(201, 116, 211);
    border-radius: 10px 10px 0px 0px;
    z-index:2;
}

section.b,.c,.d{
    box-shadow: 2px -2px 6px 2px rgba(0, 0, 0, 0.242);
    padding:10px;
}
section.b h2,.c h2,.d h2{
    font-size:1.5em;
    font-family:verdana;
    color:whitesmoke;
}



