/** resets and removes the top white line */
* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

.segments{
    padding-top: 3%;
    font-size: 20px;
    color: #25436a;
    font-family: 'Raleway', Arial, sans-serif;
}

hr {
    border: 1.5px solid black;
}

.wrapper{
    margin-right: auto;
    margin-left: auto;
    max-width: 600px;
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 0px;
    text-align: center;
}

.btns-list{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.btn {
    border: 2px solid black;
    background-color: white;
    color: black;
    padding: 15px 30px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 5%;
}


/** button default hover, change the color to gray */
.default:hover {
    background: gray;
}


#title-head{
    font-family: 'Raleway', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #25436a;
    margin-bottom: 2%;
    padding-top: 10%;
}

#author{
    margin-bottom: 2%;
}

/* modal background */
.modal{
    display: none;
    position: fixed; /* stays in place */
    z-index: 1; /* stays on top */
    padding-top: 1%;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);

}

.modal-content{
    background-color: #6F848C;
    /* how far we want it to go down */
    margin: auto;
    padding: 20px;
    width: 60%;
    box-shadow: 0 5px 8px 0 rgba(0,0,0,0.6);
    animation-name:modalopen;
    animation-duration: 0.3s;
    border-radius: 50px;

}

.inner-body{
    text-align: left;
    padding-left: 3%;
    font-size: larger;
    font-family: 'Sarabun', sans-serif;
    padding-top: 3%;
}

/* close button x*/
.close{
    color: #333333;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover, .close:focus{
    color: red;
    text-decoration: none;
    cursor: pointer;
}

.modal-content .modal-header{
    padding-top: 2px;
    padding-right: 16px;
    /*background-color: red;*/
    color: black;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: xx-large;
    text-align: center;
}


.modal-footer{
    padding-top: 2px;
    
}

.resources{
    padding-top: 2%;
}

/* creates the modal fade in */
@keyframes modalopen{
    from{opacity: 0;}
    to{opacity: 1;}
}