
body{
    background-color: #11bbee;
}

#container{
    background-color: #11bbee;
    width: 80%;
    max-width: 1200px;
    margin: auto;
}

header{
    border: 4px solid transparent;
    background-color: #00113e;
    height: 50px;
    margin-top: 16px; margin-bottom: 8px;
    color: hsl(200 80% 90% / 1);
    position: relative;
}

header > h2{
    margin-left: 8px;
}

header > a{
    top: 5%; left: 96%;
    margin-right: 8px;
    position: absolute;
}

section{
    border: 4px solid transparent;
    margin: 8px;
    display: flex;
    justify-content: space-evenly;
}

section div{
    border: 2px solid #00bb00;
    background-color: #006688;
    display: inline-block;
    height: 250px;
    width: 372px;
    margin: 8px;
}

#sec1 div{
    width: 568px;
    border: transparent;
}

#sec1 div:first-child{
    background-image: url(../images/yarn-header.jpg);
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: 300% 100%;
}

#sec1 div:nth-child(2){
    background-image: url(../images/yarn1.jpg);
    background-repeat: no-repeat;
    background-position: 0%;
    background-size: 730px 370px;
    width: 1000px;
    position: relative;
}

#sec1 div p{
    text-align: center;
    color: white;
    font-size: 130%;
    background-color: rgba(00, 11, 40, .5);
    margin-top: 100px;
}

#sec1 div a{
    text-align: center;
    color: white;
    font-size: 200%;
    font-weight: bold;
    text-shadow: 0px 2px #000000;
    background-color: rgba(22, 200, 22, .8);
    padding: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 5px;
    margin-top: 24px;
    left: 65%;
    /*top: 170px; left: 480px;*/
    text-decoration: none;
    position: absolute;
}

#sec2 div{
    position: relative;
    display: flex;
    justify-content: center;
}

#sec2 > a > div > h2{
    font-family: 'Caveat', cursive;
    color: white;
    margin: 20%;
    font-size: 400%;
    text-shadow: 0px 2px #000000;
    position: absolute;
}

#sec2 a{
    background-color: #006688;
}

#sec2 a:hover, div:hover{
    background-color: #008800;
}

footer{
    border: 4px solid transparent;
    height: 200px;
    background-color: #00113e;
    background-image: url(../images/yarn-footer.jpg);
    background-repeat: no-repeat;
    background-size: 1200px 220px;
    background-position: 70% 70%;
}

footer nav{
    border: 2px solid transparent;
    width: fit-content;
    margin: auto;
    margin-top: 24px;
}

nav > a{
    line-height: 24px;
    color: white;
    font-size: 14px;
    display: block;
}