* {
    margin: 0; padding: 0;
}

:root {
    /*  declare color variables */
    --color-background: rgb(126, 115, 96);
    --color-primary: rgb(10, 133, 213); 
    --color-secondary: rgb(158, 206, 217);
    --color-text1: #000000;
    --color-text2: rgb(144, 80, 156);
    --color-accent: #FF7800;
    --color-accent-2: rgba(64, 152, 48, 0.3);
    --color-accent-3: rgb(241, 169, 108);
    
    /* set the root font size 10 / 16 = .625 */
    font-size: 62.5%;
}

body {
    background-color: var(--color-background);
    font-size: 2em;
    font-family: verdana;
}

.container {
    margin: 4px auto;
    max-width: 1200px;
    
}

.page-body {
    display: flex;
    flex-flow: row wrap;
}
/*=========== Mobile styles and bigger =======*/
header {
    background-color: var(--color-primary);
    text-align: center;
}

header > h1 {
    color: var(--color-accent-3);
    -webkit-text-stroke: 2px #111;
    text-shadow: 
    0 0 10px #ff6a00, 
    0 0 20px #ff9000, 
    0 0 30px #ff9000;
    font-family: 'Arial Black', Impact, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/*=========== new nav ===========*/
#bodysection {
    background-color: var(--color-secondary);
    border: 1px solid black;
    display: flex;
    gap: 10px; 
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0px 0 8px 0;
    border-radius: 4px;
}

#scenic-background {
    display: none;    
}
#bodysection #dumb-div {
    display: none;
}

#box-1 {
    background-image: url(../images/RobertMarcy2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 50px;
    margin-right: auto;
    min-width: 150px;
    border-radius: 4px;
}
.cyberglow {
  position: relative;
  top: -6.3%;   /* Adjust these percentages until it sits perfectly over the eye */
  left: 7.8%;  
  width: 18px;
  height: 18px;
  background-color: rgba(255, 0, 0, 0.7);
  border-radius: 50%;
  /* Link to the animation below */
  animation: redGlow 2s infinite ease-in-out;
  pointer-events: none; /* Allows clicks to pass through if needed */
}
/* 3. The Animation Keyframes (The actual movement) */
@keyframes redGlow {
  0%, 100% { 
    transform: scale(0.8);
    box-shadow: 0 0 4px #ff0000; 
    opacity: 0.5;
  }
  50% { 
    transform: scale(1.2);
    box-shadow: 0 0 16px #ff0000, 0 0 24px #ff0000; 
    opacity: 1;
  }
}

#box-2, #box-3, #box-4, #box-5  {
    background-color: transparent;    
}
#box-2 a:hover,#box-5 a:hover, #box-4 a:hover, #box-3 a:hover {
    color: var(--color-accent-3);
    text-decoration: none;
    -webkit-text-stroke: 2px #ff9000;
    text-shadow: 
    0 0 10px #ff6a00, 
    0 0 20px #ff9000, 
    0 0 30px #ff9000;
    font-family: 'Arial Black', Impact, sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: .8em;
    border-left: 2px solid #ff9000;
    padding: 0 0 0 8px; 

}

#box-2 a, #box-3 a, #box-4 a, #box-5 a {
    color: var(--color-accent-3);
    text-decoration: none;
    -webkit-text-stroke: 2px #111;
    text-shadow: 
    0 0 10px #ff6a00, 
    0 0 20px #ff9000, 
    0 0 30px #ff9000;
    font-family: 'Arial Black', Impact, sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: .8em;
    border-left: 1px solid black;
    padding: 0 0 0 8px; 
}

#box-4 a, #box-5 a {
    display: none;
}

.box {    
    display: flex;
    justify-content: center;
    align-items: center;    
    height: 150px;
    width: 150px;
    background-color: #0071FF;
    font-size: 20pt;
}

/*=============== new nav bottom ============*/
.line {
    background-color: var(--color-accent-3);
    height: 4px;
    margin-bottom: 4px;
    border: 1px solid black;
}

section.course-nav {
    background-color: var(--color-primary);
    min-height: 70px;
    flex-grow: 1;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    gap: 10px;
    padding: 10px 0px;
    border: 1px solid black;
    border-radius: 4px;
}

