/* General */

main {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

header {
    font-family: p22-nudgewink-pro, sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 34px;
    color:blueviolet;
    background-color: black;
    text-align: center;
    padding: 5px 5px 5px 0px;
    margin-bottom: 10px;

}

body {
    background-color: rgb(45, 44, 44);
}

nav {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    
}

ul.nav a {
    list-style: none; 
    text-align: center;
    margin-right: 20px;
    text-decoration: none;
    color: white;
    background-color: rgb(91, 29, 91);
    padding: 10px;
    border-radius: 40%;
}

ul.nav a:hover {
    background-color: blueviolet;
}

ul.nav li{
    display: inline-flex;
    justify-content: space-between;
}

footer {
    background-color: black;
    color: rgb(255, 255, 255);
    margin: 5px 5px;
    text-align: center;
    padding: 10px 0px 5px 0px;
}

.extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: end;
    padding: 0px 10px 5px 0px;
}

/* Main Content */

.main {
    display: flex;
    margin: 0px 25px 0px 25px;
}

.title {
    text-align: center;
}

img.basic{
    height: 300px;
    width: 300px;
}

blockquote.blurb {
    border-style: dashed;
    background-color:white;
    padding: 8px;
    font-size: 16px;
}

.socials {
    background-color: black;
    padding: 5px;
}

p.socials {
    display: flex;
    justify-items: center;
    justify-content: space-evenly;
}


.main-lower {
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.item-right {
    border-radius: 50%;
    height: 275px;
    width: 275px;
}

.item-left {
border-radius: 50%;
height: 275px;
width: 275px;
}




/* About */


.about {
    background-color: rgb(45, 44, 44);
}

.glitch {
    font-family: bdr-mono, sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: black;
    color: greenyellow;
    padding: 15px;
    border-style: dashed;
    margin: 0px 40px 0px 40px;
}

img.sync {
    height: 200px;
    width: 200px;
    float:right;
    clear:both;
}



.secret a {
    text-decoration: none;
    color: greenyellow;
}

.error {
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    color: greenyellow;
    padding: 10px;
}


/* Gallery */

h2 {
    color: white;
    background-color: black;
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: 25px;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    grid-row-gap: 25px;
}

.dsgn {
    width:500px;
    height:700px;
}

.gamer {
    width: 720px;
    height: 480px;
}

.owl {
    width: 720px;
    height: 480px;
}

.tiktok-embed {
    width: 500px;
    height: 900px;
}


/** Photos **/

.phototitle {
    background-color: black;
    color: white;
    text-align: center;
    font-size: 24px;
    font-family: 'Courier New', Courier, monospace;
}

.photos {
    display: grid;
    justify-items: center;
    grid-row-gap: 25px;
    padding-top: 20px;
}

.image {
    height: 720px;
    width: 1080px;
}

/** extra **/

.bgvideo {
    z-index: -1;
    position: fixed;
    width: 1920;
    height: 1080;
}

.favlinks {
    align-items: center;
    text-align: center;
    color: white;
    background-color: black;
    font-size: 24px;
}






/****** responsive design for tablets *****/

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

    /** about **/

    p strong {
        font-size: 130%;
    }

    p.secret a {
        font-size: 150%;
    }

    /** homepage **/
    .main-lower {
        display: grid;
        grid-template-columns: repeat(6,10%);
    }
    
    .item-left {
        grid-column: 1/4;
        grid-row: 1/2;
    }

    .item-middle {
        grid-column: 2/3;
        grid-row: 2;
    }

    .item-right {
        grid-column: 4/6;
        grid-row: 1;
    }

    /** gallery **/

    .gallery {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        grid-row-gap: 25px;
    }

    .dsgn {
        width:400px;
        height:600px;
    }
    
    .gamer {
        width: 400px;
        height: 400px;
    }
    
    .tiktok-embed {
        width: 400px;
        height: 800px;
    }


}


/***** resposnive design for phones *****/


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

    /** about **/
    p.secret a {
        font-size: 150%;
    }

    img.sync {
        display:none;
    }

    /** homepage **/
    div.main {
        flex-direction: column;
        align-items: center;
    }

    .main-lower {
        display: flex;
        flex-flow: column;
    }

    /** Gallery **/
    .gallery {
        grid-template-columns: 1fr;
    }

}

