@charset "UTF-8";


:root {
    --animation-time: .1s;
    --panel-color: linear-gradient(#131385 0%,#0e0e5a85 100%);
    --blur-amount: blur(4px);
    --text-color: #ffffff99;
    --text-color-hover: #ffffffff;
    --radius: 20px;

}

* {

    color: var(--text-color);
    padding: 0;
    margin: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', 'Calibri', 'Trebuchet MS',  'sans-serif';
    transition: none;
   
}

body {
    display: flex;
    background-color: black;
}

h1 {
    font-size: 36px;
    font-weight: 600;
}

header {   /* container for static header */
    background-color: #000000bb;
    -webkit-backdrop-filter: var(--blur-amount);
    backdrop-filter: var(--blur-amount);
    display: flex;
    height: 55px;
    width: 100%;
    position: fixed;
    justify-content: center;
    z-index: 2;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #2e2e2e36
}

nav {
    margin-top: 5px;
}

li {
    list-style-type: none;
    display: inline;
}


#contact a img {
    width: 50px;
    height: 50px;
    opacity: 0.4;
    margin: 4px;
    transition: all var(--animation-time) ; 
    border-style: solid;
    border-radius: var(--radius);
    border-width: 0px 2px 2px 0px;
    border-color: #64636e91
}

nav ul li {
    display: inline;
    padding: 10px;
    font-size: 24px;
    font-weight: 100;
}

a {
    text-decoration: none;
}

nav a:hover {

    color: var(--text-color-hover);
}

nav a:active {
    color: #f8ff9d;
}

main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;    
    padding: 20px;
    padding-top: 70px;
}

header section {
    display: flex;
    flex-wrap: wrap;
    flex: 1 0 auto;
    padding: 10px 20px 20px 20px;
    overflow: auto;  
}

.justifiedRight {
    justify-content: flex-end;
}
main section.margin {
    flex-grow: 1;

}
main section.container {
    display: flex;
    justify-content: flex-end;
    margin: 0%;
   
}


main section#left { /* left column of content */
    display: flex;
    flex-flow: column;
    max-width: 55%;
    justify-content: flex-start;
    margin-right: 10px;
    margin-top: 20px;
}


main section#right {  /* right column of content */
    display: flex;
    flex-flow: column;
    width: 38%;
    justify-content: flex-start;
}

main section#project-panel { /* blue sectiop */
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    max-width: 600px;
    background-image: var(--panel-color);
    background-attachment: fixed;
    margin-left: 1%;
    padding: 10px;
    border-style: solid;
    border-width: 0px 1px 1px 0px;
    border-color: #363685be;
}

main section {
    display: flex;
    border-radius: var(--radius);
    margin-bottom: 20px;
    
}

main section div#photo {
    aspect-ratio: 4/2.5;
    background-image: url("../images/photo2.jpg");
    background-size: 100%;
    background-attachment: initial;

}


main section div {
    display: flex;
    border-radius: var(--radius);
    flex: 0 1 auto;
    font-size: 120%;
    font-weight: 200;
 
    background-image: linear-gradient(#2b2b2b 60%, #111111 100%);
    background-attachment: fixed;
    padding: 4%;
    margin: 0%;
    margin-top: 2%;

  
    transition: all var(--animation-time);     
    border-style: solid;
    border-width: 0px 1px 1px 0px;
    border-color: #46464671;
}

main section div:hover {
    margin-left: -1%;
    margin-top: 1%;
    margin-bottom: -1%;
    margin-right: -1%;
    padding: 5%;
    z-index: 1;
    transition: all var(--animation-time); 
    box-shadow: 2px 2px 10px black;
}

#info {
    width: 80%;
}


#contact a:hover img {
    opacity: .6;
}

#contact a:hover span {
    color: var(--text-color-hover);
}

#contact div {
    padding: 0px;
    border: none;
    
}

#contact div:hover {
   box-shadow: none;
    
}


#contact:hover div {
    padding: 0px;
    left: 0;
    top: 0;
    margin: 0;
}

#contact a {
    display:flex;

}
#contact:hover img {
    height: 60px;
    width: 60px;
    transition: all var(--animation-time) ; 
}
#contact .url {

    display: none;
    padding-left: 12px ;
    text-indent: -12px ;
    
}

