/* Put your Mobile First styles here */

html{
    height: 100%;
}

body{
    height: 100%;

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#main-visual{
    width: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

#main {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    height: auto;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 50px;
}

.logo {
    max-width: 150px;
    width: 100%;
    height: auto;
    margin-bottom: 1.2em;
}

.language{
    position: absolute;
    top: 0px;
    right: 5px;
}

h1 {
	font-family: 'Open Sans', sans-serif;
	color: #000;
    font-size: 20px;
    font-weight: 400;
    padding: 0;
    text-align: left;
}

p {
	font-family: 'Open Sans', sans-serif;
	color: #000;
    font-size: 16px;
    margin: 10px 3px;
}

a{
    color: #0070ff;
    font-weight: 600;
    text-decoration: none;
}


.delay-200 {
    animation-delay: 0.15s;
}

.delay-400 {
    animation-delay: 0.3s;
}


.new-site {
    margin-top: 20px;
   padding-top: 0px;
   border-top: 1px solid rgba(255, 255, 255, 0.2);
   text-align: left;
}








@media only screen and (min-width: 500px) {

    .logo {
        max-width: 190px;
    }
        
    h1{
        text-align: left;
        font-size: 22px;
    }

    .new-site {
        margin-top: 40px;
        padding-top: 0px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
        text-align: left;
    }

    p a{
        position: relative;
      }
    
    p a:after{
    content: '';
    position: absolute;
    width: 0; height: 2px;
    display: block;
    margin-top: 2px;
    right: 0;
    background: #0070ff;
    transition: width .3s ease;
    -webkit-transition: width .3s ease;
    }
    
    p a:hover:after{
    width: 100%;
    left: 0;
    background: #0070ff;
    }

}



@media only screen and (min-width: 1000px) {

    h1{
        font-size: 36px;
        font-weight: 600;
        letter-spacing: -0.5px;
        line-height: 1.3;
    }
    h2{
        font-size: 24px;
        font-weight: 600;
        letter-spacing: -0.5px;
        line-height: 1.3;
    }
    p {
        font-size: 16px;
        opacity: 0.7;
        margin: 20px 0;
        line-height: 1.6;
    }

    .container {
        max-width: 100%;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row-reverse;
    }

    #main-visual{
        width: 40%;
        max-height: 100vh;
        min-height: 100vh;
        position: fixed;
    }

    #main{
        margin-top: 0;
        margin-bottom: 0;
        padding: 70px 70px;
        width: 70%;
        max-width: 800px;
        margin-right: 40%;
        display: block;
    }

}