body {
    background: rgb(239, 238, 238);
    font-family: -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    min-width: 600px;
}

ol {
    list-style: decimal;
}

a { 
    text-decoration: none;
 }

.circle {
    border-radius: 50%;
    background: rgb(220, 217, 217);
    height: 100px;
    width: 100px;
    border: 10px solid rgb(255, 178, 219);
    text-align: center;
    font: 85px helvetica;
    color: rgb(123, 215, 43);
}

.eyeBase {
    border-radius: 50%;
    border: 2px solid rgb(255, 178, 219);
    background: rgb(223, 231, 231);
    height: 50px;
    width: 100px;
    z-index: -2;
    position: absolute;
}

.eyeMid {
    border-radius: 50%;
    background: rgb(123, 215, 43);
    height: 40px;
    width: 40px;
    left: 32px;
    top: 7px;
    position: relative;
    z-index: -1;
}

.eyeCentre {
    border-radius: 50%;
    background: rgb(0, 0, 0);
    height: 20px;
    width: 20px;
    left: 10px;
    top: 10px;
    position: relative;
}

.maintext {
    border-radius: 15px;
    border: 2px solid rgb(255, 178, 219);
    background: rgb(223, 231, 231);
    height: 400px;
    width: 800px;
    padding: 20px;
}

.littleEyeBase {
    border-radius: 50%;
    border: 2px solid rgb(255, 178, 219);
    background: rgb(223, 231, 231);
    height: 25px;
    width: 50px;
    z-index: 1;
    position: absolute;
    display: inline;
}

.littleEyeMid {
    border-radius: 50%;
    background: rgb(123, 215, 43);
    height: 20px;
    width: 20px;
    left: 16px;
    top: 3.5px;
    position: relative;
    z-index: 3;
}

.features {
    list-style: none;
    padding-left: 2%;
}

.features li {
    margin: 2em 0;
    position: relative;
    padding-left: 90px;
    counter-increment: inst;
    font-size: 1.5em;
}


.features li:before {
    content: counter(inst );
    border: 2px solid rgb(255, 178, 219);
    border-radius: 50%;
    height: 1.35em;
    width: 1.35em;
    top: -0.30em;
    background: rgb(223, 231, 231);
    color: rgb(183, 183, 189);
    /*color: rgb(123, 215, 43, 0.7);*/
    font-weight: 400;
    text-align: center;
    line-height: 1.3em;
    position: absolute;
    transition: all 0.2s ease-in-out;
    font-size: 1.8em;
    margin-left: 2.5%;
    left: -5%;
}

.linkCircle {
	/*border-radius: 50%;
	background: rgb(223, 231, 231);
	width: 70px;
	height: 70px;
	border: 2px solid rgb(255, 178, 219);*/
	text-align: center;
	font-size: 24px;
}

.linkCircle a {
	position: relative;
	color: rgb(100, 99, 98);
}

.linkCircle a:hover {
	text-decoration: underline;
}

/*---- Grids ----*/

header {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    grid-template-rows: 100%;
    grid-gap: 10px 10px;
    justify-content: center;
    align-content: center;
}

.logo h1 {
    display: inline-block;
    line-height: 3em;
    float: left;
    font-size: 2em;
    padding-left: 95px;
    background-image: url(media/wos_icon.svg);
    background-repeat: no-repeat;
    background-size: auto 90%;
    background-position-y: center;
    margin-top: 7px;
}

.logo a {
    color: rgb(0,0,0);
    text-decoration: none;
}

header > .logo {
    grid-column: 1 / span 9;
    grid-row: 1 / span 1;
    align-self: flex-start;
    margin: 0 10%;
}

header > .logo > a > img {
    /*min-width: 100%;*/
    /*max-width: 200px;*/
}

header > .title {
    grid-column: 3 / span 6;
    grid-row: 1 / span 1;
    text-align: left;
    align-self: center;
    margin-top: -15px;
}

.title h1 {
    font-size: 3em;
}

.title a {
    color: rgb(0,0,0);
    text-decoration: none;
}

header > .link1 {
    grid-column: 9 / span 2;
    grid-row: 1 / span 1;
    justify-self: right;
    align-self: center;
}

header > .link2 {
    grid-column: 11 / span 2;
    grid-row: 1 / span 1;
    justify-self: right;
    align-self: center;
}

.ui-previews > ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(356pt, 1fr));
    grid-gap: 1rem;
    list-style: none;
}

.ui-previews > ul > li {
    min-height: 60%;
}

.ui-previews > ul > li > figure > img {
    width: 100%;
}

.ui-previews > ul > li > p {
    text-align: center;
    font-size: 20px;
}

.ui-previews > ul:nth-child(1) {
     padding-left: 0px;
}

.ui-previews div {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    min-height: 427px;
}

.ui-previews div.progress {
    background-image: url(media/progress.svg);
}

.ui-previews div.word {
    background-image: url(media/word.svg);
}

.ui-previews div.favourite {
    background-image: url(media/favourite.svg);
}

.mainContent > ol {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 10px 10px;
    justify-content: center;
    align-content: center;
}

.mainContent {
    /*border-radius: 15px;
    border: 2px solid rgb(255, 178, 219);
    background: rgb(223, 231, 231);*/
    padding: 20px;
    margin: 0 2%;
}

.wosAppStoreInfo {
    padding: 20px;
    margin: 0 2% 15% 2%;
    border-radius: 15px;
    border: 2px solid rgb(255, 178, 219);
    width: max-content;
}

.wosAppStoreInfo > p {
    font-size: 22px;
}

.wosAppStoreInfo > a > img {
    height: 70px;
}

/* Theming */
@media (prefers-color-scheme: dark) {
    html, body {
        background: #222;
        color: #ddd;
    }
    .logo h1 {
        color: #ddd;
    }

    .linkCircle a {
        color: rgb(154, 154, 154);
    }
    .features li:before {
        background: rgb(72, 78, 78);
    }

    .ui-previews div.progress {
        background-image: url(media/dark-theme-progress.svg);
    }

    .ui-previews div.word {
        background-image: url(media/dark-theme-word.svg);
    }

    .ui-previews div.favourite {
        background-image: url(media/dark-theme-favourite.svg);
    }


}

/* Responsive */

@media only screen 
    and (min-width: 375px)
    and (max-width: 980px) {

    .features li {
        font-size: 2.2em;
    }

    .ui-previews div {
        min-height: 500pt;
    }

    .wosAppStoreInfo > a > img {
        height: 80px;
    }
    
}
