/* The style of canyoulearn.it, as the WordPress theme "CanYouLearn.it" had it, with all fonts on the site itself. */

/*
--- colors used ---
turquoise:          rgb(56,192,192)
blueBright:         rgb(102,203,238)
blueMid:            rgb(146,205,228)
blueLight:          rgb(206,236,244)
orangeBright:       rgb(238,114,64)
orangeLight:        rgb(245,146,120)
greyLight:          rgb(244,244,244)
greyMid:            rgb(120,120,120)
---
*/

@font-face { font-family: 'bfk-regular'; font-weight: normal; font-style: normal; src: url('../fonts/BfK-regular.woff') format('woff'), url('../fonts/BfK-regular.ttf') format('truetype'); }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/work-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Work Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/work-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Alfa Slab One'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/alfa-slab-one-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alfa Slab One'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/alfa-slab-one-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

* { margin: 0; padding: 0; outline: 0; }
img { display: block; max-width: 100%; height: auto; } 

body { font-family: 'Work Sans'; font-size: 15px; overflow-x: hidden; background-color:rgb(255, 255, 255);  }
div.wrapper { width: 960px; margin: 0 auto; }

h1 { font-family: 'Alfa Slab One'; font-size: 72px; line-height: 1.3em; font-weight: 400; }
h2 { font-family: 'bfk-regular'; font-size: 60px; line-height: 1em;  }
h3 { font-family: 'Alfa Slab One'; font-size: 18px; line-height: 1.8em; font-weight: 400; }
h4 {  }
h5 {  }
h6 {  }
p  {  }


section#top { width: 100%; height: 30px; background-color: #91cfe8; }
section#top div.top_holder {  }


section#logo { width: 100%; height: 150px; background-color: rgb(255, 255, 255); }
section#logo div.logo_holder { float: right; width: 300px; margin-top: 20px;}


section#visual { background-color: rgb(206,236,244); padding: 50px 0; }
section#visual div.visual_holder {  }
section#visual div.tagline { display: inline-block; text-align: center; }
section#visual div.tagline-top h1 { color: rgb(146,205,228); }
section#visual div.tagline-bottom h2 { color: rgb(102,203,238); }


section#video { background-color: rgb(255, 255, 255); padding: 40px 0; }
section#video h2 { color: rgb(102,203,238); }
section#video h3 { color: rgb(102,203,238); }
section#video div.tutorial-item { box-sizing: border-box; padding: 40px; background-color: rgb(244,244,244); overflow: auto; margin: 20px 0; border-radius: 15px; }
section#video div.tutorial-info { float: left; width: calc(100%  - 400px); padding-right: 80px; }
section#video div.tutorial-info p { color: rgb(120,120,120); margin: 20px 0; }
section#video a.readmore { display: inline-block; font-weight: 600; color: rgb(255, 255, 255); background-color: rgb(245,146,120); font-size: 14px; border-radius: 6px; padding: 6px 12px; text-decoration: none; transition: 0.2s background-color; }
section#video a.readmore:hover { background-color: rgb(238,114,64); }
section#video div.tutorial-video-preview { float: left; position: relative; width: 320px; height: 180px; padding-top: 15px; }
section#video div.tutorial-video-preview iframe { position: absolute; width: 100%; height: 100%; border: 0;}


section#footer { padding: 40px 0; background-color: rgb(102,203,238); }
section#footer div.footer_holder { overflow: auto; }
section#footer div.col { float: left; width: 50%; }
section#footer p {  }
section#footer p a { color: rgb(255, 255, 255); text-decoration: none; }
section#footer p a:hover { text-decoration: underline; }

/* @media queries */
@media screen and (max-width: 980px) {	
	div.wrapper { width: 90%; }
}

@media screen and (max-width: 750px) {	
	section#video div.tutorial-info { float: none; width: 100%; padding-right: 0; }
	section#video div.tutorial-video-preview { float: none; width: 320px; height: 180px; padding-top: 0; margin-top: 15px; }	
}

@media screen and (max-width: 550px) {	
	h1 { font-size: 48px; }
	h2 { font-size: 40px; }	
}

@media screen and (max-width: 450px) {	
	section#logo { height: auto; padding: 30px 0; }
	section#logo div.logo_holder { float: none; width: 80%; margin: 20px auto; }
	section#video div.tutorial-video-preview { float: none; width: 100%; height: 40vw; }
}

@media screen and (max-width: 400px) {	
	h1 { font-size: 28px; }
	h2 { font-size: 32px; }	
}
