*, *::before, *::after {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    padding: 0;
    margin: 0;
    scroll-snap-type: y;
}

body {
    font-size: 1rem;
    font-family: 'Play', sans-serif;
    font-weight: 900;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-weight: 400;
}

/* SIDE NAVIGATION SETTINGS */
nav {
background: transparent;
position: absolute;
}

.sidenav {
height: 100%; 
width: 0; 
position: fixed; 
z-index: 1; 
top: 0; 
left: 0;
background: rgba(0, 35, 65, 1);
overflow-x: hidden;
padding-top: 60px; 
transition: 0.5s; 
}

.sidenav a:not(.closebtn) {
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: rgba(244, 244, 244, 1);
display: block;
transition: 0.3s;
border-bottom: .2rem solid rgba(244, 244, 244, 1);
}

.sidenav a:hover:not(.closebtn) {
    color: rgba(214, 41, 0, 1);
    border-bottom: .2rem solid rgba(214, 41, 0, 1);
}

.sidenav .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 3rem;
margin-left: 50px;
cursor: pointer;
}

.closebtn {
    color: rgba(244, 244, 244, 1);
}

.closebtn:hover {
    color: rgba(214, 41, 0, 1);
}

#main {
transition: margin-left .5s;
}

#toggle {
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(244, 244, 244, 1);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.24);
    margin: 1em;
    border-radius: 5px;
    transition: .3s ease-in-out;
}

#toggle:hover {
    background:rgba(214, 41, 0, 1);
    color: rgba(244, 244, 244, 1);
}

#toggle.active {
    background: rgba(214, 41, 0, 1);
}

#toggle.active::before {
    transform: translateY(0px) rotate(-45deg);
    background: rgba(0, 35, 65, 1);
}

#toggle.active::after {
    transform: translateY(0px) rotate(45deg);
    background: rgba(0, 35, 65, 1);
}

#toggle::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
background: rgba(0, 35, 65, 1);
    transition: .3s;
    transform: translateY(-10px);
    box-shadow: 0 10px 0 rgba(2, 53, 91, 1);
}

#toggle::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background:rgba(2, 53, 91, 1);
    transition: .3s;
    transform: translateY(10px);
}

@media screen and (max-height: 450px) {
.sidenav {padding-top: 15px;}
.sidenav a {font-size: 18px;}
}



/* MY-CONTEINER STYLE SETTINGS */
.my-container {
    background: rgba(244, 244, 244, 1);
    color: rgba(100, 99, 99, 1);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 100px 1fr auto;
    font-family: 'Play', sans-serif;
    font-size: clamp(1rem, 3vw, 1.4rem);
}

