
@import url('https://fonts.googleapis.com/css2?family=Nova+Cut&display=swap'); /*allows use of the nova cut font*/

:root{
    --primary: #000000b9;
    --secondary: rgb(170, 124, 255);
    --tertiary: #03cf8b;
}

html{
    scroll-behavior: smooth; /* when autoscrolling, movement is smooth*/
}


body{
    background-image: url("../images/arcade.jpg");
    background-color: rgb(0,0,0);
    background-attachment: fixed;
    background-size: cover;
    background-position: 50% 0%;
    background-repeat: repeat;
    margin-top: 0px;
}

h1{
    color: var(--secondary);
    text-align: center;
    font-family: 'Nova Cut', sans-serif;
    font-size: 60px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

h2{
    color: var(--secondary);
    text-align: center;
    font-family: 'Nova Cut', sans-serif;
    font-size: 40px;
}

h3{
    color: var(--secondary);
    text-align: left;
    font-family: 'Nova Cut', sans-serif;
    font-size: 25px;
    margin-top: 10px;
    margin-bottom: 10px;

}

h4{
    margin-top: 10px;
    margin-bottom: 10px;
    color: var(--primary);
    text-align: left;
    font-family: 'Nova Cut', sans-serif;
    font-size: 15px;

}

p{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

a{
    font-size: 16px;
}

a:link{
    color: #03cf8b;
}
a:visited{
    color: #007950;
}
a:hover{
    color: #36ffbc;
}

div.mainPannel{
    position: absolute;
    left: 50%;
    margin-left: -25%;
    background-color:var(--primary);
	width: 50%;
	min-height: auto;
    overflow: hidden;
    
}

.section{
    padding:10px 20px;
    border-bottom: 1px solid var(--tertiary);
}







div.projectBlock{
    
    border-radius: 5px;
    background-color: var(--tertiary);
    margin: 15px;
    padding: 10px;
    display: flex; 
    column-width: 15px;
    column-gap: 10px;
    transition: transform 0.1s ease;
    cursor: pointer;
}

div.projectBlock img{
    max-width: 40%;
    height: auto;
    object-fit: contain;
}

div.projectBlock div{
    width:fit-content
}

div.projectBlock p{
    margin-right: 10px;
}

div.projectBlock:hover{
     transform: scale(1.03);
}






.contact-block{
    background-color: 
    var(--primary);
}

.contact-block p{
    color:var(--tertiary); 
    text-align: center;
    margin: 10px
}

.contact-block h2{
    margin-bottom: 0px;
}

.navbar{
    background-color: rgba(0,0,0,0);
    padding: 12px 20px;
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    gap: 10px;
    position: sticky;
    top:0;
    z-index: 1000;
}

.navbutton{
    background-color: var(--secondary);
    color:var(--tertiary);
    border:none;
    padding: 10px 18px;
    font-size: 16px;
    border-radius: 5px;
    cursor:pointer; /*this makes the cursor change when thate mouse is over this element*/
    text-decoration:none;
    transition: background-color 0.3s, transform 0.1s ease; /*smooths style transitions*/
}

/*Changes style on hover*/
.navbutton:hover{
    background-color: var(--tertiary);
    color: var(--secondary);
}
/*Changes style while clicked (mouse is down)*/
.navbutton:active{
    background-color: rgb(116, 37, 190);
    color: white;
    transform: scale(0.95); /*shrinks element slightly*/
}





@media (max-width: 1100px) {
    div.projectBlock {
    flex-wrap: wrap;
  }
  div.projectBlock div{
    margin-left:10px;
  }
  div.projectBlock img{
    max-width: 100%;
  }
}



@media (max-width: 680px){
    div.mainPannel{
        left:0%;
        margin-left: 0%;
        width: 100%;
    }
}