section.course-nav a {
    background-color: var(--color-accent);
    padding: 8px 12px;
    background-color: rgb(241, 229, 205);
    color: #234;
    text-decoration: none;
    width: 270px;
    text-align: center;
    margin: auto;
    border-radius: 4px;
}

.course-nav a:hover {
    color: #EEE;
}

.course-nav .desktop {
    border: 1px solid #234;
    display: none;
}

.course-nav .phone {
    border: 1px solid black;
    display: inline;
    border-radius: 4px;
}

.course-nav > h1 {
    border: 1px solid black;
    background-color: var(--color-accent-2);
    color: var(--color-accent-3);
    -webkit-text-stroke: 2px #111;
    text-shadow: 
    0 0 10px #ff6a00, 
    0 0 20px #ff9000, 
    0 0 30px #ff9000;
    font-family: 'Arial Black', Impact, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 8px auto .5em;
    font-size: 1.1em;
    padding: 8px 4px;
    border-radius: 4px;
}

article {
    border: 2px solid black;
    background-color: rgb(240, 240, 240);
    background-image: url(../images/scenicmountains.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    flex-grow: 1;
    border-radius: 4px;
    padding: .5em;
    margin: 0 4px;
}

.block {
    min-height: 250px; min-width: 350px;
    background-image: url(../images/week10.png);
    background-repeat: no-repeat;   
}

.hobby-nav {
    display: none;
    background-color: var(--color-primary);    
    flex: 1;
    text-align: center;
    padding: 8px 0;  
    border-radius: 4px;  
}

.hobby-nav > h1 {
    border: 1px solid black;
    margin: 10px;
    padding: 8px;
    width: 270px;
    min-height: 0px;
    border-radius: 4px;
    margin: 8px;
    font-size: 1.2em;
    
}

.hobby-nav div > a {
    text-decoration: none;
    color: #EEE;    
}

.hobby-nav div > a:hover {
    text-decoration: none;
    color: rgb(17, 17, 17);    
}



.hobby-nav div {
    width: 270px;
    background-color: var(--color-accent);
    border: 1px solid black;
    border-radius: 4px;
    padding: 10px;
    height: 24px;
    margin: 6px auto;
    background-color: var(--color-accent-3);
    color: #ffffff;
    border: 2px solid black;
    border-radius: 5px;
    padding: 10px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.2s ease-in-out; 
    box-shadow: 0 0 5px rgba(0, 240, 255, 0.3);    
}

.hobby-nav div:hover {
    background-color: #00f0ff;
    color: rgb(17, 17, 17);
    border-color: #ff7a00;
    box-shadow: 0 0 15px #00f0ff;
    cursor: pointer;
}
/*======== landscape tablet =======*/
@media screen and (min-width: 768px) {

#box-4 a, #box-5 a {
    display: inline;
}


}

/*======== landscape tablet and bigger =======*/
@media screen and (min-width: 1024px) {

p {
    text-align: left;
    margin: 4px 4px;
}
 
#bodysection {
    background-image: url(../hobby/images/scenic-camping.jpg);
    background-size: 15000% 190%;
}   

#bodysection #dumb-div {
    background-color: transparent;
    border: 1px solid black;
    width: 100%;
}

.course-nav .desktop {
    display: inline;
    border-radius: 4px;
}

.course-nav {
    border: 2px solid hotpink;
    max-width: 300px;
}

.hobby-nav {
    display: inline;       
    flex: 1;
    max-width: 375px;
    text-align: center;
    padding: 8px 0;  
    border: 2px solid black; 
    background-color: var(--color-primary); 
}

.hobby-nav > h1 {
    background-color: var(--color-accent-2);
    color: var(--color-accent-3);
    -webkit-text-stroke: 2px #111;
    text-shadow: 
    0 0 10px #ff6a00, 
    0 0 20px #ff9000, 
    0 0 30px #ff9000;
    font-family: 'Arial Black', Impact, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 8px auto .5em;
    font-size: 1.6em;
}   

section.course-nav a {
    padding: 8px 12px;
    text-decoration: none;
    width: 246px;   
}


    }