/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}details,main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}

html,body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    color: #212121;
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
    text-align: center;
}

.main {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 100%;
    width: 100%;
}

#logo {
    width: 220px;
}

#intro {
    margin: auto;
    padding-top: 5px;
    font-size: 0.8em;
    max-width: 480px;
    text-align: center;
    letter-spacing: 0.22em;
    padding-left: -2px;
    color: #424242;
}

#footer {
    position: absolute;
    bottom: 20px;
    color: #424242;
    font-size: 0.8em;
    letter-spacing: 0.1em;
}

#surf{
    background-image: url("/static/surfer_overhead.jpg");
    background-size: cover;
}

#spots{
    letter-spacing: 0.2em;
    padding-top: 100px;
}

#spots a{
    color: #424242;
    text-decoration: none;
}

#spots a:hover {
    text-decoration: underline;
}

#main {
    display: block;
    width: 90%;
    margin: auto;
}

.main-chart {
    display: inline-block;
    width: 100%;
}

#webcam iframe {
    width: 100%;
    height: 320px;
}

@media (min-width: 960px) {
    #logo {
        width: 320px;
    }
    .box {
        width: 60%;
        -webkit-box-shadow: 1px 0px 40px 0px rgba(33,33,33,0.6);
        -moz-box-shadow: 1px 0px 40px 0px rgba(33,33,33,0.6);
        box-shadow: 1px 0px 40px 0px rgba(33,33,33,0.6);        
    }
    #intro {
        font-size: 1em;
        letter-spacing: 0.32em;
    }
    #surf {
        width: 40%;
        height: 100%;
    }
    #footer {
        font-size: 1em;
        letter-spacing: 0.2em;
    }

    #main {
        max-width: 70%;
    }

    .main-chart {
        display: inline-block;
    }
    
}