
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300&display=swap');
@font-face {
  font-family: "BirdieTown";
  src: url("https://files.catbox.moe/df8jqw.otf") format("opentype");
}

:root {
    /* Images */
    
    /*Put your entire header background image CSS here */
    --header-background: url(chibis.png) center no-repeat; 
    --backgroundimg: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
                 url(media/redbirdies_compressed.png);
    
    /*Hamburger menu icons*/
    --burgericon:url(burger.svg); /* Path to burger vector */
    --closeicon:url(close.svg); /* Path to close vector */
    
    /*Fonts*/
    --body-font: Nunito, sans-serif; /* Body text font */
    --header-font: BirdieTown, sans-serif; /* Font for headers */
    
    /* Colors */
    /* If you want a transparent background for any element, set the value to none */
    
    --background: #111111; /*Main background color*/
    --textcolor: #f2f2f2; /*Body text color*/
    
    --mainbg: linear-gradient(
		  to bottom,
		  rgba(100, 100, 100, 0.80) 0%,
		  rgba(26, 26, 26, 0.95) 1%,
		  rgba(0, 0, 0, 0.95) 100%
		);

    --mainlink: #fff; /*Content link color*/
    --mainlinkhover: #fff; /*Content link hover color*/
    
    /*Header text colors*/
    --h1color: #e30219;
    --h2color: #e30219;
    --h3color: #e30219;
    --h4color: #b5b5b5;
    
    --navbg:  linear-gradient(
		  to bottom,
		  rgba(100, 100, 100, 0.80) 0%,
		  rgba(26, 26, 26, 0.95) 1%,
		  rgba(0, 0, 0, 0.95) 100%
		); /*Sidebar background color*/
    --navheader: #b5b5b5; /*Sidebar header color*/
    --navborder: #fff; /*If you don't want a border under the headers in the menu, change this to none*/
    
    --navlink: #f2f2f2; /*Sidebar link color*/
    --navlinkbg: none; /*Sidebar link background*/
    --navlinkhover: #fff; /*Sidebar link hover color*/
    --navlinkbghover: #b30000; /*Sidebar link hover background*/
    --navcolor:#fff; /*Color of hamburger menu icon*/
    
    --formbg: #ebebeb; /*Form element background*/
    --formtext:#666; /*Form element text color*/
    
    --overlay:rgb(0,0,0,0.5); /*Overlay when hamburger menu is open*/
    
}

* { margin: 0; padding: 0; }

body { 
    background: var(--background); 
    background-image: var(--backgroundimg);
    background-position: center center;
	background-repeat: repeat;
	background-size:250px;
    /* background-repeat: x-repeat; */
    /* background-size: auto 100vh; */
    /* background-attachment: fixed; */
    color: var(--textcolor);
    font: 1rem var(--body-font);
}

#container { 
    max-width: 800px;
    padding: 10px;
    margin: 25px auto;
    display: flex;
    gap:15px;
    flex-wrap:wrap;
}

#main-header {
    height: 150px; 
    flex:1 0 100%;
    background: var(--header-background);
    background-size:cover;
}

main { 
    padding:15px;
    background:var(--mainbg);
    flex:1 1 calc(80% - 50px);
    border: 2px outset #BCBCBC; 
}

main a { 
    color: var(--mainlink); 
}

main a:hover, main a:focus { 
    color: var(--mainlinkhover); 
}

main p {
    margin:.5em 0px .5em 0px;
    line-height:1.5;
}

h1 {
    font: 3em var(--header-font); 
	font-weight: 900;
    color: var(--h1color);
}

main h2 { 
    font: 2em var(--header-font);
	font-weight: 900;
    color: var(--h2color);
}

main h3 { 
    font: 1.25em var(--body-font); 
    color: var(--h3color);
	font-weight: 500;
}

main h4 {
    font:1em var(--header-font);
    font-style:italic;
	font-weight: 700;
}

main img { 
    margin: 5px; 
    max-width:90%;
}

main ul { 
    list-style: inside; 
}

main ul li ul {
    margin-left:15px;
}

main input, textarea, select, button { 
    background: var(--formbg); 
    color: var(--formtext); 
    border: 1px solid; 
    font: 1em var(--body-font);
    padding: 5px; 
    margin: 5px;
}

#sidebar {
    flex:1 1 20%;
    min-width: 0;
}

.item {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: var(--navbg);

    box-sizing: border-box;

    overflow: hidden;
    flex-shrink: 0;
    border: 2px outset #BCBCBC; 
}

.item-inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.item-inner img,
.item-inner iframe,
.item-inner embed,
.item-inner object {
    max-width: 100%;
    height: auto;
    display: block;
}

.item-inner > * {
    min-width: 0;
}

.menu h2 { 
    font: 1.2rem var(--header-font); 
	font-weight: 900;
    border-bottom: 1px solid var(--navborder);
    color:var(--navheader);
}

.menu ul {
    list-style:none;
    display:inline;
    margin:0;
}

.menu ul li {
    display:block;
}

.menu a { 
    display: block; 
    text-decoration: none; 
    padding:5px;
    color: var(--navlink);
    background:var(--navlinkbg);
}

