
* { 
    margin: 0; padding: 0; box-sizing: border-box; 
}


body {
    background-color: rgb(5, 12, 148);
    color: #f7fbfc;
    font-family: verdana, Arial, Helvetica, sans-serif; 
    border: 8px solid rgb(3, 54 116);
    padding-bottom: 800px;
    padding: 20px;
    background-image: url(../images/digitalocean.png);
    background-size: cover;
    background-position: center;
    line-height: 1.5;
    letter-spacing: 1.2pt;
    }


 /*headers*/   
header {
    text-align: center;
    }
    
header h1 {
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    border: 4px solid #c5d2d5;
    font-size: 3em;
    letter-spacing: 6px;
    text-shadow: 2px 2px 4px #222;
    padding: 15px;
    margin: 10px 30px;
    box-shadow: 2px 2px 2px #000000;
    background-color: #58cce678;    
}

h2 {
    border-radius: 10px;
}
header h2 {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-shadow: 2px 2px 4px #000000;
}

.header_nav {
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    border: 4px solid #c5d2d5;
    font-size: .75em;
    letter-spacing: 6px;
    margin: 10px;
    padding-top: 10px;
    margin-left: 20%;
    margin-right: 20%;
    background-color: #58cce678;    
    box-shadow: 2px 2px 2px #000000;
}

header div {
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    font-size: 1.5em;
    letter-spacing: 6px;  
    text-shadow: 2px 2px 4px #222;
    padding-bottom: 10px;
    
}
header div nav {
    padding-top: 10px
}

header div nav a{
    text-decoration: none;
    color: #f7fbfc;
    font-size: .7em;
}


/*images*/

.photos {
    display: flex;
    gap: 5px;
    justify-content:center;
    margin: auto;
    flex-flow: row wrap;
    max-width: 1000px;
}

 .extra {
        display: none;
    }

.sign {
    display: flex;
    flex-flow: row wrap;
    width: 500px;
    max-width: 100%; height: auto;
    justify-content: center;
    margin: 10px auto;
    box-shadow: 2px 2px 1px rgb(145, 150, 167);
    padding-top: 2px;
    border-radius: 20px;  
}


