* {
    box-sizing: border-box;
}

@font-face {
    font-family: fira;
    src: url(fonts/Fira.otf);
}

@font-face {
    font-family: kaushan;
    src: url(fonts/Kaushan.otf);
}

@font-face {
    font-family: engry;
    src: url(fonts/engry.otf);
}

@font-face {
    font-family: lato-bold;
    src: url(fonts/Lato-Bold.otf);
}

html {
    background-color: #F2F6FD;
}

body {
    margin: 0;
    font-size: 18px;
}

.title {
    min-width: 360px;
    font-family: quicksand, helvetica;
    font-size: 48px;
    text-align: center;
    margin: 20px auto;
    text-transform: capitalize;
}

.underline {
    min-width: 360px;
    width: 100%;
    margin: auto;
    border: 0;
    border-bottom: 0.5px dashed #1c1c1c;
    border-radius: 5px;
    background: #9c9c9c;
}

.container {
    margin: 20px auto;
}

.bubbles-left {
    display: inline-block;
    position: relative;
    background: #ECFFA4;
    border-radius: 0.4em;
    width: 100%;
    /*height: 80px;*/
    left: 0px;
    margin: 20 0;
}

.bubbles-right {
    display: inline-block;
    position: relative;
    background-color: #ADCAFF;
    border-radius: 0.4em;
    width: 100%;
    left: 0;
    color: #f2f7f2;
    margin: 10px 0;
}

.bubbles-left:after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-right-color: #ECFFA4;
    border-left: 0;
    border-bottom: 0;
    margin-top: -5px;
    margin-left: -10px;
}

.bubbles-right:after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-left-color: #ADCAFF;
    border-right: 0;
    border-bottom: 0;
    margin-top: -5px;
    margin-right: -10px;
}

.bubbles-right, .bubbles-left {
    box-shadow: 1px 1px 5px #0c0c0c;
}

.rows {
    display: block;
    text-align: center;
    padding: 20px 25px;
    width: 360px;
    margin: 20px auto;
    border-radius: 10px;
    background-color: #689DFE;
}

.font-sub {
    margin: 10px 0;
}

.font {
    display: block;
    margin: 0px auto;
    padding: 10px;
    height: auto;
    font-size: 0.9em;
}

.font-title {
    line-height: 50px;
    font-size: 2.5em;
}

.sub-title {
    margin: 0;
    font-size: 1.5em;
}

#engry, .engry {
    font-family: engry, serif;
}

#monda, .monda {
    font-family: 'Monda', sans-serif;
}

#inder, .inder {
    font-family: 'Inder', sans-serif;
}

#cairo, .cairo {
    font-family: 'Cairo', sans-serif;
}

#fira, .fira {
    font-family: fira, helvetica, sans-serif;
}

#kaushan, .kaushan {
    font-family: kaushan, cursive;
}

#bree, .bree {
    font-family: 'Bree Serif', serif;
}

#lato, .lato {
    font-family: Lato, sans-serif;
}

#abhayaLibre, .abhayaLibre {
    font-family: 'Abhaya Libre', serif;
}

#libreFranklin, .libreFranklin {
    font-family: 'Libre Franklin', sans-serif;
}

@media screen and (min-width: 1024px) {
    .rows {
        width: 800px;
        max-height: 800px;
    }

    .font {
        margin: 0px auto;
        padding: 8px;
    }

    .font-title {
        line-height: 60px;
        font-size: 2.5em;
    }

    .bubbles-left {
        display: block;
        position: relative;
        border-radius: 10px;
        width: 40%;
        left: 5%;
        z-index: 10;
    }

    .bubbles-right {
        display: block;
        position: relative;
        border-radius: 10px;
        width: 40%;
        left: 55%;
        z-index: 10;
    }
    
    .large {
        display: inline-block;
    }

    .bubbles-left:after {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 0;
        height: 0;
        border: 20px solid transparent;
        border-right-color: #ECFFA4;
        border-left: 0;
        border-bottom: 0;
        margin-top: -10px;
        margin-left: -10px;
    }

    .bubbles-right:after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        width: 0;
        height: 0;
        border: 20px solid transparent;
        border-left-color: #ADCAFF;
        border-right: 0;
        border-bottom: 0;
        margin-top: -10px;
        margin-right: -10px;
    }
}