html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

a{
    text-decoration: none;
    color: #000;
}


/* ---------- VARIABLES ---------- */


:root {
  --full_width: 85vw;
  --middle_width: 85vw;
  --small_width: 85vw;
}


/* ---------- TYPOGRAPHY ---------- */

::-moz-selection {
    color: #fff;
    background: #84E384;
}

::selection {
    color: #fff;
    background: #84E384;
}

/*
h1::-moz-selection,
h2::-moz-selection{
    color: #000;
    background: none;
    text-shadow: 4px 4px #84E384;
}

h1::selection,
h2::selection{
    color: #000;
    background: none;
    text-shadow: 4px 4px #84E384;
}
*/

.right{
    text-align: right;
}

.center{
    text-align: center;
}

@font-face {
  font-family: shapiro_55_wide;
  src: url(../fonts/PPMonumentExtended-Bold.otf);
/*  src: url(../fonts/Shapiro55_MiddleWide.otf);*/
}

@font-face {
  font-family: shapiro_65_wide;
  src: url(../fonts/PPMonumentExtended-Bold.otf);
/*  src: url(../fonts/Shapiro65_LightHeavyWide.otf);*/
}

@font-face {
  font-family: shapiro_65_extd;
  src: url(../fonts/PPMonumentExtended-Bold.otf);
/*  src: url(../fonts/Shapiro65_LightHeavyExtd.otf);*/
}

@font-face {
  font-family: space_grotesque;
  src: url(../fonts/SpaceGrotesk-Regular.otf);
}

@font-face {
  font-family: space_grotesque_Bold;
  src: url(../fonts/SpaceGrotesk-Bold.otf);
}

