* {
    margin:5px;
    padding:0px;
}

html {
    font-family: 'Arial', sans-serif;
    /* font-size: 16px; BEST PRACTICE IS NOT TO DEFINE FONT SIZE BUT TO ALLOW BROWSER TO DO SO. USE REM/EM FOR FONT SIZE IN SELECTORS*/ 
}

body {
    background-color: rgb(237, 238, 240);
    justify-items: left;
    justify-content: center;
}

.wrapper {
    background-color: rgb(237, 238, 240);
    padding-top: 1px;
    position: sticky;
    width: min(100%, 1500px);
    margin-top: 1px;
    margin-bottom: 1px;
    justify-content: 95%;
    z-index: 1;
    top: 0;
 }

.teamheader {
    display: grid;
    -ms-display: grid;
    justify-content: left;
    grid-template-areas: "left right";
    align-items: end;
    width: min(100%, 1500px);
    padding:0;
    margin:0;
    h1 {
        grid-area: right;

        color: rgb(0, 0, 0);
        
    }

    .logo {
        grid-area: left;
        width: 60px;
    }

}
h1 .bi-accent {
    margin: 0;
    padding: 0;
    color: rgb(238, 0, 0);
}

.toplinks {
    display: flex;
    flex-wrap: wrap;
    background-color: black;
}

.button {
    color: black;
    text-decoration: none;
    padding-left: 8px;
    padding-right: 8px;
    border-color: rgb(237, 238, 240);
    border-width: 2px;
    border-style: solid;
    background-color: rgb(237, 238, 240);
    display: inline;
    font-size: 1rem;
    font-weight: 400;
    width: auto;
}

#current {
    border-color:rgb(238,0,0);
    font-weight: 600;
} 

.opening {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

/* Header components same on all sheets above this point */

main {
    display: grid;
    grid-template-columns: .2fr 1fr;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
    grid-template-areas: "headshot col-1";
}

.headshot {
    grid-area: headshot;
    align-items: left;
    width: 100%;
    max-width: 200px;
    border-radius: 50%;
    margin: 0 auto;
    align-content: center;
}

.col-1 {
    grid-area: col-1;
    width: 100%;
    max-width: 700px;
}


iframe {
    width: 100%;
    aspect-ratio: 16 / 9; 
    display: block;
    border: none;
    max-width: 100%;
}



@media screen and (max-width: 1000px) {
    main {
        display: grid;
        grid-template-columns: 1fr;
        width: min(100%,1000px);
        justify-content: center;
        grid-template-areas:
            "headshot"
            "col-1"
            "col-2";
     }
  
    .container {
        margin: 2px;
    }
}

@media screen and (max-width: 630px) {
     main {
        display: grid;
        grid-template-columns: 1fr;
        width: min(100%, 630px);
        justify-content: center;
        grid-template-areas: 
            "headshot"
            "col-1"
            "col-2";
    }
    .container {
        margin: 2px;
    }
}

a:hover{
    color:red;
}

p{
    color:black;
    line-height: 1.5;
}

footer {
    position:relative;
    bottom: 0;

}
