* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.hide {
    display: none !important;
    
}

.show {
    display: block !important;
    animation: name 1s ease !important;
}

/*Container*/
.app-wrapper {
    position: relative;
    max-width: 1004px;
    margin: auto;
    overflow: hidden;
    background-color: #5D2A29;
    min-height: 100vh;
}

/* COVER */
.cover {
    width: 100%;
    height: 33vh;
    max-height: 430px;
    position: relative;
}
.cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* headline and btn*/
h1 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 26px !important;
    font-weight: 400 !important;
}

.headline {
    display: grid;
    justify-content: space-evenly;
    align-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    color: #F1F1F1;
    z-index: 2;
    padding: 1rem;
}

.headline span {
    font-size: 16px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 300 !important;
    font-style: italic;
    line-height: 0.5;
}

.btn1 {
    background-color: #427EA8;
    color: white;
    border: none;
    padding: 0.5em 1em;
    margin: auto;
    margin-top: 1rem;
    border-radius: 5px;
    font-size: 16px;
    z-index: 2;
    text-decoration: none;
}

.btn1:hover{
    color: white !important;
    background-color: #366b94;
}

/* Caurosel*/
#obj-pos-1 {
    height: 33vh;
    object-position: 0 50%;
    object-fit: cover;
}
#obj-pos-2 {
    height: 33vh;
    object-position: 0 50%;
    object-fit: cover;
}
#obj-pos-3 {
    height: 33vh;
    object-position: 0 20%;
    object-fit: cover;
}

.carousel {
    height: 100%;
}

/* MAIN */
.main {
    padding: 1em;
    width: 100%;
}

.card {
    position: relative;
    padding: 10px;
    color: #5D2A29;
    /*height: 165px;*/
    width: 100%;
    margin-bottom: 1em;
    cursor: pointer;
}

.down-arrow-svg{
    fill: #5D2A29;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: auto;
}
.down-arrow-svg-full{
    display: none;
    fill: #5D2A29;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: auto;
}
.down-arrow-svg-full-blue{
    display: none;
    fill: #427EA8;
    position: relative;
    transform: rotate(180deg) !important;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: auto;
}
.card-open {
    position: relative;
    height: auto;
}
.close-icon {
    display: none;
    position: absolute;
    right: 10px;
    top: 10px;
}



h2 {
    margin: 1.5em auto 0.2em !important;
    font-size: 20px;
    font-weight: 300 !important;
}

h3 {
    font-size: 20px;
    text-align: center;
    width: 70%;
    margin: auto;
    padding-top: 1em;
    font-weight: 400 !important;
}

p {
    margin-bottom: 2rem !important;
}
.text-hidden {
    text-overflow: ellipsis;
    width: 100%;
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}
 

.icon {
    width: 25px;
    height: auto;
}

.icon-container {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-evenly;
    width: 50%;
    margin: auto;
}



/* Footer */
footer {
    position: relative;
    padding: 0 1em 1em;
    color: #A85C5B
}

footer ul {
    text-align: center;
    list-style-type: none;
    padding: 0;
    margin-bottom: 10px !important;
}

footer a {
    color: #A85C5B;
    text-decoration: none;
}

footer a:hover {
    color: #427EA8
}

@media only screen and (min-width: 768px) {
    h1 {
        font-size: 43px !important;
        font-weight: 400 !important;
    }
    .headline {
        grid-template-columns: 60% auto;
    }
    .headline span {
        font-size: 26px;
    }
    .btn1 {
        margin-top: auto;
    }

    /* Main */
    .main {
        padding: 3em;
    }
    .grid-container {
        display: grid;
        grid-template-columns: auto auto auto;
        column-gap: 1em;
    }
    /* Footer */
    footer {
        bottom: 0%;
        display: grid;
        grid-template-columns: 50% 50%;
        color: #A85C5B;
    }

    footer ul {
        margin-bottom: 0 !important;
    }
    
}

@media only screen and (min-height: 1000px) {
    .grid-container{
        grid-template-columns: auto auto;
    }
}