@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Merriweather:wght@300;400;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');

@font-face{
    font-family: 'Skolak School';
    font-weight: 400;
    src: url("css/fonts/SkolakSchool-Regular.otf") format("opentype");
    
}

@font-face{
    font-family: 'Skolak School';
    font-weight: 600;
    src: url("css/fonts/SkolakSchool-SemiBold.otf") format("opentype");
    
}

@font-face{
    font-family: 'Skolak School';
    font-weight: 700;
    src: url("css/fonts/SkolakSchool-Bold.otf") format("opentype");
    
}

@font-face{
    font-family: 'Skolak School';
    font-weight: 500;
    src: url("css/fonts/SkolakSchool-Medium.otf") format("opentype");
    
}

@font-face{
    font-family: 'Skolak School';
    font-weight: 300;
    src: url("css/fonts/SkolakSchool-Light.otf") format("opentype");
    
}

@font-face{
    font-family: 'Skolak School';
    font-weight: 200;
    src: url("css/fonts/SkolakSchool-ExtraLight.otf") format("opentype");
    
}



body {
  margin: 0;
  background-image: url(background-lines1.jpg);
  background-position: center;
  background-attachment: fixed;
  background-size: 80%;
}

header{
    position: fixed; 
    max-width: inherit;
    z-index: 10000;
    /*max-width: 1500px;*/
    width: 100%;
    /*margin: 0 20px;*/
    padding: 6px 90px;
    background: #113F82;
    box-sizing: border-box;
    /*border-radius: 6px;*/
    border-bottom: 1.75px dashed white;
}

.logo{
    color: white;
    /*height: 60px;*/
    font-size: 56px;
    line-height: 60px;
    padding: 0 20px;
    padding-top: 6px;
    text-align: center;
    /*box-sizing: border-box;*/
    float: left;
    text-decoration: none;
    font-family: 'Skolak School';
    align-items: center;
    text-shadow: 0 4px 6px rgb(0 0 0 / 50%);
}

.logo:hover{
    color: #D8D8D8;
    transition: color .3s ease-in-out;
    
}

.logo p1{
    position: relative;
}


.logo p1:before {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 10px;
  left: 0;
  background-color: #D8D8D8;
  visibility: hidden;
  transition: all 0.4s ease-in-out;
}

.logo p1:hover:before {
  visibility: visible;
  width: 100%;
}

nav{
    float: right;
}

.clearfix{
    clear: both;
}

nav ul{
    margin: 0;
    padding: 0;
    display: flex;
    max-width: inherit;
}

nav ul li{
    list-style: none;
    padding: 0 15px;
}

nav ul li a{
    display: block;
    margin: 10px 0;
    padding: 8px 10px;
    text-decoration: none;
    color: white;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 2.60px;
    transition: .5s ease-in-out;
    line-height: 1.5;
}

nav ul li a:hover{
    /*background-color: white;
    color: black;*/
    transition: color .8s ease-in-out;
    transition: transform .8s;
    transform: scale(1.15);
    text-shadow: 0 6px 6px rgb(0 0 0 / 50%);
    /*font-weight: 600;*/
    
}

/*@media(max-width: 1500px){
    header{
        padding: 10px 60px;
    }
}*/

@media(max-width: 760px){
    .menu-toggle{
        display: block;
        width: 30px;
        height: 30px;
        margin: 10px;
        float: right;
        cursor: pointer;
        text-align: center;
        font-size: 30px;
        color: white;
    }
    .menu-toggle:before{
        content: '\f0c9';
        font-family: 'fontAwesome';
        line-height: 30px;
    }
    .menu-toggle.active:before{
        content: '\f00d';
        
    }
    nav{
        display: none;
    }
    nav.active{
        display: block;
        width: 100%;
    }
    nav.active ul{
        display: block;
    }
     /*nav.active ul li a{
        margin: 0;
    }*/
}

footer{
    list-style: none;
    /*margin-bottom: 250px;*/
    /*margin-top: 800px;*/
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 12px;
    height: 17px;
    font-size: 12px;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: 2px;
}

.flip-card {
  width: 160px;
  height: 160px;
  perspective: 1000px;
  margin-left: 110px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
  color: white;
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 14px;
  box-shadow: 0 8px 8px 0 rgba(0,0,0,0.2);
}

.flip-card-front {
  background: inherit;
}

.flip-card-back {
    background-color: #37AFD0;
    transform: rotateY(180deg);
}


p3{
    /*position: relative;*/
    /*margin: 0 auto;*/
    margin-left: auto;
    margin-right: auto;
    padding-top: 60px;
    text-decoration: none;
    color: white;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    letter-spacing: 2.60px;
    transition: .5s ease-in-out;
    line-height: 1.5;
    align-items: center;
    align-content: center;
    justify-content: center;
    text-align: center;
    text-shadow: 0 4px 6px rgb(0 0 0 / 50%);
    display: flex;
    /*height: 18vh;*/
    font-weight: 600;
    /*top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    position: absolute;*/
    
    
}

p3:hover{
    transition: .4s ease-in-out;
    transition: transform .4s;
    transform: scale(0.85);
}


.text {
    padding: 40px 90px;
    position: relative;
    /*margin: 0 auto;*/
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1.75px dashed #37AFD0;
    background-color: white;
    margin-top: -240px;
    box-shadow: 0 4px 12px 0 rgba(0,0,0,0.2);
    overflow: hidden;
}

p2{
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    flex-grow: 1;
    font-size: 21px;
    text-decoration: none;
    line-height: 1.5;
    color: #575757;
    text-align: justify;
    line-height: 1.5;
}

p4{
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-weight: 300;
    flex-grow: 1;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.5;
    color: #575757;
    text-align: justify;
}

@media(max-width: 760px){
    .text{
        overflow: hidden;
        display: block;
        text-align: center;
        padding: 40px 60px;
        top: 60px;
        max-width: 75%;
        position: initial;
        margin: 0 auto;
    }
    .flip-card{
        display: block;
        text-align: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
}