#contact:hover .url {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 20px;
    font-size: 100%;
}

#contact:hover {
    display: flex;
    flex-direction: column;
}


a#contact-anchor {
    display: block;
    position: relative;
    top: -50px;
    visibility: hidden;
}

.project {
    position: relative;
    border-radius: var(--radius);
    background-color: #6e6e6e33;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 400px;
    width: 42%;
    margin-left: 2%;
    margin-right: 2%;
    margin-top: 2%;
    margin-bottom: 2%;
    left: 0px;
    top: 0px; 
    min-width: calc(200px + 0%);
    padding-right: 0%;
    padding-top: 5%;
    flex-grow: 1;
    font-size: 100%;
    font-weight: 100;
    border-style: solid;
    border-width: 0px 1px 1px 0px;
    border-color: #70707038 ;
    transition: all var(--animation-time) ; 
    transition: min-width none;
}

 .project:hover {  
    background-color: #32426e99;
    -webkit-backdrop-filter: var(--blur-amount);
    backdrop-filter: var(--blur-amount);
    min-width: calc(200px + 10%);
    margin-left: -2%;
    margin-right: -4%;
    margin-top: -2%;
    margin-bottom:-4%;
    left: -18px;
    top: -10px; 
    width: 52%;
    height: 440px;
    z-index: 1;
    box-shadow: 2px 2px 10px black;
} 

.project:active {
    background-color: #f5ff9f77;
    transition: none;
}

h2 {
    transition: all var(--animation-time);
    display: inline;
    text-align: center;
    width: 100%;
    font-size: 30px;
    font-weight: 500;
    color: var(--text-color);
    
}

.project:hover h2{
    color: var(--text-color-hover);
}



.project p {
    color: var(--text-color);
    position: relative;
    left: 10%;
    text-align: center;
    height: 100%;
    transition: all var(--animation-time);
    width: 80%;
}

.project div {
    background-image: none;
    border-style: none;
}

.project:hover p {
    transition: all var(--animation-time);
    width: 66%;
    left: 16%;
    color: var(--text-color-hover);
    
}

.project:hover div {
    box-shadow: none;
}

.project img {
    width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: contain;
    margin-bottom: 0px;
    transition: all var(--animation-time);
    opacity: .5;
}
.project:hover img {
    opacity: 1;

}

@media only screen and (max-height: 450px) { /* phone portrait mode */

    header {
        height: 40px;  
    }
    h1 {
        font-size: 20px;
    }
    nav ul li {
        font-size: 16px;
    }
    nav {
        margin-top: 0;
    }
    main {
        padding-top: 20px;
    }
}


@media only screen and (max-width: 850px) { /* tablet and small monitors */
    main {
        padding-top: 20px;
    }



    main section div:hover {
        margin: 0%;
        margin-top: 2%;
        padding: 4%;
        

    }

    main section#project-panel  {
        max-width: 100%;
    }

    main section#right {
        width: 100%;
    }

    main section#left {
        width: 100%;
        max-width: 100%;
    }

    .project:hover {
        height: 400px;
        margin: 2%;
        left: 0px;
        top: 0px;
        width: 42%;
        min-width: 220px;
    } 
    .project:hover p {
        left: 10%;
         width: 80%;
        
    }
    .project:hover h2 {
        transition: all var(--animation-time);
        font-size: 30px;
    }

    #info {
        width: 100%;
    }


 
    #contact {
        width: 100%;
        justify-content: center;
    }
    #contact:hover .url {
        display: none;
    }
    #contact:hover {
        flex-direction: row;
    }
    #contact:hover img {
        height: 50px;
        width: 50px;
       
   
    }
  



   
}

@media only screen and (max-width: 635px) { /* Phone screen */

    header {
        display: block;
        height: 70px;
    }
 
    nav ul li {
        font-size:15px; 
    }
    header section {
        padding: 0;
        justify-content: center;
    }
    section.justifiedRight {
        justify-content: center;
    }

    main section div:hover{
        margin-top: 4%;
    }
    main section div{
        margin-top: 4%;
    }
}