/* The following CSS applies on all screen sizes */

/* Colors and fonts */
:root {
    --header-bg: url('https://ghouls-gallimaufry.neocities.org/Otherstuff/OtherBanner.png');

    /* Main colors */
    --block:#f9f8f9; /* Background color for the grid blocks in the content */

    --link:#2ACFDB;
    --linkhover:#2f034a;


    /* Sidebar colors */
    --sidebar:#f9f8f9;
    

    /* Menu colors */
    --menubg:#e8fffa;
    --menucolor:#000000;
    --menubghover:#e8fffa;
    --menucolorhover:#2c1a30;
    --cursor1:url('https://ghouls-gallimaufry.neocities.org/SmileCurs.png'),default;
    --cursor2:url('https://ghouls-gallimaufry.neocities.org/skeleCurse.png'),pointer;
}

* { margin:0; padding:0; }
   
    /* Fonts */
@font-face{
  font-family:'font1';
  src:url('https://ghouls-gallimaufry.neocities.org/Otherstuff/SourGummy_SemiExpanded-Regular.ttf') format("truetype");
}

@font-face{
  font-family:'font2';
  src:url('https://ghouls-gallimaufry.neocities.org/Otherstuff/Otherstuff/Honk-Reg.ttf') format("truetype");
}

h1, {
  text-align: center;
    font-family: 'font2';
}
h2, {
  text-align: center;
    font-family: 'font2';
}
h3, {
  text-align: center;
    font-family: 'font2';
}
h4, {
  text-align: center;
    font-family: 'font2';
}
p {
    font-family: 'font1';
}

/* Main body styling */
body {
 background-color: #bb69fa;
opacity: 1;
background-image: repeating-linear-gradient(0deg, #021e9d, #021e9d 3.7px, #bb69fa 3.7px, #bb69fa);
background-position: 0 0, 40px 40px;
background-size: 80px 80px;
cursor: var(--cursor1);
  font-family: 'Font1'; 
}


/* Rounded corners - feel free to get rid of this or change it */

main section, #sidebar-content, #main-footer {
    border-radius:20px;
    
}

/* Sidebar styling */

#sidebar-content {
    text-align:center;
    background: var(--sidebar);
    color: var(--sidebarcolor);
    padding:10px;
      font-family: 'Font1';
}

#sidebar-content header {
    color:var(--title);
    font:1.8em var(--font2);
    margin:8px;
    font-family: 'Font2';
}

#sidebar-content p a {
    color:var(--sidebarlink);
    transition:0.5s ease;
}

#sidebar-content p a:hover {
    color:var(--sidebarlinkhover);
    transition:0.5s ease;
     cursor: var(--cursor2);
}

.icon img {
    border-radius:100%; /* This makes the icon a circle - feel free to remove or reduce for a rectangle or square */
    max-width:150px; /* This can be changed to make the icon smaller; you might have to mess with the border radius too */
}

/* Styling for the menu */

#main-menu {
    font:1.1em;
    width:100%;
      font-family: 'Font1';
}

#main-menu ul {
    list-style:none;
}

#main-menu li a {
    padding:7px;
    background:var(--menubg);
    color:var(--menucolor);
    text-decoration:none;
    transition:0.5s ease;
}

#main-menu li a:hover, #main-menu li a:focus {
    background: var(--menubghover);
    color:var(--menucolorhover);
    transition:0.5s ease;
     cursor: var(--cursor2);
}

/* Content styling */

main {
      font-family: var(--font1);
    margin-top:10px;
}

/* Styling for blocks */

main section, #main-footer {
    padding:15px;
    background:var(--block);
    margin-bottom:10px;
}



p {
    line-height:1.5;
    margin:10px 0 10px 0;
    font-family:var(--font1);
}

main a {
    color:var(--link);
    transition:0.5s ease;
    font-family: var(--font2);
}

main a:hover, main a:focus {
    color:var(--linkhover);
    transition:0.5s ease;
     cursor: var(--cursor2);
}

main ul {
    list-style-position: outside;
    list-style-type: "❤︎ "; 
    margin-left: 25px;
}

main ul li {
    line-height:1.5;
    list-style-type: "❤︎ "; 
}

main img {
    max-width:100%;
}

main input, textarea, select, button { 
    background: var(--block);  
    color: var(--color);
    font: 1rem var(--font1); 
    border: 1px solid; 
    padding: 8px; 
    margin: 2px;
}

#main-footer {
    text-align:center;
}

/* The following CSS ONLY applies to mobile/small screens */

/* Container styling */
#container {
    width: calc(100% - 20px);
    padding:10px;
    margin-top:10px;
}

#sidebar-content {
    width: calc(100% - 20px);
}

#main-menu li {
    margin-bottom:15px;
    display:inline-block;
}

/* Skip to content button */

#skip a {
    position:absolute;
    display:inline-block;
    left:0px;
    top:-1000px;
    overflow:hidden;
    transition:top 0.5s ease;
    background:var(--block);
    color:var(--link);
    z-index:1000;
    padding:5px;
}
 
#skip a:focus {
    top: 0;
    transition:top 0.5s ease;
}

/* The following CSS ONLY applies to desktop/big screens */

@media screen and (min-width: 800px) {
    #container {
           width:90%;
        margin:25px auto;
        display:flex;
        gap:20px;
        
    }

    #sidebar {
        flex: 1 1 calc(25% - 20px);
        margin-top:10px;
           font: 1rem var(--font2);
    }
    
    /* Remove or comment out this block if you don't want a sticky sidebar */
    #sidebar-content {
        position:sticky;
        top:10px;
    }

    /* Make menu links into a column */

    #main-menu li {
        display:block;
        margin:0;
    }

    #main-menu li a {
        display:block;
        border-bottom:1px solid;
    }

    main {
        flex: 1 1 calc(75% - 30px);
        display:flex;
        flex-wrap:wrap;
        gap:10px;
    }
    
    #main-footer {
        flex: 1 1 calc(100% - 40px);
    }

    /* Defining grid blocks */

    .full { flex: 1 1 calc(100% - 40px);}
    .half { flex: 1 1 calc(50% - 40px); }
    .third { flex: 1 1 calc(33% - 40px); }
    .twothird { flex: 1 1 calc(66% - 40px); }
    .quarter { flex: 1 1 calc(25% - 40px); }
    .threequarter { flex: 1 1 calc(75% - 40px); }
  
    .youtube-video-container {
      position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    max-width: 1280px;
    margin: 0 auto;
}

.youtube-video-container::after {
  display: block;
  content: "";
  padding-top: 56.25%;
}

.youtube-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
}
