/*
 * Globals
 */

/* Links */
a {
  color: purple;
}

a:focus, a:hover {
  color: blueviolet;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}

/*
 * Base structure
 */

 html, body {
    height: 100%;  /* Set height to 100% on html and body and the footer went to the bottom of the cover page*/
    background-color: rgb(132, 54, 160);
}

body {
  display: -ms-flexbox;
  display: flex;
  color: #fff;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  box-shadow: inset 0 0 2rem whitesmoke;
  padding: 5px;
}

body.height_auto {
    height: auto;
}

.cover-container {
  max-width: 42em;
  padding: 5px;
}


/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
}

.masthead-brand {
  margin-bottom: 0;
}

.nav-masthead .nav-link {
  padding: .25rem 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: .25rem solid transparent;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

/*
 * Cover
 */
.cover {
  padding: 0 1.5rem;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}

header {
  /* border: 2px dotted white; */
  padding: 5px;
}

main {
  /* border: 2px dotted blue; */
  padding: 5px;
}

/*
/* Follow me button styles
*/
.follow-me {
    display: none;
}

/*
* Card Styles
*/
.card {
    color: purple;
    padding: 0;
    margin: 0;
}

.card.contact {
    margin: 40px;
    padding: 30px;
}

.card.blog {
    margin-left: 40px;
    margin-right: 40px;
    padding: 30px;
}

/*
* Blog Styles
*/
.logo_img {
    width: 100px;
    height: 100px;
}

.blog_link {
    color: whitesmoke;
    text-decoration: underline;
}

/*
* Resume Styles
*/
#resume_link {
    color: whitesmoke;
    text-decoration: underline;
}

#resume_link:focus, #resume_link:hover {
    color: blueviolet;
}

.resume_pdf {
    width: 210px;
    height: 1700px;
}

.carousel-control-prev, .carousel-control-next {
    position: fixed;
}

/* Dialogue Styles */

.ui-dialog {
    position: absolute;
    top: 0;
    left: 0;
    padding: .2em;
    outline: 0;
    border: 2px solid white;
    background-color: grey;
}

.ui-dialog .ui-dialog-titlebar {
    padding: .4em 1em;
    position: relative;
}

.ui-dialog .ui-dialog-title {
    display: block;
    margin: .1em 0;
    white-space: nowrap;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-dialog .ui-dialog-titlebar-close {
    position: absolute;
    right: 2px;
    top: 50%;
    width: 10px;
    padding: 10px;
    height: 20px;
}

/* Color My Page Button Styles */
#color_my_page_btn {
    border: 2px solid lightgray;
    background-image: linear-gradient(to right, red, green , yellow); /* Standard syntax (must be last) */
}

.colors {
    margin: 2px;
}

@media screen {
    .h1-id, .p-id{
      text-align: center;
    }
}

@media screen and (min-width: 260px) {

  .follow-me.horizontal {
    display: block;
  }

  .blog {
    margin: 20px;
    padding: 5px;
  }

  .resume_pdf {
    width: 80%;
  }
}

@media screen and (min-width: 768px) {

  .follow-me.horizontal {
    display: none;
  }

  .follow-me.vertical {
    display: inline-block;
  }
  .h1-id, .p-id{
    text-align: left;
  }

  .resume_pdf {
    width: 100%;
  }

}

@media (min-width: 48em) {
    .masthead-brand {
        float: left;
    }
    .nav-masthead {
        float: right;
    }

    .h1-id, .p-id{
        text-align: center;
    }

}