main {
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: left;
    font-weight: bold;
    font-size: 1em;
    padding-bottom: 100px;
    
}
main h2 {
    text-transform: uppercase; 
    text-align: center;
    font-size: 1.5em;
    background-color: rgb(145, 150, 167);
    text-shadow: 2px 2px 4px #000000;
    margin: 20px 20px 5px 30px;
    border: 1px solid white;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/*main text section*/

.intro {
    background: linear-gradient(black,rgb(145, 150, 167));
    color: ghostwhite; 
    border-radius: 10px;
    padding: 10px; 
    margin: 30px; 
    text-shadow: none;
    box-shadow: 2px 2px 2px rgb(145, 150, 167);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.intro h2 {
    margin: 10px auto;
    min-width: 200px;
    padding: 6px;
    border-radius: 10px;
    text-transform: uppercase; 
    text-align: center;
    font-size: 1.2em;
    background-color: rgb(145, 150, 167);
    text-shadow: 2px 2px 4px #000000;
    border: 1px solid white;
}

.intro .containerimg {
    display: flex;
    flex-flow: row wrap;
    gap: 50px; 
    justify-content: space-evenly; 
    margin: 10px 0; 
}

.intro img {
    width: 200px;
    max-width: 100%; height: auto;
    margin: auto;
    box-shadow: 2px 2px 1px rgb(145, 150, 167);
    padding-top: 2px;
    border-radius: 20px;
}

/*NEW: nav bar section */
.nav-bar {
    display: flex;
    border: 2px solid rgb(244, 229, 229);
    background-color: #58cce678;
    border-radius: 20%;
    border: 4px solid #c5d2d5; 
    justify-content: center;
    flex-flow: column nowrap;
    gap: 20px;
    padding: 20px;
    margin: 20px;
}

.nav-bar ul {
    display: flex;
    flex-flow: column wrap;
    gap: 15px;
    justify-content: center;
    list-style: none;
}

.nav-bar li {
    font-family: "Cinzel", serif;
    text-align: center;
    text-transform: uppercase;
    justify-content: center;
    font-size: 1em;
    letter-spacing: 3px;
    border: 2px solid white;
    background-color: rgb(145, 150, 167);
    border-radius: 20px;
    margin: 1% 10%;
    transition: box-shadow .25s linear;
}

.nav-bar a {
    text-decoration: none;
    text-align: center;
    color: #f7fbfc;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.25s linear;
}

.nav-bar li:hover {
    box-shadow: 0 0 15px aqua;
}
.nav-bar a:hover {
    text-shadow: 0 0 15px aqua;
    color: aqua;
}

/*navigation section old*/

.old {
    display: none;
}
.navigation {

    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    gap: 60px;
    padding: 20px;
    margin: 20px;
    text-decoration: none !important;
    color: #f7fbfc !important;
}

.participation_card, .hobbies_card, .hometown_card {
    background-color: #58cce678;
    border: 4px solid #c5d2d5; 
    border-radius: 10px;
    flex: 0 0 30%;
    padding: 10px;
    box-shadow: 2px 2px 4px #000000;
    min-width: 300px; 
    text-align: center; 
    text-decoration: none;
    text-shadow: 0 0 2px black;
    color: #f7fbfc;  
    transition: box-shadow .25s linear;
    
}

/*participation section*/

.participation_card h3 {
    text-transform: uppercase; 
    text-align: center;
    font-size: 1.5em;
    text-shadow: 0 0 3px black;
    background-color: rgb(145, 150, 167);
    margin: 10px;
    border-radius: 10px;
    border: 4px groove white;
}

.participation_card p {
    font-size: 1em;
    text-align: center;
    text-transform: none;
    padding-top: 10px;
}

.participation_card ul {
    margin-left: 10%;
    padding-top: 30px;
    text-align:left;
    display: inline-block; 
    margin: 0 auto;
}

.participation_card li {
    text-align: left;
    margin: 0 60px 10px;
    text-shadow: 1px 1px 1px black;
}


/*hobbies section*/

.hobbies_card h3 {
    text-transform: uppercase; 
    text-align: center;
    font-size: 1.5em;
    text-shadow: 0 0 3px black;
    background-color: rgb(145, 150, 167);
    margin: 10px;
    padding: 30px;
    border-radius: 10px;
    border: 4px groove white;
}

.hobbies_card a {
    text-decoration: none;
    color: white;
    
}

.hobbies_card a:hover {
    text-decoration: none;
    color: aqua;
    transition: color 0.25s linear;
}

.hobbies_card p {
    font-size: 1em;
    text-align: center;
    text-transform: none;
    padding-top: 10px;
}

/*hometown section*/

.hometown_card h3 {
    text-transform: uppercase; 
    text-align: center;
    font-size: 1.5em;
    text-shadow: 0 0 3px black;
    background-color: rgb(145, 150, 167);
    margin: 10px;
    padding: 15px;
    border-radius: 10px;
    border: 4px groove white;
}

.hometown_card p {
    font-size: 1em;
    text-align: center;
    text-transform: none;
    padding-top: 10px;
}

.photos {
   display: flex;
    flex-flow: row wrap; 
    gap: 40px; 
    justify-content: space-evenly; 
    margin: 10px 0; 
    padding: 10px; 
    margin: auto;
}

.photos .photobox {
    display: flex;
    flex-flow: row wrap; 
    gap: 20px; 
    justify-content: space-evenly; 
    margin: 10px 0; 
    padding: 10px; 
    margin: auto;
}

.photos .photobox img {
    width: 250px; 
    max-width: 100%;  
    height: auto; 
    box-shadow: 2px 2px 1px rgb(145, 150, 167); 
    border-radius: 20px; 
}

.photos .photobox img:nth-child(1){
    width: 200px;
}
.photos .photobox img:nth-child(2){
    width: 400px;
}

.photos .photobox img:nth-child(3){
    width: 200px;
}

/*button hover*/
header nav .title_nav1:hover, header nav .title_nav2:hover, header nav .title_nav3:hover {
    text-shadow: 0 0 15px rgb(0, 0, 0);
    color: aqua;
    transition: text-shadow 0.25s linear;
}

.participation_card:hover, .hobbies_card:hover, .hometown_card:hover {
    box-shadow: 0 0 15px aqua;
}

.participation_card:hover h3, .hobbies_card:hover h3, .hometown_card:hover h3 {
    text-shadow: 0 0 15px aqua;
    transition: text-shadow 0.25s linear;
}

/*button activation*/

a:active * {
    background-color: ghostwhite;
    color: #000;
    text-shadow: 1px 1px 15px aqua;
}

a:active {
    background-color: ghostwhite;
}

a:active h2 {
    background-color: rgb(145, 150, 167);
}

/*superscript & footer*/

sup {
    color: gold;
    text-shadow: 1px 1px 3px ghostwhite;
    font-size: 8pt;
}

footer {
    text-align: center;
    font-size: 10pt;
    font-family: Georgia, 'Times New Roman', Times, serif;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: rgb(145, 150, 167);
    color:  ghostwhite;
    position: fixed;
    min-height: 100px;
    bottom: 0px; left: 0px;
    width: 100%;
}

@media screen and (min-width: 1020px) {

    .extra {
        display: block;
    }

    .nav-bar {
        flex-flow: row wrap;
    }

    .nav-bar ul {
        flex-flow: row wrap;
        align-items: center;
    }

    .nav-bar li {
          margin: 1% 1%;
          padding: 5px;
          
    }
}
