@font-face {
    font-family: 'aceserif';
    src: url('/css/fonts/aceserif/aceserif-webfont.svg') format('svg'),
         url('/css/fonts/aceserif/aceserif-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'sofiasans';
    src: url('/css/fonts/sofiasans/SofiaSansExtraCondensed-VariableFont_wght.ttf') format('truetype'),
         url('/css/fonts/sofiasans/sofiasansextracondensed-variablefont_wght-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'alegreya';
    src: url('/css/fonts/alegreya/alegreya-variablefont_wght-webfont.ttf') format('truetype'),
         url('/css/fonts/alegreya/alegreya-variablefont_wght-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'truecrimes';
    src: url('/css/fonts/truecrime/true-crimes-webfont-webfont.ttf') format('truetype'),
         url('/css/fonts/truecrime/true-crimes-webfont-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* WRAP */
.wrap {
    margin: 10em 3em 3em 3em;
}

@media (min-width: 540px) {
    .wrap {
        margin: 10em 5em 3em 5em;
    }
}

@media (min-width: 768px) {
    .wrap {
        margin: 10em 9em 2em 5em;
    }
}

@media (min-width: 1024px) {
    .wrap {
        margin: 12em 11em 2em 4em;
    }
}

@media (min-width: 1180px) {
    .wrap {
        margin: 12em 12em 2em 4em;
    }
}

@media (min-width: 1280px) {
    .wrap {
        margin: 12em 13em 2em 4em;
    }
}

@media (min-width: 1366px) {
    .wrap {
        margin: 14em 14em 2em 4em;
    }
}

@media (min-width: 1920px) {
    .wrap {
        margin: 14em 18em 2em 4em;
    }
}

/*BACKGROUND*/
body {
    background-image: url(/images/cactuslightning.png);
    background-size: 2440px 1280px;
    background-attachment: fixed;
}

/* LINKS */
a {
    text-decoration: none;
}

a:link {
    color: #f9e898;
}

a:visited {
    color: #f9e898;
}

a:hover {
    color: deeppink;
}

/* TYPOGRAPHY */
html {
    /* 62.5% of 16px = 10px*/
    font-size: 62.5%;
}

p {
    letter-spacing: 1px;
    line-height: 1.6;
    margin: 0 0 1em 0;
    text-align: justify;
}

.hide-mobile {
    display: none;
}

.open {
    transform: translateX(0%);
}

/*HEADER*/
header {
    background-color: black;
    display: grid;
    grid-template-columns: repeat(2, 86% 14%);
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 999;
}

.main-title {
    width: 100%;
    max-width: 455px;
    padding: .5em 0 .5em 1em;
}

.open-slate-icon {
    width: 75%;
    max-width: 47px;
    padding:.25em 0 0 .5em;
}

nav ul {
    background: black;
    height: 100vh;
    overflow: scroll;
    position: fixed;
    right: 0em;
    scrollbar-width: none;
    top: 0em;
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
    width: 25vw;
    padding: unset;
    list-style-type: none;
}

.page-link-items, .somedicons {
    margin: 0 auto;
}

.page-link-items {
    font-family: sofiasans;
    font-size: 1.75em;
    padding-bottom: 2em;
    letter-spacing: 1px;
    width: fit-content;
}

.page-link-items a:link {
    color: whitesmoke;
}

.page-link-items a:visited {
    color: whitesmoke;
}

.page-link-items a:hover {
    color:deeppink;
}

.somedicons {
    width: 50%;
    max-width: 62px;
    padding-bottom: 3em;
}

.fbb {
    display: none;
}
.igb {
    display: none;
}   
.vb {
    display: none;
}
.lib {
    display: none;
}    
.xb {
    display: none;
}

@media (min-width: 540px) {
    .main-title {
        padding: .5em 0 .5em 2em;
    }

    .open-slate-icon {
        padding:.5em 0 0 1em;
    }
}

@media (min-width: 768px) {
    .hide-desktop {
        display: none;
    }

    .main-title {
        width: 67.377%;
        max-width: 700px;
        padding-left: 3em;
    }

    .pages-somedicons {
        display: grid;
        grid-template:repeat(5, 1fr) / repeat(4, 1fr);
        grid-template-areas: 
        "stagengear     location    about   contact"
        ".              .           .       fbicon"
        ".              .           .       igicon"
        ".              .           .       vicon"
        ".              .           .       liicon"
        ".              .           .       xicon";

        background-color: unset;
        height: unset;
        max-width: 700px;
        right: .75em;       
        top: 2em;
        transform: translateX(0%);
        width: 35%;
        row-gap: 3em;
    }

    .somedicons {
        padding-left: .25em;
    }

    .fbicon {
        grid-area: fbicon;
    }
    .fbw {
        display: none;  
    }
    .fbb {
        display: block;
    }
    
    .igicon {
        grid-area: igicon; 
    }
    .igw {
        display: none;  
    }
    .igb {
        display: block;
    }  

    .vicon {
        grid-area: vicon;
    }
    .vw {
        display: none;  
    }
    .vb {
        display: block;
    }
    
    .liicon {
        grid-area: liicon;    
    }
    .liw {
        display: none;  
    }
    .lib {
        display: block;
    }
    
    .xicon {
        grid-area: xicon;
    }
    .xw {
        display: none;  
    }
    .xb {
        display: block;
    }
}

@media (min-width: 800px) {
    .pages-somedicons {
        top: 2.25em;
    }
}

@media (min-width: 853px) {
    .pages-somedicons {
        top: 2.5em;
    }
}

@media (min-width: 915px) {
    .pages-somedicons {
        top: 2.75em;
    }
}

@media (min-width: 1024px) {
    .pages-somedicons {
        top: 3.5em;
        row-gap: 5em;
    }
}

@media (min-width: 1080px) {
    .pages-somedicons {
        top: 3.75em;
    }
}

@media (min-width: 1180px) {
    .pages-somedicons {
        top: 4.25em;
    }
}

@media (min-width: 1280px) {
    .pages-somedicons {
        top: 4.5em;
    }
}

@media (min-width: 1920px) {
    .page-link-items {
        font-size: 2.25rem;
    }

    .pages-somedicons {
        top: 4.25em;
    }
}

/*GALLRIES*/
.resloctitle-container {
    margin: 0 auto 5em auto;
    max-width: 500px;
}

.script-containers {
    background-color: whitesmoke;
    color: black;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 1px;
    line-height: 1.6;
    margin: 0 auto 4em auto;
    border-top: 4px solid black;
    border-left: 4px solid black;
    border-right: 4px solid black;
  
}

@media (min-width: 540px) {
    .script-containers {
        width: 95%;
    }
}

.scripts {
    font-size: 1.25em;
    margin: 0;
    padding: 1em 1em 1em 1em;
}


.script-titles {
    font-size: 1.25em;
    font-weight: bolder; 
}

@media (min-width: 1920px) {
    .scripts {
        font-size: 1.75rem;
    }

    .script-titles {
        font-size: 1.75rem;
    }
}

.gallery-grids {
    display: grid;
    padding-bottom: 10em;
    row-gap: 3em;
    column-gap: 4em;
}

.pics {
    transition: transform .5s;
    border-radius: 5px;
    border: 4px solid black;
    max-width: 100%;
}

.pics:hover{
    border: 4px solid #f9e898;
}

@media (min-width: 768px) {
    .ariel-gallery-container {
        grid-template: repeat(4, 1fr) / repeat(2, 1fr);
    }
    
    .exterior-gallery-container {
        grid-template: repeat(4, 1fr) / repeat(2, 1fr);
    }

    .interior-gallery-container {
        grid-template: repeat(6, 1fr) / repeat(2, 1fr);
    }

    .backyard-gallery-container {
        grid-template: repeat(3, 1fr) / repeat(2, 1fr);
    }

    .views-gallery-container {
        grid-template: repeat(2, 1fr) / repeat(2, 1fr);
   }

    .pics{
        width: 100%;
        max-width: 100%;
    }
}

@media (min-width: 1024px) {
    .script-containers {
        max-width: 1080px;
    }

    .ariel-gallery-container {
        grid-template: repeat(4, 1fr) / repeat(2, 1fr);
    }
    
    .exterior-gallery-container {
        grid-template: repeat(4, 1fr) / repeat(2, 1fr);
    }

    .interior-gallery-container {
        grid-template: repeat(5, 1fr) / repeat(2, 1fr);
    }

    .backyard-gallery-container {
        grid-template: repeat(4, 1fr) / repeat(2, 1fr);
    }

    .views-gallery-container {
        grid-template: repeat(4, 1fr) / repeat(2, 1fr);
        padding-bottom: 4em;
   }
}

@media (min-width: 1366px) {
    .ariel-gallery-container {
        grid-template: repeat(2, 1fr) / repeat(4, 1fr);
    }
    
    .exterior-gallery-container {
        grid-template: repeat(2, 1fr) / repeat(4, 1fr);
    }

    .interior-gallery-container {
        grid-template: repeat(3, 1fr) / repeat(4, 1fr);
    }

    
    .backyard-gallery-container {
        grid-template: repeat(2, 1fr) / repeat(4, 1fr);
    }

    .views-gallery-container {
        grid-template: repeat(2, 1fr) / repeat(4, 1fr);
        padding-bottom: 2.5em;
    } 
}

@media (min-width: 1920px) {
    .gallery-grids {
        margin: unset;
    }
}

/*FOOTER*/
footer {
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
    padding: 1em 0;
    border-top: 1px solid deeppink;
}

.footer-info {  
    color: #f9e898;
    font-family: aceserif;
    font-size: 1.75rem;
}

@media (min-width: 540px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1180px) {
    footer {
        top: 2em;  
    }
}