:root {
    --white: #F3F1F0;
    --black: #212121;
    --white-faded: #f3f1f033;
    --white-faded-less: #f3f1f055;
    --black-faded: #212121DD;
    --black-faded-more: #21212188;
    --accent: #ED1C24;
    --accent-light: color-mix(in srgb, var(--white) 60%, var(--accent));
    font-family: "Segoe UI", Arial, sans-serif;
}

/* RESET */
html {
    box-sizing: border-box;
    font-size: 16px;
  }
  
  *, *:before, *:after {
    box-sizing: inherit;
  }
  
  body, h1, h2, h3, h4, h5, h6, p, ol, ul {
    margin: 0;
    padding: 0;
    font-weight: normal;
  }
  
  ol, ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }

a:link, 
a:visited, 
a:hover,
a:active {
    text-decoration: none;
}

/* LAYOUT SECTION */
.center.center.center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column; 
}

.w10 {
    width: 10%;
}
.w20 {
    width: 20%;
}
.w30 {
    width: 30%;
}
.w40 {
    width: 40%;
}
.w50 {
    width: 50%;
}
.w60 {
    width: 60%;
}
.w70 {
    width: 70%;
}
.w80 {
    width: 80%;
}
.w90 {
    width: 90%;
}
.w100 {
    width: 100%;
}

/* NAVBAR SECTION */
.navbar {
    position: sticky;
    background-color: var(--white);
    left: 0;
    right: 0;
    top: 0;
    
    box-shadow: 0 0 6px var(--black-faded);
    z-index: 100;
    overflow: auto;
}

.navbar .content {
    display: flex;
    margin: 0 10% 0 10%;
}

@media only screen and (max-width: 645px) {
    .navbar .content {
        margin: 0 10px 0 10px;
    }
}

.navbar .content a {
    color: var(--black);
    padding: 0.6em;
    font-weight: bold;
    box-sizing: content-box;
    font-size: 18pt;
    white-space: nowrap
}

.navbar .content a.active {
    border-bottom: 4px var(--black) solid;
}

.top-img {
    background-image: url("/res/images/IMG_20230409_161949_727.jpg");
    background-position: center top 70%;
    background-size: cover;
    height: min(30vw, 30vh);
    position: relative;
}

/* FOOTER SECTION */
body.b {
    background-color: var(--black);
}

body.w {
    background-color: var(--white);
}

.footer {
    height: 180px;
}

.footer img {
    height: 90%;
    box-shadow: 0 0 8px var(--black-faded);
    border-radius: 50%;
}

/* CONTENT SECTION */
.back-w, .back-b {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.back-w {
    background-color: var(--white);
    color: var(--black);
}

.back-b {
    background-color: var(--black);
    color: var(--white);
}

.page-content {
    /* margin: 0 10% 0 10%; */
    width: min(90%, 900px);
    padding: 20px 0 40px 0;
    font-size: 18pt;
}


.page-content p {
    padding: 5px;
}

h1 {
    color: var(--accent);
    font-weight: 700;
    padding: 5px 0 5px 0;
    font-size: 31pt;
}

@media only screen and (max-width: 500px) {
    h1 {
        font-size: 21pt;
    }
}

.primary-btn {
    font-size: 18pt;
    padding: 10px 50px 10px 50px;
    border-radius: 10000000px;
    border: 0px;
    transition: 0.1s;
    font-weight: bold;
}

.primary-btn:hover {
    opacity: 0.9;
}

.back-w .primary-btn {
    background-color: var(--black);
    color: var(--white);
    box-shadow: 0 3px 5px var(--black-faded);
}

.back-b .primary-btn {
    background-color: var(--white);
    color: var(--black);
    box-shadow: 0 3px 5px var(--white-faded);
}

/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
/* Track */
::-webkit-scrollbar-track {
    background: var(--black);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--white-faded);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--white-faded-less);
}