* {
    margin: 0; padding: 0;
  }

body {
background: #151517;
font-family: Instrument sans, sans-serif;
text-align: left;
}

.wrapper {
    margin: 0rem 0rem 4rem 8rem;
}
    



content{
    /* margin: 0px 120px 0px 120px; */
    display: flex;
    flex-direction: column;
    justify-content: left;
    color: #F1F6F8;
}

h1 {
font-size: 2rem;
font-weight: bold;
background: linear-gradient(106deg, #0B5C7F 6.65%, #8FC3D9 44.12%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-color: transparent;
/* position: relative; */
font-family: Alexandria, Raleway, sans-serif;
}

p {
color: #F1F6F8;
font-family: Instrument sans, sans-serif;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 143%; /* 22.88px */
}


.hero {
display:flex;
flex-direction: row;
align-items: center;
flex: 0 0 60%;

}

.hero-content {
display:flex;
flex-direction:column;
width:auto;
text-align:left;
align-items: baseline;
margin:0 8% 0 0; 

}


.hero img#labyrinth {
    flex: 0 0 40%;
    max-height:400px;
    width:auto;
    align-items:center;
}


.preview {
    width:auto;
    height:64px;
    background: #2D2D31;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: right;
    align-items: right;
    padding: 8px 20px;
    font-size: 14px;

}


.button {
margin: 16px 0px 0px 0px;
padding: 14px 28px;
font-size: 1rem;
font-weight: 400;
color: #F1F6F8;
background: linear-gradient(106deg, #0b4567 6.65%, #1e6383 44.12%);
border: none;
border-radius: 50px;
cursor: pointer;
/* position: relative; */
overflow: hidden;
transition: transform 0.2s ease, box-shadow 0.2s ease;
box-shadow: 0px 4px 10px rgba(11, 92, 127, 0.5);
}

.secondary {
    margin:20px 4px;
    color: #8FC3D9;
    background: transparent;
    text-decoration: none;
    text-align:left

}

.button:hover {
transform: translateY(-3px);
box-shadow: 0px 6px 15px rgba(11, 92, 127, 0.7);
}

.button:active {
transform: translateY(1px);
box-shadow: 0px 2px 5px rgba(11, 92, 127, 0.3);
}

.services {
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items:center;
    min-height:116px;
}


.card {
    width:220px;
    padding: 16px 20px;
    cursor:pointer;
    overflow:hidden;
    height:56px;
    display:flex;
    flex-direction:column;
    justify-content:space-around;
    align-items: baseline;
}

.card:hover {
    transform: scale(1.05);
    transition: 0.3s ease;
    height:auto;
}

.card .front {
    background: #2D2D31;
    color:#F1F6F8;
    text-transform: uppercase;
    height:56px;
    padding: 16px 20px;
    border-radius: 8px;
    text-align: center;
    transform:translateY(0);
    transition: height 0.4s ease-in-out, opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.card .back {
    background: #8FC2D9;
    color:#151517;
    height:0px;
    padding: 10px 20px;
    border-radius: 0px 0px 8px 8px;
    opacity:0;
    text-align: left;
    transform:translateY(0);
    transition: height 0.4s ease-in-out, opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
}
    
.card:hover .back {
    height:56px;
    transform:translateY(0px);
    opacity:1;
}

.card:hover .front {
    padding: 10px 20px;
    border-radius: 8px 8px 0px 0px;
    transform:translateY(0);
    box-shadow: 0px 6px 15px rgba(11, 92, 127, 0.7);
}






@media (max-width: 1024px) {


    .hero {
        flex-direction: column;
    }

    .hero-content {
        width: 100%; 
    }

    .services {
        display:flex;
        flex-direction: column; 

    }

    .wrapper {
        margin:2rem;
        }
        
        .hero {
        flex-direction: column; 
        
        }
        
        
        .hero .hero-content {
        padding: 10px 0px 10px 0px;
        margin:0 0 0 0; 
        text-align:left;
        margin:auto;
        
        
        }
        
        h1 {
        font-size: 1.4rem;
        margin:0 0 1.3rem 0;
        }
        
        #labyrinth {
        height: 200px;
        margin:auto;
        align-items:baseline;
        
        }
        
        .button {
        display:flex;
        align-items: center;
        padding: 10px 15px;
        
        
        }

}


@media (max-width: 600px) {



}