/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

@font-face {
  font-family: 'Kode_Mono'; 
  src: url('https://lonelyseabird.neocities.org/seabird_website/KodeMono.ttf') format('woff2'),
       url('https://lonelyseabird.neocities.org/seabird_website/KodeMono.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@media screen and (max-width: 768px) {
  .column{
    width:100%
  }
}

body {
    overflow-x: hidden;
    overflow-y: hidden;
    line-height: 1;
    background-color: #e3dfba;
    opacity: 0.8;
    background-image:  radial-gradient(circle, #c8d6bf 0.8px, transparent 0.8px), radial-gradient(circle, #c8d6bf 0.8px, transparent 0.8px) ;
    background-size: 5px 20px, 20px 5px;
    background-position: -2.5px -10px, -10px -2.5px;
    }
    
    ol, ul { list-style: none; }
    blockquote, q { quotes: none; }
    blockquote:before, blockquote:after,
    q:before, q:after { content: ''; content: none; }
    table { border-collapse: collapse; border-spacing: 0; }
    
    .overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: auto; 
    z-index: 1; 
}

/* Popup container */
.popup-overlay {
    display: none;
    position: relative;
    margin: 80px auto;
    width: 450px;
    height: 200px;
    background-color: #806b28;
    background-size: cover;
    background-position: center;
    border: 1px solid #000000;
    font-family: 'Kode_Mono';
    font-size: 20px;
    z-index: 1000; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup {
    position: relative; 
    background-color: #806b28;
    padding: 20px;
    width: 400px; 
    height: 150px;
    z-index: 1000;
    font-family: 'Kode_Mono';
    font-size: 20px;
    color: #e2d8bf;
}

  #roach {
    transform: rotate(-90deg);
    z-index: 1000;
    position: relative;
    top: 700px;
    left: 400px; 
    width: 800px;
    height: 200px;
  }

#container {
    position: relative;
    margin: 20px auto;
    width: 700px;
    height: 750px;
    background-color: #e2d8bf;
    background-size: cover;
    background-position: center;
    border: 1px solid #000000;
    
}

#container2 {
    z-index: 20;
    position: relative;
    margin: 50px auto;
    width: 800px;
    height: 500px;
    background-color: #e2d8bf;
    background-size: cover;
    background-position: center;
    border: 1px solid #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#container3 {
    z-index: 10;
    position: absolute;
    margin: 20px auto;
    width: 600px;
    height: 500px;
    background-color: #e2d8bf;
    background-size: cover;
    background-position: center;
    border: none;
    font-family: 'Kode_Mono';
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#left {
  position: absolute;
  top: 20%;
  transform: translateY(-50%);
  left: 80px; 
  width: 100px;
  height: 200px;
  z-index: -1; 
}

#right {
  position: absolute;
  top: 20%;
  transform: translateY(-50%);
  right: -50px; 
  width: 800px;
  height: 200px;
  z-index: -1; 
}

#heads, #bodies, #legs {
    position: absolute;
    width: 700px;
    height: 700px;
}

/* legs */
.legs1 { background: url("../img/legs/antlegs.png") no-repeat center; background-size: contain; }
.legs2 { background: url("../img/legs/bumblebeelegs.png") no-repeat center; background-size: contain; }
.legs3 { background: url("../img/legs/weevillegs.png") no-repeat center; background-size: contain; }
.legs4 { background: url("../img/legs/weirdthing1legs.png") no-repeat center; background-size: contain; }
.legs5 { background: url("../img/legs/weirdthing2legs.png") no-repeat center; background-size: contain; }

/* bodies */
.body2 { background: url("../img/bodies/bumblebeebody.png") no-repeat center; background-size: contain; }
.body3 { background: url("../img/bodies/cicadabody.png") no-repeat center; background-size: contain; }
.body4 { background: url("../img/bodies/dragonflybody.png") no-repeat center; background-size: contain; }
.body5 { background: url("../img/bodies/ladybugbody.png") no-repeat center; background-size: contain; }
.body6 { background: url("../img/bodies/shieldbody.png") no-repeat center; background-size: contain; }

