/* RESETING MARGIN AND PADDING TO 0 ON EVERYTHING */
*
{
    padding: 0;
    margin: 0;
}

/* BODY */
body
{
    /* background-color: rgb(55, 63, 67); */
    background-image: url(imgs/dark-grunge-texture.jpg);
    background-size: cover;
    overflow-x: hidden;
}

/* "ANIMATION" (not quite, but sure) */
html { scroll-behavior: smooth; }

/* FONTS */
.lato-bold 
{
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.permanent-marker-regular 
{
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
}

/* SCROLLBAR */
::-webkit-scrollbar 
{
    width: 5px;
}
  
::-webkit-scrollbar-track 
{
    background: rgb(55, 63, 67); 
}
   

::-webkit-scrollbar-thumb 
{
    background: white; 
}
  
::-webkit-scrollbar-thumb:hover 
{
    background: rgb(55, 63, 67); 
}

/* HEADER, NAV */
header
{
    width: 100%;
    height: 100dvh;
    background-image: url(imgs/cover-image.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15rem 0;
    border-bottom: 10px solid black;
}

nav
{
    display: flex;
    flex-direction: row;
    background-color: rgba(55, 63, 67, 0.5);
    height: 4rem;
    width: 100%;
}

.nav-row1, .nav-row2, .nav-row3
{
    display: flex;
    flex-direction: row;
    width: 33%;
    justify-content: space-evenly;
    align-items: center;
}

.nav-item
{
    text-decoration: underline;
}

.nav-brand-item
{
    font-size: 32px;
    letter-spacing: 5px;
    color: white;
}

.nav-item > a
{
    color: white;
    font-size: 20px;
}

.header-row2
{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 60%;
}

.intro
{
    background-color: rgba(222, 230, 230, 0.7);
    align-self: center;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid black;
}

.intro-text
{
    font-size: 24px;
    text-align: justify;
}

.intro-btn
{
    display: block;
    margin: auto;
    margin-top: 10px;
    font-size: 24px;
    border: 0;
    background-color: rgba(222, 230, 230, 0);
}

.intro-btn > a
{
    color: royalblue;
}

.intro-btn > a:hover
{
    font-size: 28px;
    color: green;
}

/* WORKS SECTION */
.works
{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5rem;
}

.works:nth-of-type(1)
{
    margin-top: 3rem;
}

.works-title
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 3rem 0;
    font-size: 52px;
    color: white;
}

.works-row-title > h1
{
    font-size: 52px;
    color: white;
}

.works-row-content
{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 3rem 0;
    gap: 0 7rem;
}

.works-img-res
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.artstyle
{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.artstyle-name
{
    font-size: 48px;
    color: white;
    letter-spacing: 15px;
}

.imgs
{
    width: 600px;
    aspect-ratio: 1;
    height: auto;
    border: 10px solid black;
    cursor: zoom-in;
}

.hidden
{
    display: none;
}

.showOnPhone
{
    display: none;
}

/* ABOUT ME SECTION*/
.aboutMe
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px 20px;
    background-image: url(imgs/about_background.jpg);
    background-size: cover;
    border-top: 10px solid black;
    padding: 20px 0;
}

.aboutMe-row-title
{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    margin-top: 3rem;
}

.aboutMe-row-title > h1
{
    color: white;
    font-size: 52px;
}

.aboutMe-row
{
    display: flex;
    flex-direction: row;
    width: 80%;
    gap: 0 40px;
}

.aboutMe-row2
{
    display: flex;
    flex-direction: row;
    width: 80%;
}

.aboutMe-info-title
{
    margin-bottom: 1rem;
    background-color: white;
}

.aboutMe-info-text
{
    color: white;
    line-height: 25px;
    font-size: 18px;
}

.active
{
    margin-top: 2rem;
    text-align: center;
    font-size: 48px;
    letter-spacing: 15px;
    line-height: 40px;
}

/* FOOTER SECTION */
footer
{
    border-top: 10px solid black;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    background-color: rgb(32, 36, 37);
}

.footer-col
{
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    width: 50%;
    align-items: center;
    justify-content: center;
    gap: 30px 0;
}

.footer-col > h2
{
    color: white;
    font-size: 32px;
}

li
{
    color: white;
    font-size: 24px;
    line-height: 30px;
}

#facebook
{
    list-style-image: url(imgs/facebook_icon.svg);
}

#email
{
    list-style-image: url(imgs/email_icon.png);
}

.villaLogo
{
    width: 200px;
    height: auto;
    padding: 0;
    margin: 0;
}

#toTheTop
{
    background-color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 1.5rem;
    bottom: 1rem;
}

.arrow-left:hover, .arrow-right:hover
{
    cursor: pointer;
}

/* MODAL */
.modal
{
    width: 100%;
    height: 100%;
    background-color: rgb(55, 63, 67);
    z-index: 1;
    position: fixed;
    top: 0;
}

.modalHidden
{
    display: none;
}

.modalContent
{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    height: 100%;
}

#modalImg
{
    margin-bottom: 40px;
    max-height: 830px;
}

.modalContent-close
{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

#close
{
    padding: 10px;
}

#close:hover
{
    background-color: red;
    cursor: pointer;
}

.modalArrow-left:hover, .modalArrow-right:hover
{
    cursor: pointer;
}

/* RESPONSIVE */
@media only screen and (max-width: 826px) 
{
    .nav-row1
    {
        display: none;
    }

    .nav-row2
    {
        justify-content: center;
        width: 100%;
    }

    .nav-row3
    {
        display: none;
    }

    .intro-btn, .intro-text
    {
        font-size: 16px;
        text-align: center;
    }

    .works-title
    {
        font-size: 32px;
    }

    .works-row > h1
    {
        font-size: 32px;
    }

    .works-row-content
    {
        flex-direction: column;
        align-items: center;
    }

    .artstyle-name
    {
        margin: 2rem 0;
        font-size: 36px;
    }

    .works-img-res
    {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .imgs
    {
        width: 60%;
    }

    .hidden
    {
        display: block;
    }

    .noShowOnPhone
    {
        display: none;
    }

    .aboutMe-row-title > h1
    {
        font-size: 38px;
    }

    .footer-col
    {
        width: 100%;
        align-items: center;
        margin-bottom: 2rem;
    }

    .footer-col:last-of-type
    {
        display: none;
    }

    .villaLogo
    {
        display: none;
    }

    #toTheTop
    {
        display: none;
    }

    #modalImg
    {
        width: 60%;
    }
}

@media only screen and (max-width: 1280px)
{
    .works-row > h1
    {
        font-size: 32px;
    }

    .works-row-content
    {
        flex-direction: column;
        align-items: center;
    }

    .works-title
    {
        text-align: center;
    }

    .artstyle-name
    {
        margin: 2rem 0;
        font-size: 32px;
    }

    .works-img-res
    {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .imgs
    {
        width: 65%;
    }

    .hidden
    {
        display: block;
    }

    .noShowOnPhone
    {
        display: none;
    }

    .aboutMe
    {
        background-image: url(imgs/about_background.jpg);
        background-size: cover;
    }

    .aboutMe-row-title > h1
    {
        font-size: 48px;
        text-align: center;
    }

    .footer-col > h2
    {
        text-align: center;
    }

    .footer-col:first-of-type
    {
        padding: 10px;
    }

    #modalImg
    {
        width: 65%;
    }
}

@media only screen and (max-width: 385px)
{
    .imgs
    {
        width: 50%;
    }

    .artstyle-name
    {
        font-size: 24px;
    }

    li
    {
        font-size: 16px;
    }

    #modalImg
    {
        width: 50%;
    }
}