/* fonts */

@font-face {
    font-family: Playfair; /* set name */
    src: url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap'); /* url of the font */
}

@font-face {
    font-family: Lato;
    src: url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
}

/* General Styles */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    font-size: clamp(14px, 1.2vw + 0.5rem, 20px);
    line-height: 1.6;
}

header .logo h1 {
    font-family: Playfair, serif;
    font-size: 2rem;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav a {
    font-size: 1rem;
    font-weight: 700;
}

.hero {
    position: relative;
    width: 100%;
    height: 500px;
    background: url('hero-image.jpg') no-repeat center center/cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero .btn {
    padding: 10px 20px;
    background-color: #000;
    color: white;
    border-radius: 5px;
}

.featured-artists, .featured-artworks {
    padding: 0px 0px;
    text-align: center;
}

.featured-artists .artist-grid,
.featured-artworks .artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-inline: 20%;
/*
    border-style: dashed;
    border-color: yellow;
*/
}

.featured-artists .artist-item img,
.featured-artworks .artwork-item img {
    width: 100%;
    height: auto;
}

/*
.featured-artists .artist-item {
    border-style: dotted;
    border-color: green;
}
*/

.splash {
    border: solid 0px red;
    margin: auto;
    margin-top: 30px;
    vertical-align: middle;
    text-align: center;
    width: 90%;
    font-family: arial;
    font-size: 22px;
}

@media only screen and (max-width: 800px) {
    body {
      overflow-x: hidden;
    }
  
    .splash img.mobnoshow{
        display: none;
    }

    .splash h1.mobtext {
        width: 80%;
        text-align: center;
    }

    .featured-artists .artist-grid,
    .featured-artworks .artwork-grid {
        margin-inline: 2%;
    }

    footer {
        font-size: 13px;
    }
    
    footer img {
        width: 40%;
    }
}

@media only screen and (min-width: 800px) {
    .splash img.desknoshow {
        display: none;
    }
    .splash h1.mobtext {
        font-size: 48px;
    }
}

footer {
    background-color: #1a1a1a;
    color: white;
    padding: 20px;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    display: inline;
    margin: 0 15px;
}