/* heads */
.head1 { background: url("../img/heads/anthead.png") no-repeat center; background-size: contain; }
.head2 { background: url("../img/heads/cicadahead.png") no-repeat center; background-size: contain; }
.head3 { background: url("../img/heads/dragonflyhead.png") no-repeat center; background-size: contain; }
.head4 { background: url("../img/heads/ladybughead.png") no-repeat center; background-size: contain; }
.head5 { background: url("../img/heads/roachhead.png") no-repeat center; background-size: contain; }
.head6 { background: url("../img/staghead.png") no-repeat center; background-size: contain; }

/* name centered with the game */
#name {
    position: absolute;
    top: 680px;            
    left: 50%;            
    transform: translateX(-50%); 
    width: 200px;
    z-index: 10;          
    text-align: center;
}

/* name input */
input[type="text"] {
                      outline: 0;
                    align-items: center;
                    background: 0 0;
                    border: none;
                    cursor: pointer;
                    display: inline-flex;
                    flex-shrink: 0;
                    font-family: 'Kode_Mono';
                    font-size: 16px;
                    justify-content: center;
                    line-height: 1.5;
                    overflow: hidden;
                    padding: 12px 16px;
                    text-decoration: none;
                    text-overflow: ellipsis;
                    text-align: center;
                    width: 100%;
                    transition: all .14s ease-out;
                    white-space: nowrap;
}

/* button styling */
input[type="button"] {
                    outline: 0;
                    align-items: center;
                    background-color: #806b28;
                    border: 1px solid #000;
                    cursor: pointer;
                    display: inline-flex;
                    flex-shrink: 0;
                    font-family: 'Kode_Mono';
                    font-size: 16px;
                    color: #e2d8bf;
                    justify-content: center;
                    line-height: 1.5;
                    overflow: hidden;
                    padding: 12px 16px;
                    text-decoration: none;
                    text-overflow: ellipsis;
                    transition: all .14s ease-out;
                    white-space: nowrap;
}

input[type="button"]:hover {
                        box-shadow: 4px 4px 0 #000;
                        transform: translate(-4px,-4px);
                    }
                    :focus-visible{
                        outline-offset: 1px;
                    }

/* buttons under the game */
#buttons {
    width: 700px;
    margin: 30px auto 0 auto;
    text-align: center;
}

/* button 2 styling */
#buttons2 button {
                    outline: 0;
                    align-items: center;
                    background-color: #806b28;
                    border: 1px solid #000;
                    cursor: pointer;
                    display: inline-flex;
                    flex-shrink: 0;
                    font-family: 'Kode_Mono';
                    font-size: 16px;
                    color: #e2d8bf;
                    justify-content: center;
                    line-height: 1.5;
                    overflow: hidden;
                    padding: 12px 16px;
                    text-decoration: none;
                    text-overflow: ellipsis;
                    transition: all .14s ease-out;
                    white-space: nowrap;
}

#buttons2 button:hover {
                        box-shadow: 4px 4px 0 #000;
                        transform: translate(-4px,-4px);
                    }
                    :focus-visible{
                        outline-offset: 1px;
                    }

#buttons2 {
    z-index: 100;
    width: 700px;
    margin: 200px auto 0 auto;
    text-align: center;
}

/* button 3 styling */
#buttons3 button {
                    outline: 0;
                    align-items: center;
                    background-color: #806b28;
                    border: 1px solid #000;
                    cursor: pointer;
                    display: inline-block;
                    flex-shrink: 0;
                    font-family: 'Kode_Mono';
                    font-size: 16px;
                    color: #e2d8bf;
                    justify-content: center;
                    line-height: 1.5;
                    overflow: hidden;
                    padding: 12px 16px;
                    text-decoration: none;
                    text-overflow: ellipsis;
                    transition: all .14s ease-out;
                    white-space: nowrap;
}

#buttons3 button:hover {
                        box-shadow: 4px 4px 0 #000;
                        transform: translate(-4px,-4px);
                    }
                    :focus-visible{
                        outline-offset: 1px;
                    }

#buttons3 {
    width: 700px;
    margin: 30px auto 0 auto;
    text-align: center;
}