.underline {
  background-image: linear-gradient(#84E384, #84E384);
  background-repeat: no-repeat;
  background-size: 0% 0.35em;
  background-position: 0 70%;
  transition: background-size 0.2s ease-in-out;
}
.underline:hover {
  background-size: 100% 0.35em;
  color: #222222}
.underline:active {
  background-size: 100% 0.35em;}

.underlined {
  background-image: linear-gradient(#84E384, #84E384);
  background-repeat: no-repeat;
  background-size: 100% 0.35em;
  background-position: 0 70%;
  transition: background-size 0.2s ease-in-out;
}
.underlined:hover {
  background-size: 100% 1em;
  color: #222222}
.underlined:active {
  background-size: 100% 1em;}

.right{
    text-align: right;
}

h1{
    font-family: shapiro_65_extd;
    text-transform: uppercase;
    line-height: 0.85;
    font-size: max(32px, 7.75vw);
    color: #000;
}

h2{
    font-family: shapiro_65_extd;
    text-transform: uppercase;
    line-height: 1.1;
    font-size: max(18px, 3.4vw);
    color: #000;
}

h3{
    font-family: shapiro_65_wide;
    text-transform: uppercase;
    line-height: 1.1;
    font-size: max(15px, 1.5vw);
    color: #000;
}

h4{
    font-family: space_grotesque_Bold;
    line-height: 1.3;
    font-size: clamp(1.25rem, 2.5vw, 3rem);
    color: #000;
}

p{
    font-family: space_grotesque;
}

/*--------------------------------*/

body{
    background-color: #eae7e4;
    font-family: space_grotesque;
}

.ball{
    width: 50vw;
    height: 50vw;
    position: fixed;
    left: 4vw;
    top: 45vh;
    transform: translateY(-50%);
    z-index: -1;
    background-image: url(../img/ball.svg);
    background-size: cover;
}

main{
    width: var(--full_width);
    height: auto;
    padding-top: 25px;
    padding-bottom: 0px;
    margin: 0 auto;
    z-index: 1;
    
    display: grid;
    grid-template-areas: 
            "nv nv nv"
            "hd hd hd";
    grid-template-rows: 22px auto;
    grid-template-columns: 2fr 1fr 2fr;
}

header{
    /*    width: 80vw;*/
    width: var(--full_width);
    padding-top: 25px;
/*    padding-top: 80px; for web*/
/*    background-color: rgba(224, 220, 217, 0.42);*/
    margin: 0 auto;
    z-index: 1;
    
    display: grid;
    grid-template-areas: 
        "nv nv nv"
    grid-template-columns: 1fr 1fr 1fr;

}

/* ---------- NAVIGATION ---------- */

nav{
    width: var(--full_width);
    grid-area: nv;
    z-index: 30;
}

nav p{
    font-family: shapiro_55_wide;
    font-size: 16px;
    float: left;
    background-image: linear-gradient(#84E384, #84E384);
  background-repeat: no-repeat;
  background-size: 0% 0.35em;
  background-position: 0 70%;
  transition: background-size 0.2s ease-in-out;
}

nav p:hover {
  background-size: 100% 0.35em;
  color: #222222}
nav p:active {
  background-size: 100% 0.35em;}


.menu_btn{
    position: relative;
    width: 25px;
    height: 22px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    float: right;
/*    transform: translateX(-5px);*/
}

.menu_btn_burger{
    width: 12px;
    height: 3.5px;
    background: #000;
    transition: all .3s ease-in-out;
}

.menu_btn_burger::before{
    content: '';
    position: absolute;
    width: 20px;
    height: 3.5px;
    background: #000;
    transition: all .3s ease-in-out;
    transform: translate(5px, 9px);
}

.menu_btn_burger::after{
    content: '';
    position: absolute;
    width: 17px;
    height: 3.5px;
    background: #000;
    transition: all .3s ease-in-out;
    transform: translateY(18px);
}

.menu_btn.open .menu_btn_burger{
    transform: translateX(10px);
    background: transparent;
}

.menu_btn.open .menu_btn_burger:before{
    width: 25px;
    transform: rotate(45deg) translate(0px, 12px);
}

.menu_btn.open .menu_btn_burger:after{
    width: 25px;
    transform: rotate(-45deg) translate(-12px, 0px);
}

/* ---------- MENU_CONTENT ---------- */

.menu_box {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #EAE7E4;
}

.menu_content{
    width: var(--full_width);
    margin: 0 auto;
    margin-top: 35vh;
}
#home, #projects, #contact{
    font-family: shapiro_65_extd;
    text-transform: uppercase;
    line-height: 0.85;
    font-size: max(32px, 8vw);
    margin-bottom: 10px;
}
#home{
    text-align: left;
}
#projects{
    text-align: right;
}
#contact{
    text-align: center;
    transform: translateX(-30px);
}
.menu_nmbr{
    font-family: space_grotesque;
    font-size: 0.3em;
}


/* ---------- HEADER ---------- */

.headline{
    grid-area: hd;
    width: 100%;
    padding-top: 8vh;
    padding-bottom: 8vh;
    position: relative;
    transform-origin: top;
}

.play{
    grid-area: pl;
    display: none;
    grid-template-columns: 50px 1fr;
    column-gap: 0.7rem;
    align-items: center;
}

.play_ball {
    transform-origin: 50% 50%;
    transition: transform 400ms ease-out;
}

.icon {
    transform-origin: 50% 50%;
    transition: transform 200ms ease-out;
}

.play:hover .play_ball {
    transform: scale(0.9);
  }
.play:hover .icon {
    transform: scale(1.1);
  }

#play {
    float: left;
}

.play_txt{
    font-size: 0.9rem;
}

.arrow{
    grid-area: ar;
    text-align: center;
    align-content: center;
    
    display: none;
    align-items: center;
    justify-content: center;
}

.arrow a{
    height: 30px;
    width: 30px;
}

.arrow a img{
    transition: 200ms ease-out;
}
    
.arrow a:hover img{
    opacity: 0.5;
    transform: translateY(10px);
}

.arrow_mobile{
    width: var(--full_width);
    text-align: center;
    margin-top: 8vh;
}

.introduction{
    width: var(--middle_width);
    margin: 0 auto;
    margin-bottom: 110px;
    display: grid;
    grid-template-areas: 
        "hi hi hi"
        "sb sb sb";
    grid-template-columns: 1fr 1.1fr 0.9fr;
}

.introduction h2{
    grid-area: hi;
}

.introduction p{
    grid-area: sb;
    margin-top: 10px;
    font-family: space_grotesque;
    font-size: max(15px, 1.1vw);
    line-height: 1.2;
}


/* ---------- VINYL ---------- */


.vinyl{
    width: var(--small_width);
    height: calc(var(--small_width)/2 - 7.5px);
    margin: 0 auto;
    margin-bottom: 110px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.vinyl_rec{
    margin-bottom: 0px;
    position: relative;
}

.vinyl_txt{
    display: grid;
    align-content: center;
}

.vinyl_txt li{padding-bottom: 0.4rem;}

.vinyl_lnk{
    font-family: shapiro_65_wide;
    text-transform: uppercase;
    line-height: 1;
    font-size: max(13px, 1.1vw);
    color: #000;
}

.vinyl_sub{
    font-family: space_grotesque;
    font-size: max(11px, 1.1vw);
    line-height: 1.2;
    display: none;
}

.vinyl_sub:hover + .underline{
    background-size: 100% 0.35em;
  color: #222222
}

.vinyl_rec div:nth-child(1){ left: 10.64vw; top: 0px; z-index: 1; }
.vinyl_rec div:nth-child(2){ left: 7.98vw; top: 2.66vw; z-index: 2; }
.vinyl_rec div:nth-child(3){ left: 5.32vw; top: 5.32vw; z-index: 3; }
.vinyl_rec div:nth-child(4){ left: 2.66vw; top: 7.98vw; z-index: 4; }
.vinyl_rec div:nth-child(5){ left: 0px; top: 10.64vw; z-index: 5; }

b {
    width: 20%;
    height: 20%;
    position: absolute;
    top: calc((var(--small_width)/2 - 7.5px - 10.64vw)/2 - 10%);
    left: calc((var(--small_width)/2 - 7.5px - 10.64vw)/2 - 10%);
    z-index: 1;
    background: blue;
    box-shadow: 0 0 0px 2px black;
/*    padding: 5px;*/
    border-radius: 100%;
    transition: transform 0.7s, left 0.7s ease-out;
}

b::before {
    content: "";
    display: block;
    background: #111;
    overflow: hidden;
    height: calc(var(--small_width)/2 - 12.5px - 10.64vw);
    width: calc(var(--small_width)/2 - 12.5px - 10.64vw);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 50%;
}

b img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 100%;
}

b::after {
    content: "";
    display: block;
    background: #1c2831;
    overflow: hidden;
    height: 6px;
    width: 6px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -3px 0 0 -3px;
    border-radius: 100%;
}

.vinyl_rec div {
    display: block;
    width: calc(100% - 10.64vw);
    height: auto;
    position: absolute;
    left: 0;
    box-shadow: 1px 1px 10px rgba(0,0,0,0.4);
    border-radius: 5px;
    transition: all 0.7s;
    backface-visibility: hidden;
    transform-origin: left bottom;
}

.vinyl_rec div > img {
    display: block;
    position: relative;
    z-index: 2;
    border-radius: 5px;
}

.vinyl_wrap{
    width: auto;
    height: auto;
}

.open b {
    left: 20vw !important;
    transform: rotate(65deg);
}

.over {
    margin-bottom: 50px;
    transform-origin: 0 100%;
    transform: rotate(-10deg);   
}


/* ---------- SHOOT ME ---------- */


.shoot_me{
    width: var(--middle_width);
    margin: 0 auto;
    margin-bottom: 110px;
}


/* ---------- PROJECTS / CONTACT ---------- */


.projects_title{
    width: var(--full_width);
    margin: 0 auto;
    margin-top: 16vh;
    margin-bottom: 80px;
}
.projects_title h2{
    font-size: max(19px, 3.7vw);
    font-family: shapiro_65_wide;
}

.contact_title{
    width: var(--full_width);
    margin: 0 auto;
    margin-top: 16vh;
}
.contact_title h2{
    font-size: max(19px, 3.7vw);
    font-family: shapiro_65_wide;
}
.contact_title p{
    margin-top: 10px;
    font-family: space_grotesque;
    font-size: max(15px, 1.2vw);
    line-height: 1.2;
}

.showcase{
    width: var(--full_width);
    margin: 0 auto;
    display: grid;
    gap: 30px;
    grid-row-gap: 50px;
}

.showcase_item img{width: 100%;margin-bottom: 15px;}
.showcase p{font-size: max(14px, 1.1vw);}

.more_work{
    width: var(--full_width);
    margin: 0 auto;
    margin-top: 60px;
    margin-bottom: 110px;
}
.more_work h2{
    font-family: shapiro_65_wide;
    font-size: max(17px, 2vw);
    margin-bottom: 20px;
}

.more_item{
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    display: grid;
    grid-template-columns: 1fr 1fr;
    cursor: pointer;
}
.more_item:hover{
    opacity: 0.8;
}


/* ---------- SOLO PROJECTS ---------- */


.project_section{
    width: var(--full_width);
    margin: 0 auto;
    margin-top: 16vh;
    margin-bottom: 110px;
}

.project_section h4{
    margin-bottom: 40px;
}

.project_section p{
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 80px;
    column-count: 1;
    orphans: 3;
}

.project_img{
    margin-bottom: 80px;
}

.project_images{
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}


/* ---------- FOOTER ---------- */


footer{
    width: var(--full_width);
    margin: 0 auto;
    margin-bottom: 30px;
    text-align: left;
}
footer a{
    font-family: shapiro_55_wide;
    font-size: 14px;
    margin-right: 15px;
}
.contact_footer{
    position: fixed;
    left: 7.5vw;
    bottom: 0px;
}

.project_modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.project_modal_content {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 85%;
    max-height: 80%;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.project_modal_content,
#caption {
    animation-name: zoom;
    animation-duration: 0.2s;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.close_project:hover,
.close_project:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}



/* ---------- MEDIA QUERIES ---------- */

/* ---------- Bigger phones ---------- */
@media screen and (min-width: 480px) {
    :root {
        --full_width: 80vw;
        --middle_width: 80vw;
        --small_width: 80vw;
    }
    main{
        width: 80vw;
        height: calc(100vh - 160px);
        padding-top: 80px;
        padding-bottom: 80px;
        margin: 0 auto;
        z-index: 1;
    
        display: grid;
        grid-template-areas: 
            "nv nv nv"
            "hd hd hd"
            "pl ar .";
        grid-template-columns: 2fr 1fr 2fr;
        grid-template-rows: 22px auto 50px;
    }
    .introduction{
        margin-top: 100px;
        margin-bottom: 180px;
    }
    header{padding-top: 80px;}
    .play{display: grid;}
    .arrow{display: flex;}
    .arrow_mobile{display: none}
    .headline{padding-top: 16vh; padding-bottom: 0px;}
    .vinyl{
        margin-bottom: 180px;
    }
    .vinyl_sub{display: inline;}
    .shoot_me{
        margin-bottom: 180px;
    }
    .more_work{
        margin-top: 180px;
        margin-bottom: 220px;
    }
    .project_section{margin-bottom:180px;}
    footer{margin-bottom: 80px;}
    .contact_footer{left: 10vw;}
}

/* ---------- Tablets ---------- */
@media screen and (min-width: 780px) {
    :root {
        --full_width: 80vw;
        --middle_width: 64vw;
        --small_width: 64vw;
    }
    
    main{
        height: calc(100vh - 230px);
        padding-top: 80px;
        padding-bottom: 150px;
    }
    
    .introduction{
        grid-template-areas: 
            "hi hi hi"
            "sb sb .";
    }
    .vinyl_rec div:nth-child(1){ left: 8vw; top: 0px; z-index: 1; }
    .vinyl_rec div:nth-child(2){ left: 6vw; top: 2vw; z-index: 2; }
    .vinyl_rec div:nth-child(3){ left: 4vw; top: 4vw; z-index: 3; }
    .vinyl_rec div:nth-child(4){ left: 2vw; top: 6vw; z-index: 4; }
    .vinyl_rec div:nth-child(5){ left: 0px; top: 8vw; z-index: 5; }
    .vinyl{gap:40px;}
    .vinyl_txt li{padding-bottom: 1rem;}
    b {
        top: calc((var(--small_width)/2 - 20px - 8vw)/2 - 10%);
        left: calc((var(--small_width)/2 - 20px - 8vw)/2 - 10%);
    }
    b::before {
        height: calc(var(--small_width)/2 - 25px - 8vw);
        width: calc(var(--small_width)/2 - 25px - 8vw);
    }
    .vinyl_rec div {
        width: calc(100% - 8vw);
    }
    .contact_title{
        display: grid;
        grid-template-areas: 
                "ch ch ch ch ."
                "cp cp cp . .";
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
    .contact_title h2{
        grid-area: ch;
    }
    .contact_title p{
        grid-area: cp;
    }
    .showcase{
        gap: 50px;
        grid-row-gap: 70px;
}
    .project_images{
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
}

/* ---------- laptops ---------- */
@media screen and (min-width: 1024px) {
    :root {
        --full_width: 80vw;
        --middle_width: 64vw;
        --small_width: 50vw;
    }
    main{
        height: calc(100vh - 160px);
        padding-bottom: 80px;
    }
    .introduction{
        margin-top: 220px;
        margin-bottom: 250px;
    }
    .vinyl{
        margin-bottom: 250px;
    }
    .shoot_me{
        margin-bottom: 220px;
    }
    .showcase{
        grid-template-columns: 1fr 1fr;
    }
    .project_section h4{
        width: 80%;
        margin: 0 auto;
        margin-bottom: 50px;
    }
    .project_section p{
        font-size: 1.1rem;
        width: 80%;
        margin: 0 auto;
        margin-bottom: 140px;
        column-count: 2;
        column-gap: 50px;
    }
    .project_img{
        margin-bottom: 140px;
    }
    .project_images{
        gap: 40px;
    }
    .project_section{margin-bottom:220px;}
}