:root {
    --grey: rgb(220, 220, 220);
}

body {
    margin:0;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    /*check this */
    width: 85%;
    margin-left: auto;
    margin-right: auto;

}

header {
    /* height: 75px; */
    /* line-height: 75px; */
    font-family: Arial, Helvetica, sans-serif;
    background-color: white;
    padding: 0 5px 0 2px;
    /* border-bottom: 5px solid red; */



    /* position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: pink;
    z-index: 99; */
}

header ul {
    list-style-type: none;
    padding-inline-start: 0;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    padding: 5px;
    z-index: 1;
}

header li a {
    text-decoration: none;
}

/* main {
    margin-top: 100px;
} */

#hero {
    /* border: 5px solid green; */
    /* width: 100%; */
    height: 400px;
    position: relative;
    text-align: center;
}

#hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;

}

.herotext {
    font-family: Arial, Helvetica, sans-serif;
    width: 90%;
    background-color:rgba(0,0,0,.3);
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translate(-50%, 0);
    color: white;
    font-weight: bold;
}

.herotext h1, h2 {
    margin: 0; 
    padding: 0;
    /* font-size: 200%; */
}

.herotext h2 {
    font-style: italic;
    font-size: 250%;
}

.learn, .register
{
    font-size: 1.25em;
    color: white;
}

.learn {
    background-color: rgb(0,0,255,.5);
}

.learn:hover {
    font-weight: bold;
}

.register {
    background-color: red;
}

#shortdesc {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 125%;
    background-color: var(--grey);
    padding: 5px 20px 20px 20px;
    border-left: 5px solid red;
}

#shortdesc h1 {
    font-weight: unset;
}

.readmore {
    background-color: rgb(1, 1, 75);
    color: white;
    padding: 5px;
    
}

.plainheader {
    font-weight: unset;
    text-align: center;
    font-size: 250%;
}

.plainheader img {
    width: 90%;
    max-width: 800px;
}

.plainheader2 {
    font-weight: unset;
    text-align: center;
    font-size: 150%;
}

#events {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    font-size: 2em;
}

#events div {
    width: 300px;
    height: 300px;
    /* border: 1px dotted red; */
    background-color: var(--grey);
}

#events hr {
    width: 90%;
    background-color: red;
    height: 5px;
}

#events div p {
    margin: 0;
    margin-top: 5%;
    height: 25%;
}

#sponsors {
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
#sponsors h1 {
    font-weight: unset;
}
#sponsors div {
    background-color: var(--grey);
    width: 200px;
    height: 150px;
    object-fit: contain;
}

#sponsors div img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center;
}

/*
#menu {
    background-color: aqua; 
    width: 600px;
}
*/

footer {
    background-color: var(--grey);
    clear: both;
    text-align: center;
    /* border-top: 5px solid red; */
    padding-top: 25px;
    margin-top: 25px;
}

footer img {

    height: 20%;
    width: 20%;
}

#aform {
    background-color: lightgreen;
    border: 2px solid black;
    padding: 10px;
    text-align: center;
}

#aform textarea {
    width: 75%;
}

.hidden {
    display: none;
}

#faq dt {
    padding-top: .5em;
    font-size: 1.5em;
}

#speakers {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
    font-size: 1em;
}

#speakers img {
    max-width: 60%;
    border-radius: 50%;
}

#speakers div {
    width: 400px;
    height: 400px;
    border: 1px dotted red;
    background-color: var(--grey);
}

#speakers hr {
    width: 90%;
    background-color: red;
    height: 5px;
}

#speakers div p {
    margin: 0;
    margin-top: 5%;
    /* height: 25%; */
}
#speakers a {
    text-decoration: none;
    color: black;
}

img.biopic {
    width: 25%;
    border-radius: 50%;
    border: 4px solid navy;
    text-align: center;
}

#biotext {
    font-size: 1.25em;
    padding: 0 20% 0 20%;
}

#loginform {
    text-align: center;
}

form {
    font-size: 1.25em;
    text-align: center;
    border: 2px solid navy;
    width: 50%;
    min-width: 400px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

form label {
    display: block;
}

form input {
    width: 80%;
    max-width: 300px;
    margin-bottom: 10px;
}

#attendanceform input[type="radio"] {
    width: unset;
}

.error {
    font-weight: bold;
    color:red;
    font-variant: small-caps;
}

/* full screen */
@media only screen and (min-width: 801px) {
    body {
        background-color: azure;
    }

    header {
        height: 75px;
    }

    header img {
        height: 75px;
        float: left;
    }

    header #menu {
        float:right;
        text-align: right;
        padding-right: 10px;
        height: 75px;
    }

    header li {
        font-size: 1.20em;
        display: inline;
        padding-left: 10px;
        font-weight: bold;
    }
}

/* mobile width */
@media screen and (max-width: 800px) {
    body {
        background-color: aliceblue;
        width: 100%;
    }
    header {
        /* height: 75px; */
        text-align: center;
    }
    header img {
        float: none;
        /* height: 75px; */
        width: 50%;
        margin-left: auto;
        margin-right: auto;
    }
    header #menu {
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }
    header li {
        border: 1px solid blue;
        border-style: outset;
        border-radius: 10px;
        margin: 4px 0 4px 0;
        padding: 5px 0 5px 0;
        font-size: 1.5em;
        font-weight: bold;
    }

    #description, #biotext, #faq {
        padding: 0 10px 0 10px;
    }
}