.menu a:hover, .menu a:focus { 
    color: var(--navlinkhover);
    background: var(--navlinkbghover);
}

footer {
    background:var(--mainbg);
    padding:15px;
    text-align:center;
    flex: 1 0 calc(100% - 30px);
}

/* Burger menu styles */

#burger {
    display:none;
    width:100%;
    position:fixed;
    top:0;
}

#burger summary {
    list-style-type: none;
    cursor: pointer;
    display:flex;
    align-items:center;
    color:var(--background);
    padding:5px;
    background:var(--background);
}

#burger summary::before, #burger[open]>summary::before {
    height:40px;
    width:40px;
    background:var(--navcolor);
}

#burger summary::-webkit-details-marker {
    display: none;
}

#burger summary::before {
    content: '';
    mask-image:var(--burgericon);
    -webkit-mask-image:var(--burgericon);
    mask-size:40px;
    -webkit-mask-size:40px;
}

#burger[open]>summary::before {
    content: '';
    mask-image:var(--closeicon);
    -webkit-mask-image:var(--closeicon);
    mask-size:40px;
    -webkit-mask-size:40px;
}

#burger[open] {
    position:fixed;
    background:var(--overlay);
    z-index: 100;
}

.skip a {
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}
 
.skip a:focus {
    position:static;
    width:auto;
    height:auto;
}

#burger-menu {
    height:100vh;
    overflow:auto;
    z-index:1000;
    background:var(--navbg);
    width:200px;
}

#burger-menu .item {
    margin:0;
    padding:10px;
}

/* Skip to content button */
#skip a {
    position:absolute;
    display:inline-block;
    left:0px;
    top:-1000px;
    overflow:hidden;
    transition:top 0.5s ease;
    background:var(--mainbg);
    color:var(--mainlink);
    z-index:1001;
    padding:5px;
}
 
#skip a:focus {
    top: 0;
    transition:top 0.5s ease;
}

.modal {
	display:none;
    position: fixed;
    z-index: 1;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
	max-width:100vw;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  margin: 50px auto 0 auto;
  display: block;
  width: 40%;
  max-width: 700px;
  background: #100f13;
  box-shadow: 7px 7px 7px rgba(0, 0, 0, 0.5);
  padding: 15px;
  border: 1px groove;
}

.modal-side-img {
  position: absolute;
  top: 45%;
  right: 5%;
  transform: translateY(-50%);
  width: auto;
  max-width: 30vw;
  pointer-events: none;
}

.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

#acceptButton {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    padding: 5px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
	transition: background-color 0.5s;
}

#acceptButton:hover {
    background-color: #A6A6A6;
    color: #000000;
}
a img:hover, #main-header:hover {
    transform: scale(1.02) rotate(3deg);
}
a img, #main-header {
    transition: transform 0.3s ease;
}
table {
    width: 100%;
    table-layout: fixed;
}

td {
    overflow: hidden;
}

td img {
    max-width: 100%;
    height: auto;
    display: block;
}

.birdie {
    position: relative;
    max-width: 100px;
}

a, a:visited {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.5s ease, letter-spacing 0.5s ease;
}

a:hover, a:active {
    color: #e30219;
    letter-spacing: 1.25px;
}

.highlight {
   background-color: #e30219;
   color: white;
}

::selection {
    background: #e30219;
    /* WebKit/Blink Browsers */
    color: white;
}
::-moz-selection {
    background: #e30219;
    /* Gecko Browsers */
    color: white;
}
@media (max-width: 900px) {
	.modal-side-img {
	  position: absolute;
	  top: 45%;
	  right: -10%;
	  transform: translateY(-50%);
	  width: auto;
	  max-width: 45vw;
	  pointer-events: none;
	}
}

@media screen and (max-width:600px) {
    
    main {
        flex-basis:100%;
    }
    
    #sidebar {
        display:none;
    }
    
    #burger {
        display:block;
    }
    
    footer {
        margin-top:0px;
    }
	 .modal-side-img {
		position: absolute;
		top: 50%;
		right: -44%;
		transform: translateY(-50%);
		width: auto;
		max-width: 90vw;
		pointer-events: none;
	  }
}

/*ABOUT ME*/
.profile {
    margin-bottom: 2em;
}

.profile-section img {
    float: left;
    width: 200px;
    height: 200px;
    margin: 20px;
    border-radius: 5px;
}

.bio {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.likes, .dislikes {
    width: 48%;
}

.likes-list, .dislikes-list {
    list-style-type: none;
}

.likes-list li, .dislikes-list li {
    margin-bottom: 5px;
}

/*88x31 BUTTONS*/
.button-table {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.button-column {
    width: 48%;
    text-align: center;
}

textarea {
    width: 100%;
	max-width:51%;
}
#more {display: none;}
#myBtn {    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
	transition: background-color 0.2s;
}
#myBtn:hover {
    background-color: #A6A6A6;
    color: #000000;

/*GALLERY*/
#blank-container img {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 30%;
  max-width: 30%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}
/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 47%;
    max-width: 47%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}

