/* @import must be at top of file, otherwise CSS will not work */
@import url("http://hello.myfonts.net/count/2a4b22");

@font-face {
	font-family: 'Optima';
	font-weight: normal;
	font-style: normal;
	src: url('./webfonts/2A4B22_3_0.eot');
	src: url('./webfonts/2A4B22_3_0d41d.eot?#iefix') format('embedded-opentype'),
		url('./webfonts/2A4B22_3_0.woff') format('woff'),
		url('./webfonts/2A4B22_3_0.ttf') format('truetype');
}

@font-face {
	font-family: 'Optima';
	font-weight: normal;
	font-style: italic;
	src: url('./webfonts/2A4B22_0_0.eot');
	src: url('./webfonts/2A4B22_0_0d41d.eot?#iefix') format('embedded-opentype'),
		url('./webfonts/2A4B22_0_0.woff') format('woff'),
		url('./webfonts/2A4B22_0_0.ttf') format('truetype');
}
 
@font-face {
	font-family: 'Optima';
	font-weight: bold;
	font-style: normal;
	src: url('./webfonts/2A4B22_1_0.eot');
	src: url('./webfonts/2A4B22_1_0d41d.eot?#iefix') format('embedded-opentype'),
		url('./webfonts/2A4B22_1_0.woff') format('woff'),
		url('./webfonts/2A4B22_1_0.ttf') format('truetype');
}
  
@font-face {
    font-family: 'Optima';
    font-weight: bold;
    font-style: italic;
    src: url('./webfonts/2A4B22_2_0.eot');
    src: url('./webfonts/2A4B22_2_0d41d.eot?#iefix') format('embedded-opentype'),
        url('./webfonts/2A4B22_2_0.woff') format('woff'),
        url('./webfonts/2A4B22_2_0.ttf') format('truetype');
}

body {
    background-color: #006db8;
    color: white;
    font-family:'Optima',Arial,Helvetica,sans-serif;
    font-size: 17px;
}

a {
    color: white;
}

a:hover {
    text-decoration: underline;
}

strong {
    font-weight: bold;
}

header {
    padding: 24px 0 16px;
}

.illu-wrapper {
    width: 550px;
    height: 550px;
    background-color: white;
    border-radius: 50%;
    color: #006db8;
    margin: 0 auto;
}

.illu-wrapper svg {
    max-width: 315px;
    margin-top: 130px;
}

h1 {
    font-size: 38px;
    font-weight: bold;
    margin: 0;
}

h3 {
    font-size: 1.5rem;
    font-weight: bold;
}

footer {
    margin-top: 40px;
}

.contact a {
    background-color: white;
    color: #006db8;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 1px;
    border: 2px solid white;
    transition: all .4s;
}

.contact a:hover {
    background-color: #006db8;
    color: white;
}

#path2 {
    opacity: 0;
    animation: 
        fadeIn 5s 0s infinite;
}

#path3 {
    opacity: 0;
    animation: 
        fadeIn 5s .5s infinite;
}

#path4 {
    opacity: 0;
    animation: 
        fadeIn 5s 1s infinite;
}

@keyframes fadeIn {
    0% {opacity: 0;}
    5% {opacity: 1;}
    50% {opacity: 1;}
    55% {opacity: 0;}
    100% {opacity: 0;}
}

@media only screen and (max-width: 992px) {
    .illu-wrapper {
        width: 400px;
        height: 400px;
    }

    .illu-wrapper svg {
        max-width: 200px;
        margin-top: 70px;
    }
    
    h1 {
        font-size: 34px;        
    }
}

@media only screen and (max-width: 600px) {
    .illu-wrapper {
        width: 300px;
        height: 300px;
    }

    .illu-wrapper svg {
        max-width: 160px;
        margin-top: 40px;
    }
    
    h1 {
        font-size: 28px;        
    }
}