/*----------------STRUCTURE------------------*/
/*  #7C285C  */
* {
    
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

/*
a {
    text-decoration: none;
    color : black;
}
*/

html{
    background-image: linear-gradient(#F4F5F4, #F4F5F4);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 20px;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

.clearfix{zoom: 1}
.clearfix:after{
    content: '.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}
/*-----------------------------------------------*/

/*--------------REUSABLE COMPONENTS-------------*/
.row {
    max-width: 1140px;
    margin: 0 auto;
    
}

section{
    padding: 80px 0;
}

.box{
   padding: 1%; 
}

.btn{
    display: inline-block;
    padding: 10px 30px;
    font-weight: 300;
    text-decoration: none;
    border-radius: 200px;
    color: #fff;
    text-align: center;
}

.btn-full{
    background-color: #7C285C;
    color: #fff;
}

.btn-ghost{
    color: #7C285C;
    border: 1px solid #7C285C;
}
/*------------HEADINGS--------------*/

h1,
h3{
    font-weight: 300;
    letter-spacing: 1px;
}

h1,
h2{
    word-spacing: 2px;
    text-align: center;
    font-family: 'Lato', 'Arial', cursive sans-serif;
}

h1{
    font-size: 180%;
    margin-bottom: 30px;
}

.section-motto p:after,
.long-copy:after,
h2:after{
    display: block;
    height: 2px;
    background-color: #7C285C;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 30px;
}

h2{
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 140%;
    margin-top: 0px;
    margin-bottom: 5px;
}

h3{
    text-transform: uppercase;
    font-size: 110%;
    margin-bottom: 15px;
    text-align: center;
}

/*--------------PARAGRAPHS--------------------*/
.long-copy{
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
}

.box p{
    font-size: 90%;
    line-height: 145%;
    text-align: center;
}


/*--------------ICONS--------------------*/
ion-icon{
    color: #7C285C;
    margin: 0 auto;
}

.box ion-icon{
    font-size: 320%;
    display: block;
    margin-bottom: 20px;
}

/*------------------ NORMAL NAV ----------------*/

.main-nav{
    padding-top: 3vh;
    text-align: center;
}

.main-nav li{
    display: inline-block;
    margin-left: 40px;
    text-align: center;
}

.first {
    margin-left: 0;
}


.main-nav li a:link,
.main-nav li a:visited{
    padding: 5px 0;
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 80%;
    text-align: center;
    vertical-align: middle;
    font-weight: 400;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active{
    border-bottom: 2px solid #7C285C;   
}

.entire-nav{
    text-align: center;
}

.entire-nav li{
    display: inline-block;
    vertical-align: middle;
}

.nav-logo-break{
    display: none;
}

/* ------------------- STICKY NAV ----------------------- */

.sticky{
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 2px #f2f2f2;
    z-index: 9999;
    text-align: center;
    padding: 1vh 0;
}



.sticky .algo-logo{
    width: 50px;
}

.sticky .algo-logo-pic{
    content: url(img/algoritmi%20logo.png);
    width: 100%;
}

.sticky .algo-logo-pic:visited,
.sticky .algo-logo-pic:link{
    border: 0;
}

.sticky .main-nav{
    padding: 1vh 0;
    margin: 0;
}

.sticky .main-nav li{
    display: inline-block;
    margin-left: 40px;
    text-align: center;
}

.sticky .main-nav li a:link,
.sticky .main-nav li a:visited{
    padding: 5px 0;
}

/* -------------------- MOBILE NAV ------------------------*/

.mobile-nav-menu{
    float: left;
    margin-top: 15px;
    cursor: pointer;
    display: none;
    margin-left: 15px;
}

.mobile-nav-menu ion-icon{
    color: #000;
    font-size: 150%;
}

/*-------------------------------------------------*/

/*--------------HEADER--------------------*/

header{
    background-image: url(img/Background%20Header.png);
    background-size: cover;
    background-position: center;
    height : auto;
}

.head{
    padding: 50px;
    text-align: center;
}

.fit-center{
    margin-top: 1vh;
    min-width: 265px;
    max-width: 35vw;
    max-height: 70vh;
    vertical-align: middle;
}

.algoritmi-logo{
    margin-top: 6vh;
    min-height: 0;
}

.motto{
    padding-top: 2.7vh;
}

.scroll{
    padding-top: 5vh;
    transition: transform 0.2s;
}

.scroll:hover,
.scroll:active{
    transform: translate(0%, 10%);
}

/*-----------------------------------------------*/

/*-------------------MOTTO--------------------*/

.section-motto{
    background-color: #F4F5F4;
    padding: 80px 0px;
}

.section-motto h1:before{
    content: "\201C";
    display: block;
    font-size: 200%;
    color: #7C285C;
}

.section-motto p{
    text-align: center;
    margin-top: 20px;
    font-family: serif;
    font-style: italic;
    font-size: 120%
}

.section-motto a{
    text-decoration: none;
    color : black;
    transition: font-size 0.2s;
}

.section-motto a:visited,
.section-motto a:link{
    text-decoration: none;
    color : black;
}

.section-motto a:hover,
.sectiopn-motto a:active{
    font-size: 120%;
}

.section-motto p:after{
    margin-top: 60px;
}

/*-------------------FEATURES--------------------*/

.firstSquare {
    text-align: center;
}

.section-features{
    background-color: #ededed;
    padding-top: 80px;
}

.section-features h2:after{
    visibility: hidden;
    margin: 0;
}

.section-features .long-copy{
    margin-bottom: 40px;
}

/*-------------------TOPICS--------------------*/
.section-topics{
    padding: 0;
}

.main-topics{
    list-style: none;
    width: 100%;
}

.main-topics li{
    display: block;
    float: left;
    width: 25%;
}

.topic-photo{
    width: 100%;
    margin: 0;
    overflow: hidden;
    background-color: #000
}

.topic-photo img{
    opacity: 0.7;
    width: 100%;
    height: auto;
    transform: scale(1.15);
    transition: transform 0.5s, opacity 0.5s;
}

.topic-photo img:hover{
    opacity: 1;
    transform : scale(1.03);
}

/*-------------------HOW IT WORKS--------------------*/

.section-steps{
    background-color: #F4F5F4;
}

.work-box{
    margin-top: 15px;
}

.work-box:first-child{
    text-align: right;
    padding-right: 3%;
    margin-top: 4.5%;
}

.work-box:last-child{
    padding-left: 3%;
    margin-top: 15px;
}

.website-screen{
    width:100%;
}

.work-steps{
    margin-bottom: 50px;
}

.work-steps div{
    vertical-align: middle;
    color: #7C285C;
    border: 2px solid #7C285C;
    display: inline-block;
    border-radius: 50%;
    height: 55px;
    width: 55px;
    text-align: center;
    padding: 5px;
    padding-top: 7px;
    float: left;
    font-size: 150%;
    margin-right: 25px;
}

.longer div{
    margin-top: 15px;
}

.work-steps p{
    vertical-align: middle;
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
    margin-top: 20px;
    margin-bottom: 10px;
}

/*-------------------START--------------------*/

.section-start{
    background-color: #ededed;
}

.section-start h2:after{
    visibility: hidden;
    padding: 0;
    margin: 0;
}

.learn{
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url("img/Nachhilfe.png");
}

.teach{
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("img/Lehrer werden.png");
}

.start-box{
    color:#fff;
    background-size: cover;
    border-radius: 50px;
    width: 75%;
    margin-left: 12.5%;
    margin-top: 40px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.start-box:hover{
    transform: scale(1.05);
    border-color: #7C285C;
}

.start-box p,
.startbox h4{
    line-height: 145%;
}

.start-box h3{
    text-transform: capitalize;
    font-weight: bold;
    font-family: serif;
    font-size: 180%
}

.start-box h4{
    font-style: oblique;
    font-size: 105%;
    letter-spacing: 2px;
}

.start-box div{
    padding: 15px;
    margin: 10px 15px;
}

.start-title{
    font-size: 150%;
    margin-top: 40px;
}

.start-box .btn{
    color: #fff;
    margin-bottom: 15px;
    border-color: #fff;
    transition: background-color 0.2s, border-color 0.2s;
}

.start-box .btn:hover{
    background-color: #7C285C;
    border-color: #7C285C;
}


/*-------------------FOOTER--------------------*/

footer{
    padding-top: 15px;
    background-color: #333;
}

footer p{
    text-align: center;
    color: #888;
    margin: 20px 0;
    font-weight: lighter;
    font-size: 80%;
}

.footer-nav{
    list-style: none;
    float:left;
}

.social-links{
    list-style: none;
    float: right;
}

.social-links ion-icon{
    color: #888;
    font-size: 120%;
    transition: color 0.2s;
}

.social-links ion-icon:hover{
    color: #ddd;
}

.footer-nav li,
.social-links li{
    display: inline-block;
    margin-right: 30px;
    color: #888;
}

.footer-nav li:last-child,
.social-links li:last-child{
    margin: 0;
}

.footer-nav li a,
.footer-nav li a,
.social-links li a,
.social-links li a{
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}


.footer-nav li a:hover{
    color:#ddd;
}

/*------------ ANIMATION -------------*/

.js--wp-1{
    opacity: 0;
}

.js--wp-2.animate__fadeInLeft{
    opacity: 1;
}










