/*----------------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-color: #fff;
}

.head{
    padding-top: 100px;
    padding-bottom: 40px;
    text-align: center;
}

.fit-center{
    margin-top: 1vh;
    min-width: 265px;
    max-width: 35vw;
    max-height: 70vh;
    vertical-align: middle;
}

.algoritmi-logo{
    margin-top: 9.5vh;
    min-height: 0;
}

.motto{
    padding-top: 2.7vh;
}


/*-----------------------------------------------*/

/*------------------NACHHILFE------------------*/
.section-nachhilfe-head{
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(img/Lehrer%20werden%20croped.png);
    background-size: cover;
    width: 100%;
    padding: 0;
    text-align: center;
}

.nachhilfe-textimage{
    text-align: center;
    margin: auto 0;
    width: 100%;
    
}

.nachhilfe{
    width: 50%;
    vertical-align: middle;
    padding: 0;
    margin: 50px 0;
    margin-top: 40px;
}

.nachhilfe-text{
    color: #fff;
    padding: 20px;
}

.nachhilfe-text h2:after{
    visibility: hidden;
}

/*-----------------NACHHILFE PACKAGES------------------*/
.normal-nachhilfe{
    background-color: #ededed;
}

.normal-nachhilfe h2:after{
    visibility: hidden;
    margin: 0;
}

.preis{
    color: #7C285C;
}

.force-nachhilfe h2:after{
    visibility: hidden;
    margin: 0;
}

.preis{
    color: #7C285C;
}

/*-----------------TERMIN VEREINBAREN------------------*/
.termin-vereinbaren{
    background-color: #ededed
}

.termin-vereinbaren p:after{
    visibility: hidden;
    margin: 0;
}

.termin-vereinbaren div h4{
    text-align: center;
    font-size: 95%;
}

.prefered{
    display:;
    margin-bottom: 20px;
    color: #7C285C
}

.prefered ion-icon{
    font-size: 30px;
    margin-bottom: 0;
}

/*-------------------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;
}

/*-------------------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;
}


/*------------- COOKIES CONSENT -----------*/
#footer-cookie {
  font-family: Georgia, serif;
  background: #eee;
  font-size: 16px;
}

#footer-cookie,
#footer-cookie * {
  box-sizing: border-box;
}

#footer-cookie {
  display: none;
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 60px;
  padding-left: 30px;
  padding-right: 30px;
  line-height: 60px;
  background: #303030;
  color: #fff;
}

#footer-cookie a {
  color: #fff;
}

#footer-cookie #description {
  float: left;
}

#footer-cookie #accept {
  float: right;
}

#footer-cookie #accept a {
  border: 1px solid #fff;
  padding: 5px 10px;
  text-decoration: none;
}

@media (max-width: 1200px) {
  #footer-cookie {
    padding-top: 30px;
    padding-bottom: 30px;
    line-height: inherit;
    height: auto;
  }

  #footer-cookie #description {
    width: 100%;
  }

  #footer-cookie #accept {
    width: 100%;
    margin-top: 15px;
  }

  #footer-cookie #accept a {
    width: 100%;
    display: block;
    text-align: center;
  }

  #footer-cookie #decline{
    float: right;
  }

  #footer-cookie #decline a {
  border: 1px solid #fff;
  padding: 5px 10px;
  text-decoration: none;
}

  #decline{
    margin-left: 20px;
  }
}

