/* raleway */
@font-face {
    font-family: 'Raleway';
    src: url('/static/fonts/Raleway-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900 !important; /* Define weight range for variable font */
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Raleway';
    src: url('/static/fonts/Raleway-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900 !important; /* Define weight range for variable font */
    font-style: italic;
    font-display: swap;
}

/* source serif */
@font-face {
    font-family: 'Source Serif';
    src: url('/static/fonts/SourceSerif4-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900 !important; /* Define weight range for variable font */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Serif';
    src: url('/static/fonts/SourceSerif4-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900 !important;
    font-style: italic;
    font-display: swap;
}




/* #fbfbfb would be default, general background color, close to white.
#db4d5b is the red colour, this red.
#161616 would be default font color, close to black.
#d9dad9 is the aluminum steel color.
#a0a0a0 used if a non-particular gray color is needed.*/


/* blue color: #1D428A */
/* brown color: #3c280d. used by about esp. */


/* source serif for all? */
/* raleway for "copy to clipboard" and for the alerts */

html, body {
    height: 100%;
    display: flex; /* flex, so for footer */
    flex-direction: column; /* flex, so for footer. */
}

html, body {
    overflow-x: hidden; /* Prevents side scrolling */ /* otherwise, footer at left shows whitespace on scroll to left in some. */
    max-width: 100vw;   /* Ensures nothing exceeds the viewport */
    scrollbar-width: thin;
}

html, body, button {
    font-family: 'Source Serif', Georgia, Book Antiqua, Palatino Linotype, serif;
    font-size: 0.98rem;
    color: #161616;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fbfbfb;
}



/* remove margin that comes by default with p.<br> be used instead. */
p {
    margin: 0;
}


/* Accent-color for all checkboxes and radio Use accent-color for modern browsers */
input[type="checkbox"] {
    accent-color: teal;
}
  
input[type="radio"] {
    accent-color: teal;
}

select {
    display: none !important;
    visibility: hidden !important;
}
select option {
    display: none !important;
    visibility: hidden !important;
} 


/* defaults ended */





/* NAV:: */

/* General styles for the navbar */
.grid-container {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #f0f0f0;
    padding: 0.16rem 0.16rem;
    border-bottom: 0.0218rem solid #c9c9c9;
    z-index: 10;
    /* box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); */
    height: 3.24rem;
    display: grid;
    grid-template-columns: 14% 35% 15% 32%; /* 5% rem, taken from the last; 5% taken from the second. 1% added to the first. */
    align-items: left; /* Vertically align items */
    gap: 1%;
}

nav {
     margin-bottom: 3.2rem;
}


.logo img {
    height: 2.8rem;
    width: 2.8rem;
    align: center;
    border-radius: 25%;
    margin-top: 0.2rem;
    margin-left: 0.1rem;
    border: 0.0214rem solid #c9c9c9;
}

/* First link styles */
.link a {
    display: block;
    text-align: left;
    font-size: 0.54rem;
    margin-top: 1.60rem;
    margin-left: 0.385rem;
    text-decoration: none; /* Remove underline */
    color: #211214;
}

/* Button and below-link group */
.button-link {
    display: flex;
    flex-direction: column; /* Stack button and link vertically */
    align-items: center; /* Center both horizontally */
    justify-content: flex-start; /* Align content to the top */
}

.button-link button {
    font-size: 0.72rem; /* Button font size */
    padding: 0.12rem 0.12rem; /* Adjust padding for the button */
    border: none;
    align-content: right;
    text-align: center;
    cursor: pointer;
    margin-top: 0.611rem; /* At least 25% margin from the top */
    font-weight: 580;
}

.button-link .aN {
    border-radius: 16%;
    background-color: #EAE6E6; /* Button background color */
    color: #1D428A;    
}

.button-link .bN {
    border-radius: 5%;
    background-color: #1D428A; /* Button background color */
    color: #fbfbfb;
}


.button-link a {
    font-size: 0.4rem; /* Font size for link below button */
    margin-top: 0.1rem; /* 0.1rem space below button */
    text-decoration: none; /* Remove underline */
    color: #211214; /* Link color */
    text-align: center; /* Center the text */
    align-content: center;
    transition: font-size 0.2s ease;
}
.button-link a:hover {
    font-size: 0.5rem;
}

/* Add hover effects */
.fixed-nav a:hover,
.fixed-nav button:hover {
    opacity: 0.8;
}


/* NAV css COMPLETED;; */


/* body-wrapper default. body-wrapper for main/middle of nav and footer content. */

.body-wrapper {
    flex: 1; /* flex to 1, so footer goes to button regardless of small body-wrapper content. */
    width: 92%;
    margin: 0 auto; /* Center it horizontally */
    text-align: left;
    word-break: keep-all;
    /* overflow-y: auto; /* to add scroll bar if content overflows vertically. *//*    this overflow-y is uncomplimentary with footer and flexbox need. */
}

/* body-wrapper default, that up */





/* FOOTER:: */

footer {
    background: linear-gradient(#4D0012ce, #002244fb);
    background-blend-mode: soft-light;
    border-top-left-radius: 0.4rem;
    border-top-right-radius: 0.4rem;
    color: #cfcfcf;
    margin: 2.5rem 0 0 0;
    font-weight: 455;
    font-size: 0.63rem;
    padding: 0.7rem 0.35rem 0.13rem 0.35rem;
}

footer a {
    text-decoration: none;
    color: #cfcfcf;
    max-width: max-content;
}

footer button {
    color: #161616;
    font-weight: 455;
    font-size: 0.78rem;
}

footer .subscribe {
    margin-bottom: 0.96rem;
    font-size: 0.74rem;
}

footer .subscribe input {
    background-color: #f0f0f0;
    font-family: 'Source Serif';
    font-style: italic;
    width: 45%;
    max-width: 43.2rem;
    border: 0.084rem solid #a0a0a0;
    border-radius: 0.71rem;
    margin-right: 0.12rem;
    display: inline-block;
}

/* footer .subscribe select {
    /* these are additions to prior, to hide default appearance */
    /* padding: 1.5px 3.5px 0px 3.5px;
    border: 1px solid #ccc;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    /* additions end, below are the priors */
    /* color: #db4d5b;
    background-color: #ffffff10;
    font-family: 'Source Serif';
    font-style: italic;
    width: 30%;
    max-width: 28.8rem;
    border: 0.084rem solid #a0a0a0;
    border-radius: 0.71rem;
    cursor: pointer;
    margin-right: 0.12rem;
} */

footer .subscribe button {
    width: 15%;
    max-width: 14.4rem;
    border: 0.084rem solid #a0a0a0;
    border-radius: 0.6rem;
    margin: 0 0 0 0.22rem;
    cursor: pointer;
}

footer .one, footer .two {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 1.5%;
}

footer .one .oneA, footer .one .remOneB, footer .two .twoA, footer .two .twoB {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.11rem;
}

footer .one button {
    margin-top: 0.4rem;
    margin-bottom: 1.1rem;
    border: none;
    border-radius: 0.25rem;
    background-color: #00224492;
    color: #fbfbfb;    
    padding: 0.1rem 0.25rem; 
    text-align: center;
    margin-left: 10%;
}

footer .two {
    border-top: 0.04rem dashed #fbfbfb;
    padding-top: 0.2rem;
}
footer .twoA a {
    text-decoration: underline;
    font-style: italic;
    font-weight: 680;
}
footer .three {
    font-size: 0.53rem;
    text-align: center;
    margin: 0 0.3rem;
}
footer .three a {
    padding: 0.13rem;
    color: #fbfbfb;
}

footer .smPic {
    height: 0.88rem;
    width: 0.88rem;
    background-color: #cfcfcf7f;
    border-radius: 0.14rem;
    margin-left: 0.25rem;
    margin-right: 0.75rem;
}


/* Footer's single-select dropdown: on */


/* select primary box covered in its own css, above. */
/*   #category::after {
    content: " ▼"; /* Dropdown Arrow */
    /*float: right;
  } */
  
  /* Hide default dropdown */
  /* #category option {
    display: none;
  }*/
  
  footer .subscribe .cstmSngle {
    color: #db4d5b;
    background-color: #ffffff10;
    font-family: 'Source Serif';
    font-style: italic;
    width: 30%;
    max-width: 28.8rem;
    border: 0.084rem solid #a0a0a0;
    border-radius: 0.71rem;
    cursor: pointer;
    margin-right: 0.12rem;
    padding: 1.5px 3.5px 0px 3.5px;
    display: inline-block;
  }
  
  /* Floating dropdown box */
  .select-modal {
    display: none;
    position: absolute;
    width: 100%;
    background: #f4f4f4;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    max-height: 15rem; /* Set scrollable height */
    overflow-y: auto;
    padding: 0;
    z-index: 10;
    scrollbar-width: thin;
  }
  
  /* Style for options */
  .select-modal label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px;
    cursor: pointer;
  }
  
  /* Radio button */
  .select-modal input[type="radio"] {
    margin-left: 2px;
  }
  
  
  /* Accent-color for all checkboxes and radio Use accent-color for modern browsers *//* Already in defaults although, but ok also here */
  input[type="checkbox"] {
    accent-color: teal;
  }
  
  input[type="radio"] {
    accent-color: teal;
  }
    


/* FOOTER css COMPLETED */














.body-wrapper .undoDel label {font-size: 15px}
.body-wrapper .undoDel input {font-size: 12px}
@media (min-width: 576px) {
.body-wrapper .undoDel label {font-size: 15px;}
.body-wrapper .undoDel input {font-size: 12px;}
}
@media (min-width: 768px) {
.body-wrapper .undoDel label {font-size: 16px;}
.body-wrapper .undoDel input {font-size: 13px;}
}
@media (min-width: 992px) {
.body-wrapper .undoDel label {font-size: 16px;}
.body-wrapper .undoDel input {font-size: 13px;}
}
@media (min-width: 1200px) {
.body-wrapper .undoDel label {font-size: 17px;}
.body-wrapper .undoDel input {font-size: 14px;}
}
@media (min-width: 1600px) {
.body-wrapper .undoDel label {font-size: 17px;}
.body-wrapper .undoDel input {font-size: 14px;}
.body-wrapper .undoDel p {text-align: center;}
}









.att {font-size: 14px}
@media (min-width: 576px) {
.att {font-size: 14px;}
}
@media (min-width: 768px) {
.att {font-size: 15px;}
}
@media (min-width: 992px) {
.att {font-size: 15px;}
}
@media (min-width: 1200px) {
.att {font-size: 16px;}
}
@media (min-width: 1600px) {
.att {font-size: 16px;}
}






















/* media responsiveness here: */


html {
    font-size: 16px; /*3.472222222px; /* Base size for mobile devices (default) */ /* change back to 10px by the way. The 3.4722 is to scale iphonexr:the 288 default emulator. */
}

/* For small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    html {
        font-size: 17px; /* Slightly larger for small tablets and landscape phones */
    }
}

/* For medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    html {
        font-size: 18px; /* Default size for tablets */
    }
}

/* For large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    html {
        font-size: 19px; /* Larger for desktops */
    }
}

/* For extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    html {
        font-size: 20px; /* Largest for extra large screens */
    }
}

/* For extra extra large devices (very large screens, 1600px and up) */
@media (min-width: 1600px) {
    html {
        font-size: 21px; /* Even larger for very large screens */
    }
}



/* responsiveness for editor */
@media (min-width: 620px) {
    .pfrm .editor-container {
        max-width: 55vw; /* Largest for extra large screens */
    }
}

@media (min-width: 720px) {
    .pfrm .editor-container {
        max-width: 45vw; /* Largest for extra large screens */
    }
}



