/* These are the default colour codes for the layout.
Changing the colour code here will update it for any element that uses it. */
:root {
    /* Default: Pink */
    --primary: #ffc9c6;

    /* Default: Light Pink old is #ffedeb */
    --primary_light: #ffedeb;

    /* Default: Dark Pink */
    --primary_dark: #ee918c;

    /* Default: White */
    --secondary: #fefbf5;

    /* Default: Brown */
    --tertiary: #ad4944;

    /* Default: Blue */
    --link: #2453d4;
}

body {
    background: var(--secondary);
    background-image: url(img/bg.gif);
    color: var(--tertiary);
    font-size: 16px;
    font-family: MS Gothic, Verdana, sans-serif;
    line-height: 18px;
}

/* Link Styling */
a {
    color: var(--link);
    /* Adds a smooth effect to link hover. */
    transition: 0.1s all ease-in-out;
}

a:hover {
    color: var(--primary_dark);
}

/* Header Styling */
h1 {
    display: block;
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 10px;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

h2 {
    display: block;
    font-size: 17px;
    margin-top: 3px;
    margin-bottom: 7px;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

h3 {
    display: block;
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 3px;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

/* Table Styling */
table {
    border-collapse: collapse;
    width: 100%;
}

table td, table th {
    border: 1px solid var(--primary);
    padding: 4px;
}

table th {
    text-align: left;
    background-color: var(--primary_light);
}

/* List Styling */
ul {
    list-style-image: url('img/heart_bullet.gif');
    list-style-position: inside;
    margin: 5px;
    padding: 0;
}

.windows {
  display: flex;          /* side by side by default */
  gap: 20px;              /* spacing between windows */
    align-items: flex-start; /* ✅ align boxes at the top */


}

.pik {
width: 20px !important;
    height: auto;
}

.covcon {
    display: inline-block;
        background: var(--secondary);
    border: 1px solid var(--tertiary);
    border-radius: 11px;
	padding: 7px;
    width: fit-content;
    box-shadow: 2px 2px 0 var(--primary);
    margin: 5px auto;
}
.cov {
    max-width: 100%;
    justify-content: center;
    margin: 0 auto;
    height: auto;
}


.container {
    flex: 1;
    background: var(--secondary);
    border: 1px solid var(--tertiary);
    border-radius: 11px;
	padding: 7px;
    width: 800px;
    box-shadow: 2px 2px 0 var(--primary);
    margin: 5px auto;
    /*cursor: move; */
}

.box {
    flex: 1;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;

    border: 1px solid var(--primary);
	border-radius: 0 0 11px 11px;
    padding: 5px;
}

.box img {
      width: 100%;
  height: auto;
    /* keeps aspect ratio */
}

.box1 {
    flex: 0.5;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
    width: 150;
    

    border: 1px solid var(--primary);
	border-radius: 0 0 11px 11px;
    padding: 5px;
}

.box2 img {
      width: 100%;
  height: auto;
    /* keeps aspect ratio */
}


.boxA {
    border: 1px solid var(--primary);
	border-radius: 11px 11px 11px 11px;
    padding: 5px;
}

.box_header {
    /*this is the titlebar ok? ok */
	border: 1px solid var(--primary);
	border-radius: 11px 11px 0 0;
    background-color: var(--primary_light);
    height: 20px;
    padding: 5px;
    /* This centers the text vertically. */
    line-height: 20px;
}

/* Changes the brightness of the fake buttons on hover. Also changes the cursor. */
.box_header img:hover {
    filter: brightness(103%);
    cursor: pointer;
}

.titlegif {
    object-fit: contain;
    height: 24px;
    width: 24px;
}



.image_A {
  display: flex;
  justify-content: center;
  margin-top: 1em;
  margin-bottom: 1em;
  width: 100%;
  }
  


/* Darkens and saturates the buttons on click. Also changes the cursor. */
.box_header img:active {
    filter: brightness(60%) saturate(125%);
    cursor: pointer;
}

/* Mobile Support */
@media only screen and (max-width: 890px) {
    .container {
        position: relative;
        width: 100%;
        margin: unset;
        margin-bottom: 5px;
    }
}

/* 📱 Responsive: stack vertically on small screens */
@media (max-width: 600px) {
  .windows {
    flex-direction: column;
  }
}

