*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --ff-primary: 'Oswald', sans-serif;
    --ff-secondary: 'Oswald', sans-serif;

    --fw-reg: 300;
    --fw-bold: 900;

    --clr-light: #fff;
    --clr-dark: #303030;
    --clr-accent: rgba(95, 62, 244, 0.714);

    --fs-h1: 3rem;
    --fs-h2: 2.25rem;
    --fs-h3: 1.25rem;
    --fs-body: 1rem;
}

@media (min-width: 800px) {
    :root {
        --fs-h1: 4.5rem;
        --fs-h2: 3.75rem;
        --fs-h3: 1.5rem;
        --fs-body: 1.125rem;
    }
}

/*general style*/

html {
    scroll-behavior: smooth;
}

body {
    background: var(--clr-light);
    color: var(--clr-dark);
    margin: 0;
    font-family: var(--ff-primary);
    font-size: var(--fs-body);
    line-height: 1;
}

section {
    padding: 1em .5em;
    padding: 3em 1em;
}

img {
    display: block;
    max-width: 100%;
}

img header {
    padding-right: 100px;

}

h1,
h2,
h3 {
    line-height: 1;
    margin: 0;
}

strong {
    font-weight: var(--fw-bold);
}

:focus {
    outline: 3px solid var(--clr-accent);
    outline-offset: 3px;
}

/*typography*/

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

.section__title {
    margin-bottom: .1em;
}

.section__title--intro {
    font-weight: var(--fs-h3);
}

.section__subtitle {
    margin: 0;
    font-size: var(--fs-h3);
}

.section__subtitle--intro,
.section__subtitle--rules {
    background: var(--clr-accent);
    padding: .25em .50em;
    font-family: var(--ff-secondary);
    margin-bottom: 1em;
}

/*header*/
header {
    display: flex;
    justify-content: space-between;
    padding: 1em;
}   
.nav {
    position: fixed;
    background: var(--clr-dark);
    color: var(--clr-light);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transform: translateX(100%);
    transition: transform 250ms cubic-bezier(.5,0,.5,1);
}

.nav__list {
    list-style: none;
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin: auto;
    padding: 0;
}

.nav__link {
    color: inherit;
    font-weight: var(--fw-bold);
    font-size: var(--fs-h2);
    text-decoration: none;
    align-items: center;
    margin: auto;
}

.nav__link:hover {
    color: var(--clr-accent);
}

.nav-toggle {
    padding: .5em;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: absolute;
    right: 1em;
    top: 1em;
    z-index: 1000;
}

.nav-open .nav {
    transform: translateX(0)
}

.nav-open .nav-toggle {
    position: fixed;
}

.nav-open .hamburger {
    transform: rotate(.625turn);
}

.nav-open .hamburger::before {
    transform: rotate(90deg) translateX(-6px);
}

.nav-open .hamburger::after {
    opacity: 0;
}
.hamburger {
    display: block;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    background: var(--clr-accent);
    width: 2em;
    height: 3px;
    border-radius: 1em;
    transition: transform 250ms ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
}

.hamburger::before { top: 6px; }
.hamburger::after { bottom: 6px }


/*intro*/
.section__subtitle--intro {
    align-self: start;
    grid-column: -1 /1;
    grid-row: 2;
    text-align: right;
    left: -1.5em;
}

/* Hero Style Start */
.section-class-hero {
    background-image: url("C:\Users\Gary And The Parents\Desktop\New folder\RennyGold.jpg");
    background-size: cover;
    background-position: center center;
    position: relative;
    margin: 0px;
    padding: 0px;
    line-height: 0px;
}

section.hero {
    padding: 0;  
}
  /* Hero Style End */

body {font-family: Arial, Helvetica, sans-serif;}

        
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: center; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
        
/* Modal Content */
.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 1px solid #38dcb4;
    width: 80%;
    position: center;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 25%;
  }

/* The Close Button */
.close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}
        
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}

/*map*/
#googlemap {
    height: 50vh;
    width: 100vh;
    margin-left: auto;
    margin-right: auto;
    padding: .25em .50em;
    font-family: var(--ff-secondary);
    margin-bottom: 1em;
}

/*modal*/
h2 {
    text-align: center;
}
#myBtn {
    text-align: center;
}
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
        
/* Modal Content */
.modal-content {
    background-color: var(--clr-light);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    margin: auto;
    padding: 10px;
    border: 2px solid var(--clr-dark);
    width: 100%;
}

/* The Close Button */
.close {
    color: var(--clr-accent);
    float: left;
    font-size: 60px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.list {
    max-width: 500px;
    background: var(--clr-light);
    padding: 50px;
    margin-left: auto;
    margin-right: auto;
}

h3 {
    font-size: 20px;
    font-weight: 300;
}

.items {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.items li {
    border-bottom: 1px solid rgba(0,0,0,0.2);
    padding: 10px 0;
    display: flex;
    font-size: 18px;
}

.items label {
    flex: 1;
    cursor: pointer;
}

.items input {
    display: none;
}

.items input + label:before {
    content: '⬜️';
    margin-right: 5px;
}

.items input:checked + label:before {
    content: '✅';
}

.addItems {
    margin-top: 20px;
    max-width: 400px;
}

.addItems input {
    width: 300px;
    height: 40px;
    font-size: 20px;
    font-weight: 300;
    color: rgb(7,39,39);
    text-align: center;
    margin-bottom: 20px;
    background-color: var(--clr-l);
    border:1px solid rgba(0,0,0,0.1);
}

input::placeholder {
    color: rgb(7,39,39);
}

input[type='submit'] {
        box-shadow: rgba(228, 121, 27, 0.714);

}

span {
    cursor: pointer;
}
