.demo {
    max-width: 400px;
    margin: 0 auto;
}


@media screen and (min-width: 960px) {
    .demo {
        max-width: 600px;
    }
}


/*where the stories appear and font size and color for stories*/
.comment-section {
    display: flex;
    flex-direction: column;
    justify-items: center;
    font-family: "Conv_CALIBRI", sans-serif;
    font-weight: bold;
    text-align: center;
    margin: 10px 0;
}

/*also where the stories appear overall look and margins*/
#comments {
    padding: 20px;
    margin: 10px 0;

    width: calc(100vw - 2 * 20px - 2px);
    height: calc(100vh - 2 * 20px - 2 * 10px);

    overflow-y: scroll;
     background-color: rgba(0,0,0,0.0);
    text-align: left;
    font-size: 20px
}

@media screen and (min-width: 960px) {
    #comments {
        font-size: 25px;
        height: calc(100vh - 2 * 20px - 2 * 10px - 40px);
        padding: 0 20%;
		width: 50%;
		margin: 0 auto;
  background-color: rgba(0,0,0,0.0);
   margin-top: 5%;
    }
	
	.comment-section form {
	 margin-top: 30%;
        
}

}

#comments .text {
    line-height: 1.2em;
}


.comment-section form {
    display: flex;
    flex-direction: column;
        
}

/*height of boxes plus font for Submit*/
.comment-section form .control {
    border: 0;
    margin: 10px 0;
    padding: 10px;
    color: #138296;
    background-color: #a6b4bc;
    font-family: "ArimoRegular", sans-serif;
    font-size: 15px;
    font-weight: bold;
	
}

@media screen and (min-width: 992px) {
    .comment-section form .control {
        font-size: 25px;
		
    }
}

/*font color and size for top two boxes*/
.comment-section form .control::placeholder {
    color: #138296;
    font-weight: bold;
}

/*holder for avatars and selection color*/
.comment-section form .avatars {
    border: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.comment-section form .avatars input[type=radio] {
    display: none;
}

.comment-section form .avatars input[type=radio]:checked + label > img {
    border: 2px solid #e4cf5e;
    border-radius: 50%;
}

.comment-section form .avatars input[type=radio] + label > img {
    border: 2px solid rgba(255, 255, 255, 0);
}


/*center names with avatars*/
#comments .author-badge {
    display: flex;
    align-items: center;
}

/*vertical distance between comments*/
#comments .comment {
    margin-bottom: 1.5em;
}


@font-face {
    font-family: 'Conv_CALIBRI';
    src: url('../fonts/CALIBRI.woff') format('woff'),
    url('../fonts/CALIBRI.ttf') format('truetype'),
    url('../fonts/CALIBRI.eot?') format('embedded-opentype'),
    url('../fonts/CALIBRI.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
