@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=Merriweather:wght@300;400;700&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);
  line-height: 1;
  background-position: center;
  background-attachment: fixed;
  background-size: 80%;
}

header{
    position: fixed; 
    max-width: inherit;
    z-index: 100000;
    width: 100%;
    padding: 60px 60px;
    background: #113F82;
    box-sizing: border-box;
    /*border-radius: 6px;*/
    border-bottom: 1.75px dashed white;
    top: 0;
}

.logo{
    color: white;
    /*height: 60px;*/
    font-size: 90px;
    line-height: 60px;
    /*padding: 0 20px;*/
    text-align: center;
    text-decoration: none;
    font-family: 'Skolak School';
    align-items: center;
    justify-content: center;
    display: flex;
    text-shadow: 0 4px 6px rgb(0 0 0 / 50%);
    padding-top: 20px;
}

.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: 8px;
  left: 0;
  background-color: #D8D8D8;
  visibility: hidden;
  transition: all 0.4s ease-in-out;
}

.logo p1:hover:before {
  visibility: visible;
  width: 100%;
}


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: 1.25px;
}




@media(max-width: 760px){
    header{
        width: 100%;
    }
    nav{
        width: 100%;
        display: block;
        flex-direction: column;
    }
    p{
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-content: center;
        float: none;
        
    }
    
}

nav{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    /*margin: 0 auto;*/
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    /*vertical-align: middle;*/
    align-items: center;
    justify-content: space-evenly;
    padding: 20px 0 0 0;
    /*top: 160px;*/
    margin-top: 100px;
    /*min-height: 60vh;*/
    height: auto;
}

.flip-card {
  /*background-color: transparent;*/
  width: 150px;
  height: 150px;
  perspective: 1000px;
  display: inline-block;
  margin: 20px;
  align-items: center;
  justify-content: center;
    cursor: pointer;
    /*bottom: 120px;*/
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  /*box-shadow: 0 8px 8px 0 rgba(0,0,0,0.2);*/
}

.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 {
    /*box-sizing: border-box;
    border-radius: 12px;*/
    background-color: #37AFD0;
    transform: rotateY(180deg);
}

a{
    text-decoration: none;
    list-style: none;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    position: absolute;
    
}

p{
    position: relative;
    margin: 0 auto;
    padding: 0;
    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 2px 6px rgb(0 0 0 / 50%);
    font-weight: 600;
}

p:hover{
    transition: .4s ease-in-out;
    transition: transform .4s;
    transform: scale(0.85);
}


.text-home {
    padding: 40px 120px;
    /*font-size: 21px;
    text-decoration: none;
    line-height: 1.5;*/
    text-align: center;
    position: relative;
    margin: 0 auto;
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    /*font-family: 'Lato', Calibri, Arial, sans-serif;*/
    /*font-family: 'Source Sans Pro', Helvetica, sans-serif;
    font-weight: 500;
    flex-grow: 1;*/
    top: 120px;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1.75px dashed #37AFD0;
    background-color: white;
    box-shadow: 0 4px 12px 0 rgba(0,0,0,0.2);
}

p2{
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    flex-grow: 1;
    font-size: 22px;
    text-decoration: none;
    line-height: 1.5;
    color: #575757;
    
}







