/* Cards */
.image-contain {
    width: 100%;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    position: relative;
}

.image-contain img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #9639ff;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    transition: border 0.3s ease;
}

.col-md-2,
.col-md-8 {
    flex: 1;
    padding: 10px;
}

.col-md-2 {
    max-width: 200px;
}

.col-md-2-comeup {
    flex: 1;
    padding: 10px;
}

.col-md-2-comeup {
    max-width: 270px;
}

/* Cards END*/

/* Instagram stories card*/
.card-stories {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #9639ff;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    transition: border 0.1s ease;
}

.card-stories:hover {
    border-width: 1px;
    border-color: #ddd;
    color: black;
    background-color: transparent;
}

.card-stories:link {
    color: black;
    background-color: transparent;
    text-decoration: none;
}

.card-stories:active {
    color: black;
    background-color: transparent;
    text-decoration: none;
}

.card-stories:visited {
    color: black;
    background-color: transparent;
    text-decoration: none;
}

/* Instagram stories card END */

/* text-styling */

.text-TEC {
    font-family: 'TECSans-Regular', Arial, Helvetica, sans-serif;
}

.text-TEC-bold {
    font-family: 'TECSans-Bold', Arial, Helvetica, sans-serif;
}

.text-title {
    font-family: 'TECSans-Regular', Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 2.5em;
    line-height: 1.2;
    padding-bottom: 5px;
}

.text-title-bold {
    font-family: 'TECSans-Bold', Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 2.5em;
    line-height: 1.2;
    padding-bottom: 5px;
}

.text-header {
    font-weight: normal;
    font-size: 2.33em;
    line-height: 1.2;
    padding-bottom: 5px;
}

.text-header2 {
    font-weight: normal;
    font-size: 2em;
    line-height: 1.2;
    padding-bottom: 5px;
}

.text-header3 {
    font-family: 'TECSans-Regular', Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 1.7em;
    line-height: 1.2;
    padding-bottom: 5px;
}

.text-header3-bold {
    font-family: 'TECSans-Bold', Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 1.7em;
    line-height: 1.2;
    padding-bottom: 5px;
    letter-spacing: 0.7px;
}

#video-special1 {
    margin-top: 20px;
}

#video-special2 {
    margin-top: 20px;
}

.text-header4 {
    font-weight: normal;
    font-size: 1.33em;
    line-height: 1.2;
    padding-bottom: 5px;
}

.text-normal {
    /* font-family: Verdana, Geneva, Sans-Serif; */
    font-weight: normal;
    font-size: 1em;
    letter-spacing: 0.7px;
}

.text-small {
    font-weight: normal;
    font-size: 0.875em;
}

.text-quote {
    text-align: center;
    font-style: italic;
    font-size: 1em;
}

@media screen and (max-width: 768px) {
    .image-SoMe-table {
        grid-template-columns: 1fr;
    }

    .image-SoMe-cell {
        flex: 1 1 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    .image-dev-table {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        flex-direction: column;
    }

    .card-stories {
        flex-direction: column;
    }

    .col-md-2,
    .col-md-8 {
        flex: none;
        max-width: 100%;
    }

    .container {
        padding: 0 30px;
        background-color: #fff;
        font-family: Arial, Helvetica, sans-serif;
    }

    .image-container .overlay {
        position: relative;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100%;
        width: 100%;
        opacity: 1;
        transition: .5s ease;
        background-color: #9639ff;
        color: #fff;
        font: 14px Verdana, sans-serif;
        padding: 20px 20px 20px 20px;
    }

    .image-container:hover img {
        opacity: 1;
    }


    .row1 .column {
        flex: 1 1 100%;
        /* Flex-grow, flex-shrink, flex-basis */
        padding: 10px;
        box-sizing: border-box;
    }
}

/* Media query for mobile phones */
@media (max-width: 480px) {
    .image-dev-table {
        grid-template-columns: 1fr;
    }

    .image-SoMe-table {
        grid-template-columns: 1fr;
    }
}

/* text-styling END*/