/* General */

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    width: 100%;
    height: 100%;
}


/* Fonts */

body, html {
    font-family: 'Gantari', Helvetica, Arial, sans-serif;
    font-size: 1em;
    color: #00000080;
}

.header-right {
    text-decoration: none;
    color: #2B4D0A;
    font-size: 0.95em;
    font-weight: 600;
}

#picnumbertext {
    color: #2B4D0A;
    font-size: 0.85em;
    font-weight: bold;
}

#process-tittle {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.5em;
    color: #2B4D0A;
}

#process-text b {
    color: #2B4D0A;
}

#contact-tittle {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.75em;
    color: #2B4D0A;
}

#contact-text a {
    text-decoration: none;
    color: #00000080;
}

#footer {
    font-size: 0.75em;
}


/* Header */

header {
    width: 100%;
    position: relative;
    display: block;
    height: 10em;
    background-color: white;
}

.header-left {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translate(0%, -50%);
}

.header-left .logo {
    height: 5em;
}

.header-right {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translate(0%, -50%);
    padding-bottom: 0.05em;
    border-bottom: 0.2em solid #2B4D0A;
}


/* Content */

.content {
    width: 100%;
    margin-top: 1em;
    background-color: white;
}


/* Intro block (gallery and about) */

.intro {
    width: 70%;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
}


/* Gallery */

.column-left {
    float: left;
    width: 50%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    -webkit-user-select: none;
    user-select: none;
}

#gallery {
    position: relative;
    display: block;
    margin: auto;
    -webkit-user-select: none;
    user-select: none;
}
  
#pic {
    max-width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-user-select: none;
    user-select: none;
}


/* Gallery buttons */

.gallery-button {
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-left: 3%;
    margin-right: 3%;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    background-color:rgb(43 77 10 / 80%);
    border-radius: 50%;
    -webkit-user-select: none;
    user-select: none;
}

.gallery-button p {
    position: absolute;
    top: 3.5px;
    left: 50%;
    transform: translate(-50%);
    margin: 0;
    padding: 0;
    color: white;
    font-size: 12px;
    font-weight: bold;
    -webkit-user-select: none;
    user-select: none;
}

#next {
    right: 0;
}


/* Number text */

#picnumbertext {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 3%;
    z-index: 1;
    cursor: pointer;
}
  

/* About */

.column-right {
    float: right;
    width: 50%;
    aspect-ratio: 1 / 1;
    min-height: 0;
}

#about {
    position: relative;
    display: block;
    margin: auto;
    height: 100%;
}
  
#about-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding-left: 8%;
    padding-right: 8%;
}
  
#about-text p {
    margin: 0;
} 


/* Parallax */

.parallax {
    position: relative;
    display: block;
    background-image: url('assets/images/parallax.jpg');
    height: 5em; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax h1 {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Process */

.process {
    margin-top: 5em;
    text-align: center;
}

#process-items {
    width: 100%;
    margin-top: 1.5em;
}

#process-text {
    display: inline-block;
    width: 15%;
    margin: 1.5em;
    text-align: left;
    vertical-align: top;
}


/* Contact */

.contact {
    margin-top: 5em;
    width: 100%;
    text-align: center;
}

#contact-divider {
    margin-top: 0.5em;
    margin-bottom: 1.8em;
}

#contact-text {
    display: inline-block;
    max-width: 100%;
    text-align: left;
}

#contact-text img, #contact-text p {
    line-height: 0.5em;
}

#contact-text img {
    vertical-align: middle;
    margin-right: 0.5em;
}


/* Footer */

.footer {
    text-align: center;
    margin: 8em 5em 5em 5em;
    padding: 2em;
}


/* Back to the top button */

#top-button {
    display: none;
    position: fixed;
    bottom: 1em;
    right: 1em;
    z-index: 99;
    border: none;
    outline: none;
    background-color: transparent;
    cursor: pointer;
    margin: 1em;
}


/* Customized selection color */

::-moz-selection { /* For Firefox */
    color: white;
    background: rgb(43 77 10 / 80%);
}
  
::selection {
    color: white;
    background: rgb(43 77 10 / 80%);
}



/* Max width 375px */

@media only screen and (max-width: 375px) {


    /* Header */

    .header-left .logo {
        height: 4em !important;
    }


    /* Contact */

    .contact {
        margin-top: 3em !important;
    }


    /* Footer */
    
    .footer {
        margin: 3em !important;
    }


}



/* Max width 1024px */

@media only screen and (max-width: 1024px) {


    /* Fonts */
    
    #process-tittle {
        font-size: 1.3em;
    }
    
    
    /* Header */
    
    header {
        height: 8.5em;
    }


    /* Intro block (gallery and about) */
    
    .intro {
        width: 100%;
    }
    

    /* Gallery */

    .column-left {
        width: 100%;
        height: auto;
    }
    

    /* Gallery buttons */

    .gallery-button {
        margin-left: 5%;
        margin-right: 5%;
    }
    
    
    /* Number text */
    
    #picnumbertext {
        margin: 5%;
    }
    
    
    /* About */
    
    .column-right {
        width: 100%;
        height: auto;
    }
    
    
    /* Parallax */

    .parallax {
        height: 4em; 
    }

    .parallax h1 {
        top: 70%;
    }


    /* Process */

    .process {
        margin-top: 0.5em;
    }

    #process-items {
        margin-top: 2.5em;
    }

    #process-text {
        width: 100%;
        margin: 0;
        padding-left: 8%;
        padding-right: 8%;
    }
    
    
    /* Contact */
    
    .contact {
        margin-top: 4em;
    }
    
    #contact-text img, #contact-text p {
        line-height: 1em;
    }


}



/* Max width 375px */

@media only screen and (min-width: 1025px) and (max-width: 1280px) {


    /* Fonts */

    body, html {
        font-size: 0.9em !important;
    }


}