/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* end css reset ***************************************************************************/
/* start generalni opisi *******************************************************************/
img{
    max-width: 100%;
}
a{
    text-decoration: none;
}
p{
    line-height: 1.5;
}
h1{
    font-family: 'Patrick Hand', cursive;
    font-size: 45px;
}
h2{
    font-family: 'Mali', cursive;
    font-size: 35px;
}
h3{
    font-family: 'Crete Round', serif;
    font-size: 30px;
}
h1, h2, h3{
    margin: 20px 0;
}
body{
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
}
.container{
    width: 75%;
    margin: auto;
}
html{
    scroll-behavior: smooth;
}
.clearfix::after{
    content: "";
    clear: both;
    display: block;
}
/* end generalni opisi */

/* start heder *******************************************************************************/
nav{
    background-color: #083171;
    display: flex;
    justify-content: space-around;
    position: fixed;
    box-shadow: 0px 13px 9px 0px #000000bf;
    -webkit-box-shadow: 0px 13px 9px 0px #000000bf;
    -moz-box-shadow: 0px 13px 9px 0px #000000bf;
    z-index: 1;
    width: 100%;
}
.logo{
    flex-basis: 12%;
}
.menu{
    flex-basis: 60%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.menu li a{
    color: white;
    text-transform: uppercase;
}
.menu li a:hover{
    color: #f16868;
}
.menu li:last-child a{
    background-color: #3939f1;
    padding: 10px;
    border-radius: 25px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
    border: 1px solid #3939f1;
}
.menu li:last-child a:hover{
    background-color: transparent;
    border: 1px solid #3939f1;
}
/* end heder */
/* start hero section ***********************************************************************/
#hero{
    position: relative;
}

.welcome{
    position: absolute;
    top:40%;
    left: 10%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
   
}
.welcome h2{
    text-transform: uppercase;
    color: #ce3e3e;
}
.welcome h1 span:first-child{
    color:#ce3e3e;
}
.welcome h1 span:last-child{
    color: #3939f1;
    font-weight: 900;
}
.welcome p{
    margin: 30px 0;
    line-height: 1.5;
}
.welcome p{
    color: #4f4646;
}
.welcome a{
    display: block;
    text-align: center;
    background-color: #87a8db;
    width: 50%;
    padding: 15px 0;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    color: white;
    font-weight: 800;
    border: 2px solid #ce3e3e;
}
.welcome a:hover{
    background-color: #ce3e3e;
    color: #87a8db;
}
/* end hero section ************************************************************************/
/* start about section **********************************************************************/
.computer{
    float: left;
    width: 40%;
    padding-top: 5%;
}
.we{
    float: right;
    width: 60%;
}
#about h2{
    text-align: center;
}
#about p{
    color: #4f4646;
    line-height: 1.5;
}
#about a{
    display: block;
    background-color: #ce3e3e;
    width: 30%;
    text-align: center;
    color: white;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    padding: 15px 0;
    margin-top: 3%;
    border: 2px solid #3939f1;
}
#about a:hover{
    background-color: #3939f1;
}
#about{
    background-image: url(../images/about-section-with-code-icons-nova.jpg);
    background-size: cover;
    background-position: center;
    padding:10% 5%;
    margin-top: -20px;
}
#about h2, #why h2{
    color: #ce3e3e;
    font-weight: 900;
    text-align: center;
}
/* end about section **********************************************************************/
/* start courses section *******************************************************************/
.row{
    display: flex;
    justify-content: space-between;
}
#courses .container{
    text-align: center;
}
.row i{
    font-size: 60px;
}
.course{
    flex-basis: 30%;
    padding: 5% 2%;
    box-shadow: 0px 0px 12px 10px #052a65a6;
    -webkit-box-shadow: 0px 0px 12px 10px #052a65a6;
    -moz-box-shadow: 0px 0px 12px 10px #052a65a6;
    border: 1px solid #083171;
    margin: 1%;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}
