/* MAIN SETTING */
/* ----------------- */

html {
    width: 100%;
    background-color: #000000;
    background-image: repeating-linear-gradient(41deg, rgba(219, 0, 0, 0.743), rgba(255, 77, 0, 0.824) 10px, rgba(255, 157, 0, 0.824) 20px, transparent 3vw);
    background-size: 8px;
    filter: sepia(80%);
}
body{
    margin: 0 2%;
    background-color: rgb(253, 226, 116);
    border-radius: 25%;
}
h2 {
    color: #c61400;
    letter-spacing: 0;
    font-size: 12.5vw;
    line-height: 0;
    padding-left: 1%;
    text-align: left;
    margin-top: 20vh;
    margin-bottom: 5vh;
    filter: drop-shadow(-4px 3px 0 rgb(253, 226, 116));
    filter: blur(3px);
}
h3 {
    background-color: #c61400;
    color: white;
    margin: 15% auto 0;
    border-radius: 10px;
    width: 76%;
}
a {
    font-size: xx-large;
    letter-spacing: 1rem;
    text-decoration: none;
    color: black;
    font-size: 3vw;
}
a:hover {
    color: white;
}

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

nav {
    position: fixed;
    bottom: 0;
    margin: 0 auto;
    width: 96%;
    display: inline-flex;
    justify-content: space-between;
    background-color: #c61400;
    text-transform: uppercase;
    border-radius: 25px;
    z-index: 3;
    border: 1px solid rgb(253, 226, 116);
}
nav a {
    color: white;
    letter-spacing: 0.1em;
    padding: 0 3vw;
    filter: blur(3px);
}
nav a:hover {
    filter: blur(0);
}

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

#header {
    height: 60%;
    width: 90%;
    margin: 4% auto;
    background-color: #c61400;
    filter: drop-shadow(-3px -1px 0 rgb(253, 226, 116));
    border-radius: 50%;
    filter: blur(3px);
}
#header h1 {
    position: absolute;
    margin-top: -9%;
    margin-left: -3%;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: 100;
    color: white;
    font-size: 12.5vw;
    line-height: 72vh;
}
#header p {
    position: absolute;
    margin-top: 7%;
    margin-left: 45%;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: 100;
    color: white;
    text-align: center;
    font-size: 5vw;
    line-height: 72vh;
}

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

#sub {
    margin: 0 auto;
    width: 100%;
    font-size: 2vw;
    display: inline-flex;
    justify-content: space-between;
    background-color: #c61400;
    color: white;
    border-radius: 25px;
    text-transform: uppercase;
    border: 1px solid rgb(253, 226, 116);
}
#sub p {
    padding: 0 3vw;
    filter: blur(1px);
}

/* LARGE STRUCTURE */
/* each main container */
/* ----------------- */

.box {
    text-align: center;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: 100;
    color: #c61400;
    font-size: 3vw;
}

/* within large container */
.blocks {
    margin: 0 auto;
    width: 93%;
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
}

/* each block */
.pieces {
    color: #c61400;
    display: flex;
    flex-direction: column;
    line-height: 1em;
    padding: 20px 30px;
    text-transform: uppercase;
}


/* IMGS */
/* ----------------- */

.image {
    margin: 15px auto;
    width: 90%;
    aspect-ratio: 4/3;
    background-color:rgb(204, 228, 237);
    border: solid 1px red;
    border-radius: 5px;
}
img {
    width: 100%;
    height: 100%;
}
#image1 {
    background-image: url(media/OJ.png);
    background-size: cover;
}
#image2 {
    background-image: url(media/SN.png);
    background-size: contain;
}
#image3 {
    background-image: url(media/EC.png);
    background-size: cover;
    background-position: center;
}
#image4 {
    background-image: url(media/NYC.png);
    background-size: cover;
    background-position: center;
}
#image5 {
    background-image: url(media/AOT.png);
    background-size: cover;
    background-position: center;
}
#image6 {
    background-image: url(media/SL.png);
    background-size: cover;
    background-position: center;
}
#image7 {
    background-image: url(media/AT.png);
    background-size: cover;
    background-position: center;
}
#image8 {
    background-image: url(media/IW.png);
    background-size: cover;
    background-position: center;
}
#image9 {
    background-image: url(media/CS.png);
    background-size: cover;
    background-position: center;
}
#image10 {
    background-image: url(media/L.png);
    background-size: cover;
    background-position: center;
}
#image11 {
    background-image: url(media/JI.png);
    background-size: cover;
    background-position: center;
}
#image12 {
    background-image: url(media/SS.png);
    background-size: contain;
    background-position: center;
}
#image13 {
    background-image: url(media/C.png);
    background-size: cover;
    background-position: center;
}
#image14 {
    background-image: url(media/KC.png);
    background-size: cover;
    background-position: center;
}
#image15 {
    background-image: url(media/CL.png);
    background-size: cover;
    background-position: center;
}
#image16 {
    background-image: url(media/API.png);
    background-size: cover;
    background-position: center;
}


/* LEFT RIGHT COLUMNS */
/* ----------------- */

.projects {
    width: 50%;
    display: flex;
    flex-direction: column;
    flex-wrap:nowrap;
    margin-bottom: 20vh;
    gap: 1rem;
}

.workshops {
    width: 50%;
    display: flex;
    flex-direction: column;
    flex-wrap:nowrap;
    margin-bottom: 20vh;
    gap: 1rem;
}

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

@media screen and (max-width: 650px){
    nav a {
        filter: none;
        color: rgb(253, 226, 116);
    }
    #title {
        margin-top: 10%;
    }
    .blocks {
        flex-direction: column;
        flex-wrap: wrap;
    }
    .workshops {
        width: 100%;
    }
    .projects {
        width: 100%;
    }
}


@media screen and (min-width: 1000px){
    a {
        font-size: 1.5vw;
    }
    h2 {
        font-size: 10vw;
        margin-top: 10vh;
        margin-bottom: 10vh;
    }
    #container {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        justify-content: space-evenly;
    }
    .box {
        width: 45%;
        font-size: 1.5vw;
    }
    .blocks {
        margin: 0;
        width: 100%;
    }
    .projects, .workshops {
        width: 100%;
    }
    .pieces {
        padding: 5px 5px;
    }
}