

img{
    height: auto;
}
nav {
    grid-area: b;
    display: inline;
    align-self: end;
    margin-left: 2vw;
    z-index: 1;
}
nav ul {
    list-style: none;
    padding-left: 0;
}

nav li {
    display: inline;
}

@font-face {
    font-family: base-font;
    src: url(BTFR_LCBB.otf);
}


body {
    display: grid;
    grid-template-columns: 303fr 1043fr 539fr;
    grid-template-rows: 373fr 1345fr 358fr auto;
    grid-template-areas:
    "a b c"
    "d e f"
    "g h i"
    "j k l";
    min-width: 100%;
    min-height:100%;
  /* Set up proportionate scaling */
    width: 100%;
    height: auto;
    margin: 0;
}


img.background{
    grid-column-start: a; grid-column-end: c;
    grid-row-start: a; grid-row-end:g;
}

main{
    grid-column-start: d; grid-column-end: f;
    grid-row-start: d; grid-row-end:g;

    display: grid;
    grid-template-columns: 303fr 1043fr 539fr;
    grid-template-rows: 1345fr 358fr;
    grid-template-areas:
    "m n o"
    "p q r";
    min-width: 100%;
    height: auto;


}


img.background, img.comic-image{
    width:100%;
    height: auto;

}

img.comic-image{
    grid-area: n;
    z-index:2;
}



.comic-links {
    grid-area: f;
    display: flex;
    flex-direction: column;
    align-self: start;
    justify-self: start;
    z-index:3;

}

.comic-links ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2%
}

.comic-links li {
    display: inline;
    font-size: 20px;
	padding: .1rem 1rem .1rem;
	margin-bottom: 0.2rem;
    background: #90CAF9;
    font-weight: bold;
    border-color: black;
    border-width: .1em;
    border-style: solid;
    box-shadow: 5px 5px 7px rgba(33,33,33,.7);
    text-align: start;
}
.mp3{
    grid-column:3;
    grid-row:1;
    align-self: end;
    z-index:1;
}


.phone:focus, .mp3:focus, .phone:hover, .mp3:hover{
    z-index:10;
}

.mp3 img{
    width: 100%;
}
.bsky img{
    width:100%;
}


button{
    background-color: transparent;
    border: transparent;
    padding: 0;
    font-family: base-font;
}


.tab {
    position: relative;
    font-size: 20px;
	padding: .1rem 1rem .5rem;
	margin-right: 0.2rem;
    background: #90CAF9;
    font-weight: bold;
    border-color: black;
    border-width: .1em;
    border-style: solid;
    box-shadow: 5px 5px 7px rgba(33,33,33,.7);


}

.ads {
    grid-area:b;
    align-self:start;
    width: 100%;
    background-image: url(./img/ads.png);
    background-size: cover;
}

.ads img{
    height: auto;
    width: 100%;
    padding-left: 10%;
    padding-top: 3%;
}

.ads a, .ads a:visited {
    color: white;
}

.ads div#cad_2227{
    width: 80%;
}

.comments-button{
    position: relative;
    grid-column-start:p;
    grid-column-end:q;
    grid-row-start:p;
    grid-row-end:p;
    text-align: center;
    justify-content: center;
}

.comments-button p{
    font-size: 50px;
    position: absolute;
    top: 10%;
    left: 25%;
    padding: 0;
    font-weight: bold;
    text-decoration: underline;
    background-color: white;
;}

button {
    font-size: 20px;
    font-weight: bold;
    text-decoration: underline;
}
.comments-button img{
    width: 100%;
}

.ads img{
    width: 100%;
}
*:focus {
	/* inner indicator */
	outline: 2px #F9F9F9 solid;
	outline-offset: 0;
	/* outer indicator */
	box-shadow: 0 0 0 4px #193146;
}

audio{
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 20;
}


dialog{
    position: fixed; /* Stay in place */
    z-index: 15; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */

}


/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    
}


.commentbox{
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    height: 80%;
}


iframe{
    min-height: 90%;
    margin-top: 1%;
}
.radiogroup{
    display: flex;
    flex-direction: column;
}



@media (max-width: 1200px) {
    .tab {
    position: relative;
    font-size: 20px;
	padding: .1rem .5rem .5rem;
	margin-right: 0.1rem;

    }


    .ads img{
        height: auto;
        width: 100%;
        padding-left: 10%;
        padding-top: 1%;
    }




    nav {
    align-self: end;
    margin-left: 0;
    }

    .tab {
        font-size: 10px;
        padding: 1px;
        margin: 0;
    }

    nav ul li{
        margin: 0;
    }


    nav ul{
        margin: 0;
        margin-bottom: 1%;
        padding: 0;
    }

    .comments-button p{
    font-size: 20px;
    }

    audio{
        position: relative;
        height: auto;
        grid-area: k;
        width: 100%;
        align-self: start;
        bottom: 0;
        left: 0;
    }


    .comic-links li, button {
        font-size: 10px;
    }

}


