* {
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Header - Do not change */
header {
    background: #ffcb00;
    text-align: center;
    color: white;
    padding: 5%;
    margin: 0 10vw;
}

/* MAIN CONTAINER */
#big {
    margin: auto;
    text-align: center;
    line-height: 1.6;
    background: #fff7ef;
}

#small {
    display: flex;
    flex-direction: column;
}

/* NAVIGATION */
nav {
    background: #E1D9BC;
    padding: 2%;
    text-align: center;
    margin: 0 10vw;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

nav li {
    list-style-type: none;
    font-size: calc(10px + 1vw);
}

nav a {
    display: inline-block;
    padding: 0.75vh 1.5vh;
    text-decoration: none;
    color: inherit;
    height: 44px;
    line-height: 44px;
}

/* main content */
main {
    padding: calc(2vh + 0.5vw);
    margin: calc(2vh + 0.5vw) auto;
    font-size: calc(10px + 1vw);
    width: 80vw;
}

main h2 {
    margin-bottom: calc(1.5vh + 0.5vw);
    font-size: calc(16px + 1.5vw);
}

main > p {
    margin-bottom: calc(2vh + 0.5vw);
    line-height: 1.8;
}

/* specific sections */
main #social,
main #exercise {
    background: #fbe08c;
    padding: calc(2vh + 0.75vw);
    border: 2px solid #980404;
    margin: 10%;
}

main #social h4,
main #exercise h4 {
    margin-top: 0;
    margin-bottom: calc(1vh + 0.25vw);
    font-size: calc(12px + 1.5vw);
    color: #980404;
}

main #social ul,
main #exercise ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

main #social li,
main #exercise li {
    margin-bottom: calc(1.5vh + 0.5vw);
    padding-left: calc(2vh + 0.5vw);
    line-height: 1.7;
}

main #social li:before,
main #exercise li:before {
    content: "• ";
    margin-right: calc(0.5vh + 0.25vw);
    font-weight: bold;
    color: #980404;
}

/* photo section / java feature*/
main > h3 {
    margin: 3vh 0 2vh 0;
    font-size: calc(14px + 1.2vw);
}

button {
    background-color: #980404;
    color: white;
    padding: .5%;
    font-size: calc(4px + 1vw);
    font-weight: lighter;
    cursor: pointer; /*this will make user know its a button*/
}
button:active {
    background-color: navajowhite;
    transform: scale(0.98);
}
#photos {
    background-color: #fbe08c;
    padding: 3vh;
    border: 2px solid #980404;
    margin: 5%;
    position: relative;
    height: 30vw;
    visibility: hidden;
}

#photos h3 {
    color: white;
    opacity: 0;
    transition: opacity 2s linear;
    margin: 0;
    font-size: calc(14px + 1vw);
    font-weight: bold;
}

/* Photo circles - PERCENTAGE BASED */
#one, #two, #three, #four {
    width: 30%;
    height: 70%;
    position: absolute;
    border: 2px solid #980404;
    border-radius: 50%;
    text-align: center;
    align-items: center;
    padding-top: 10%;
    margin-top: 5%;
    z-index: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 10s ease-in-out;
    display: flex;
    justify-content: center;
}

#one {
    background-image: url(src/one.jpeg);
    left: 5%;
}

#one:hover h3 {
    opacity: 1;
}

#one:hover {
    z-index: 1;
}

#two {
    background-image: url(src/two.jpeg);
    left: 25%;
}

#two:hover h3 {
    opacity: 1;
}

#two:hover {
    z-index: 1;
}

#three {
    background-image: url(src/three.jpeg);
    left: 45%;
}

#three:hover h3 {
    opacity: 1;
}

#three:hover {
    z-index: 1;
}

#four {
    background-image: url(src/four.jpeg);
    left: 65%;
}

#four:hover h3 {
    opacity: 1;
}

#four:hover {
    z-index: 1;
}

/* FOOTER */
footer {
    background: #ffcb00;
    color: white;
    font-size: calc(10px + 1vw);
    padding: 1.5vh 5vw;
    text-align: center;
    margin: 0 10vw
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 0.5vh;
}

/* ===== RESPONSIVE ===== */

@media screen and (max-width: 900px) {
    /* Adjust header and nav margins */
    header, nav{
        margin: 0;
        padding: 3%;
    }

    nav li {
        margin: 0 1vw;
    }

    main{
        width: 95vw;
    }
    main #social,
    main #exercise {
        margin: 10% 0;
    }

}