.course:hover{
    box-shadow: 0px 0px 11px 10px #4b5c78a6;
-webkit-box-shadow: 0px 0px 11px 10px #4b5c78a6;
-moz-box-shadow: 0px 0px 11px 10px #4b5c78a6;
}
#courses{
    padding: 3% 0;
    color: white;
    background: rgb(25,166,175);
    background: linear-gradient(0deg, rgba(25,166,175,1) 3%, rgba(5,42,101,1) 48%, rgba(8,49,113,1) 89%);
}
.course a{
    background-color: #3939f1;
    display: block;
    width: 50%;
    margin: 5% auto;
    padding: 10px 0;
    color: white;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}
.course:hover a{
    background-color: #ce3e3e;
}
/*.course:hover{
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}*/
/* end courses section **********************************************************************/
/* start why section ***********************************************************************/
#why{
    margin-top: 5%;
}
#why .container{
    display: flex;
    justify-content: space-between;
}
.typing{
    flex-basis: 40%;
}
.progres p{
    margin: 3% 0;
}
.progres{
    flex-basis: 55%;
}
.progres h3{
    margin: 5% 0;
}
.bar{
    display: flex;
}

/* end why section ************************************************************************/
/* start contact section ******************************************************************/
#contact{
    margin-top: 5%;
    padding: 5% 0;
   
    background-color: #052a65;
    color: white;
}
#contact .container{
    display: flex;
    justify-content: space-between;
}
.send{
    flex-basis: 45%;
}
.send p:last-of-type{
    display: inline;
    margin-right: 2%;
    font-weight: 700;
}
.send p:first-of-type{
    margin: 7% 0;
}
.send a{
    color: white;
}
.send a i{
    font-size: 20px;
    background-color: white;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    padding: 7px;
    color: #052a65;
    border: 1px solid white;
}
.send a i:hover{
    background-color: transparent;
    color: white;
}
.form{
    flex-basis: 40%;
    background-color: white;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    padding: 5%;
}
.form input, .form textarea{
    background-color: #052a65;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    border: 1px solid #052a65;
    padding: 10px;
    display: block;
    width: 90%;
    margin: 2% 0;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: white;
    opacity: 1; /* Firefox */
}
.form input:first-of-type, .form input:nth-of-type(2){
    display: inline-block;
    width: 40%;
    margin: 2% 4% 2% 0;
}
.form button{
    background-color: #3939f1;
    color: white;
    border: 1px solid #3939f1;
    padding: 10px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    cursor: pointer;
}
form button:hover{
    color: #3939f1;
    background-color: transparent;
}
/* end contact section ******************************************************************/

/* start footer section ******************************************************************/
footer{
    background-color: #ebeffa;
    color: #052a65;
    padding: 2% 0;
}
footer h2{
    margin-top: 0;
    margin: 1% auto;
    width: 10%;
    text-align: center;
    border-bottom: 1px solid #052a65;
    padding-bottom: 1%;
}
footer .container{
    display: flex;
    justify-content: space-between;
}
footer .container div{
    flex-basis: 23%;
}
.social{
    width: 20%;
    margin: 1% auto;
    text-align: center;
}
.social i{
    font-size: 35px;
    margin-right: 2%;
    color: #052a65;
}
.social i:hover{
    color: #ce3e3e;
}
.rigth{
    text-align: center;
    background-color: #083171;
    color: white;
    padding: 2% 0;
}
.useful a{
    display: block;
    padding: 15px 0;
}
.useful a:hover{
    color: #ce3e3e;
}
.newsletter input{
    display: block;
    width: 70%;
    height: 30px;
    margin-bottom: 20px;
}
.newsletter button{
    background-color: #3939f1;
    color: white;
    border: 1px solid #3939f1;
    padding: 15px;
    cursor: pointer;
}
.newsletter button:hover{
    background-color: transparent;
    color: #3939f1;
}
/* end footer section ******************************************************************/