/** HEADER STYLE SETTINGS */
header {
    background-image: url('/images/NALC-Banner-v2.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

/** MAIN STYLE SETTINGS */
main {
    background: rgba(255, 255, 255, 1);
    /* color: rgba(112, 111, 111, 1); */
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
}

main h4 {
    color: rgba(0, 35, 65, 1);
    margin-left: 1.5em;
}

h4 b {
    font-size: 2rem;
}

.main-intro-container {
    background: rgba(244, 244, 244, 1);
    color: rgba(102, 101, 101, 1);
    margin: 0;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    overflow-y: scroll;
    max-height: 50vh;
}

.main-intro-container ol {
    list-style: none; 
    counter-reset: li;
}

.main-intro-container ol li {
    margin: .2em 0;
    padding: .5rem;
}

.main-intro-container ol li::before {
    content: counter(li); 
    color: grey;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
    font-size: 2rem;
    color: rgba(0, 35, 65, 1);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.main-intro-container ol li {
    counter-increment: li;
}

.main-intro-container ul {
    list-style-image: url('/images/NALC-list-img-v2.png');
    margin: 0;
    padding: 0;
}

.main-intro-container ul li {
    margin-left: 2em;
    margin-bottom: .5em;
}

.main-title {
    font-size: clamp(1.7rem, .5rem + 8vw, 3.5rem);
    margin-top: 0;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    color: rgba(176, 29, 42, 1);
    font-weight: bolder;
    text-align: center;
    border-bottom: .3rem solid rgba(176, 29, 42, 1);
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.shape {
    width: 10rem;
    float: right;
    shape-outside: circle(50%);
    transition: .3s ease-in-out;
  }

.signature {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
}

.signature img {
    border-radius: 5px;
}

.article {
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 1);
    color: rgba(112, 111, 111, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.article b {
    display: block;
    margin-bottom: .5em;
}

.article-row {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
}

.desc-box {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    padding: 10px;
    margin: 10px 0;
    background: rgba(2, 53, 91, 1);
    color: rgba(244, 244, 244, 1);
}

.desc-box b {
    display: block;
    color: rgba(244, 244, 244, 1);
    margin-bottom: .5em;
}

.image {
    margin: 0 auto;
    width: 70%;
}

.image img {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    width: 100%;
    height: 100%;
    display: block;
}

.formContainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
    margin-bottom: 1.5em;
}

figure {
    border-radius: 10px;
    margin-bottom: 1.7em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

figure img {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    display: block;
}

figcaption {
    text-align: center;
}

figcaption a {
    color: rgba(0, 35, 65, 1);
    text-decoration: none;
    transition: .3s ease-in-out;
    width: 100%;
    height: 100%;
    display: block;
    padding: .5rem 1rem;
    
}

figcaption a:hover {    
    color: rgba(176, 29, 42, 1);
}



/* ACCORDION STYLE SETTINGS */
.accordionItem {
display:block;
width:100%;
box-sizing: border-box;
font-family: 'Play', sans-serif;
}

.accordionItemHeading {
    cursor:pointer;
    margin:0px 0px 10px 0px;
    padding:1rem;
    font-size: 1.5rem;
    font-weight: 400;
    background:rgba(176, 29, 42, 1);
    color:#fff;
    width:100%;
    border-radius: 3px;
    box-sizing: border-box;
    font-family: 'Play', sans-serif;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: .3s ease-in-out;
}

.accordionItemHeading:hover {
    box-shadow: 0 14px 32px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, 0.12);
}

.accordionItemHeading span {
  float: right;
  font-size: 25px;
}

.accordionItemContent ul {
    list-style-image: url('/images/NALC-list-img-v2.png');
    margin: 0;
    padding: 0;
}

.accordionItemContent ul li {
    margin-left: 2em;
    margin-bottom: .5em;
}

.accordionItemContent ol {
    list-style: none; 
    counter-reset: li;
}

.accordionItemContent ol li {
    margin: .2em 0;
    padding: .5rem;
}

.accordionItemContent ol li::before {
    content: counter(li); 
    color: grey;
    display: inline-block; 
    width: 1em;
    margin-left: -1em;
    font-size: 2rem;
    color: rgba(0, 35, 65, 1);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.accordionItemContent ol li {
    counter-increment: li;
}

b, strong {
    color: rgb(36, 56, 127);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.15);
}


.close .accordionItemContent {
    height:0px;
    transition:height 1s ease-in-out;
    transform: scaleY(0);
    display:block;
}


.open .accordionItemContent {
    padding: 1.5rem;
    background-color: #f0f1f1;
    border: 1px solid #ddd;
    width: 100%;
    margin: 0px 0px 10px 0px;
    display:block;
    transform: scaleY(1);
    transform-origin: top;
    transition: transform 0.4s ease;
    box-sizing: border-box;
}

.open .accordionItemHeading {
    margin:0px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    background: rgba(0, 35, 65, 1);
    color: #cdd7d8;
}

/* SCROLL TO THE TOP BUTTON */
.top-button {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    bottom: 30px;
    right: 35px;
    z-index: 100;
    border: none;
    outline: none;
    background: rgba(2, 53, 91, 1);
    color: rgba(176, 29, 42, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    padding: 0 1rem;
    border-radius: 5px;
    font-size: 3.5rem;
    transition: .4s ease-in-out;
    line-height: 1.2;
    text-decoration: none;
}

.top-button:hover {
    background: rgba(176, 29, 42, 1);
    color: rgba(2, 53, 91, 1);
}

.showButton {
    opacity: .9;
    visibility: visible;
}


/* FOOTER STYLE SETTINGS */
footer {
    background: rgba(2, 53, 91, 1);
    color: rgba(244, 244, 244, 1);
    text-align: center;
    padding: 1rem;
}

.copy-right {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0;
    padding: .5rem;
    min-height: 9vh;
}

.footer-link-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.footer-link {
    display: inline-block;
    text-decoration: none;
    font-size: 4rem;
    border-radius: 5px;
    transition: .3s ease-in-out;
    text-align: center;
    line-height: 2;
}

.footer-link:hover {
   font-size: 5rem;
}


/* MEDIA QUERIES STYLE SETTINGS */

@media screen and (min-width: 40rem) {

    .my-container {
        grid-template-rows: 250px 1fr auto;
    }

    main {
        min-height: 60vh;
    }

    .shape {
        width: 300px;
    }

    /* .main-intro-container {
        overflow-y: hidden;
        height: auto;
    } */

    footer {
        padding: 0;
    }
}