﻿body /*Definiálom a hátteret, a betűméretet és színt*/
{
    font-size: 14px;
    min-height: 600px;
    color: #333333;
    background-image: url('bg-img.png');
    background-size:100% 50%;
    background-repeat:no-repeat;
}
.contents /*elrendezés és méret definíciók*/
{
    width: 800px;
    margin: 30px auto;
    text-align: center;
}
h1 /*Betűméret, szín és árnyék beállítása*/
{
    font-size: 50px;
    font-weight: normal;
    color: rgb(245, 225, 200);
    text-shadow: rgb(200, 95, 65) 2px 2px 0px, rgb(8, 8, 8) 7px 7px 3px;
}
em
{ 
    color: rgb(245, 225, 200);
    font-style: normal;
    text-decoration: none;
}

/*Beállítom a menü paramétereit*/
.menu
{
    width: 480px;
    margin: 80px auto;
}

.menu ul
{
    padding: 0;
    list-style: none;
    font-size: 16px;
}
.menu li
{
    float: left;
    width: 120px;
    text-align: center;
}
.menu li span
{
    display: block;
}

.menu a
{
    display: block;
    color: #ffffff;
    text-decoration: none;
    -moz-transition: .3s;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

/*beállítom, hogy szép kerek színes háttere legyen az egyes menüknek*/
.menu li:nth-child(1) i
{
    background: rgb(60, 90, 150);
    box-shadow: 0 0 0 0 rgba(60, 90, 150,0.6);
}
.menu li:nth-child(2) i
{
    background: rgb(210, 65, 45);
    box-shadow: 0 0 0 0 rgba(210, 65, 45,0.6);
}
.menu li:nth-child(3) i
{
    background: rgb(0, 170, 240);
    box-shadow: 0 0 0 0 rgba(0, 170, 240, 0.6);
}
.menu li:nth-child(4) i
{
    background: rgb(205, 35, 40);
    box-shadow: 0 0 0 0 rgba(205, 35, 40, 0.6);
}
/*jelenjen meg egy karika, ha az ikon fölé viszem az egeret, ami szép átlátszó*/
.menu i
{
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding: 12px;
    border-radius: 50%;
    font-size: 30px;
    transition: box-shadow .4s ease-in-out;
    -moz-transition: box-shadow .4s ease-in-out;
    -webkit-transition: box-shadow .4s ease-in-out;
    -o-transition: box-shadow .4s ease-in-out;
}
.menu a:hover i, .menu a:active i
{
    box-shadow: 0 0 0 25px transparent;
}
/*A szöveg is akkor jelenjen meg, ha fölötte vagyok az egérrel*/
.menu .icon + span
{
    margin-top: 10px;
    opacity: 0;
}
.menu a:hover span, .menu a:active span
{
    opacity: 1;
}

/* ICOMOON beállítások kezdete */

@font-face { /*a @font-face definícióm még teljesen általános*/
	font-family: 'html5-ugyesen-com';
	src:url('fonts/html5-ugyesen-com.eot');
	src:url('fonts/html5-ugyesen-com?#iefix') format('embedded-opentype'),
		url('fonts/html5-ugyesen-com.woff') format('woff'),
		url('fonts/html5-ugyesen-com.ttf') format('truetype'),
		url('fonts/html5-ugyesen-com.svg#html5-ugyesen-com') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* Itt történik az érdekes rész, használnom kell a data attributumot, hogy be tudjam illeszteni az ikonokat*/
[data-icon]:before {
	font-family: 'html5-ugyesen-com';
	content: attr(data-icon);
	speak: none;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}

/* Mivel én ikononként létrehoztam egy class-t ezért szükségem van az egyes elemek kiemelésére */
.icon-html5finder, .icon-html5windows8, .icon-html5exit, .icon-html5home {
	font-family: 'html5-ugyesen-com';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}
/*tartalom megadása - az icomoon által generált állományból tudhatod, hogy mivel tudod az egyes ikonokat meghivatkozni*/

.icon-html5finder:before {
	content: "\e001";
}
.icon-html5windows8:before {
	content: "\e002";
}
.icon-html5exit:before {
	content: "\e003";
}
.icon-html5home:before {
	content: "\e000";
}
