@import url("https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css");
@import url(https://fonts.googleapis.com/css?family=Open+Sans);

@font-face {
	font-family: 'Garamond';
	src: url('Fonts/Garamond.woff') format('woff');
}
@font-face {
	font-family: 'Century Gothic';
	src: url('Fonts/CGR.woff') format('woff');
}
@font-face {
	font-family: 'Didot';
	src: url('Fonts/Didot.woff') format('woff');
}
@font-face {
	font-family: 'Bell MT';
	src: url('Fonts/Bell.woff') format('woff');
}
@font-face {
	font-family: 'Bell MT';
	src: url('Fonts/Bell.woff') format('woff');
}
@font-face {
	font-family: 'Adobe Garamond Pro';
	src: url('Fonts/AdobeGaramondPro.woff') format('woff');
}
@font-face {
	font-family: 'Times';
	src: url('Fonts/times.woff') format('woff');
}

body {
  margin: 0;
  width: 100%;
  background-color: #ffffff;
}

.dlBtn img{
	 position: absolute;
	text-align: right;
    width: auto;
    height: 20px;
	margin-top: 15px;
    margin-left: 15px;
	margin-right: 10px;
	align-items: right;
	padding-top: 10px;
}

.cont5{
	height: 100% ;
	background-image: url('Img/M55.png');
	background-size: 400px; 
	background-repeat: no-repeat;  /* Don't tile/repeat the image */
  	background-position: calc(50% + 2px) calc( 100% + 5px); /* Center it in the middle */
	padding-top: 20px;
	padding-bottom:  45px;
	
}

.homeText{
    text-align: center;
	
	margin-top: 20px;
    margin-left: 0px;
	margin-bottom: 80px;
}
.homeText h1{
    font-size: 15vh;
	font-family: "Century Gothic";
	font-weight: normal;
	color: #f9ca62;
	text-shadow:
    1.2px 1.2px 0 #f9ca62,
    -1.2px 1.2px 0 #f9ca62,
    -1.2px -1.2px 0 #f9ca62,
    1.2px -1.2px 0 #f9ca62;
	line-height: 15vh;
  	margin: 0;
	padding-top: 10px;
	padding-bottom: 25px;
	animation: fadeIn 3s;
}

.flou img{
	justify-content: center;
    align-items: center;
	text-align: center;
	width: 14vw;
	
	
}

/* Input */
.addEvents {
  max-width: 300px;
  width: 95%;
  margin: 0 auto 0.5em;
  padding: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 30px;	
  margin-bottom: 30px;	
}
label {	
 padding-top: .15em;
 padding-bottom: .3em;
 padding-left: 0em;
 padding-right: 3px;
 background-color: #FFFFFF ;
 color: #000;
 
 
}
.showcolor {
  display: inline-block;
  border: 1.5px solid black;
  margin-top: 0 ; 
  padding-top: 0px;
  margin-bottom: 0px;
  width: 2.6em;
  height: 1.3em;
}
.showcolor span {
  position: relative;
  display: block;
  width: 2.6em;
  height: 1.3em;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}
#selected-color {
  margin-top: 0px;	
  padding-top: 0px;
  
}

input[type="number"] {
  width: 3.8em;
  height: 22px;
  background-color: #FFFFFF ;
  color: #000;
  padding-top: 4px;
  padding-bottom: 2px;
  padding-left: 5px;
	
  border: 1px solid  #AAAAAA ;
  border-radius: 6px;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
    filter: none;
}

input[type="text"] {
  width: 6em;
  height: 22px;
  background-color: #FFFFFF ;
  color: #000;
  padding-top: 4px;
  padding-bottom: 2px;
  padding-left: 5px;
  border: 1px solid  #AAAAAA ;
  border-radius: 6px;
}
select {	
  width: 5.3em;
  height: 28px;
  background-color: #FFFFFF ;
  color: #000;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 3px;
  border: 1px solid #AAAAAA ;
  border-radius: 6px;
}

.Add, .Share {
  display: flex;
  margin: 0.5em auto 1.2em;
  padding: 0 auto;
  max-width: 700px;
  width: 95%;
	
  justify-content: center;
  align-items: flex-end;
	
}
.Add button {
  display: inline-block;
  font-size: 1.0rem;
  width: 115px;
  height:  33px;
  text-align: center;
  color: #000;
  background-color: #FFFFFF ;
  border: 0.8px solid #000;
  text-decoration: none;
  margin-top: 20px ;
  margin-left:  0px;
  padding-left: 10px;
  border-radius: 30px;
}
.Share button:hover {
  	background-color: #FCFBF6 ;
  	cursor: pointer;
}

.Share button {
  display: inline-block;
  font-size: 1.0rem;
  width: 80px;
  height:  33px;
  text-align: center;
  color: #000;
  padding: 0 20px;
  background-color: #FFFFFF ;
  border: 0.8px solid #000;
  text-decoration: none;
  margin: 5px 10px ;
  border-radius: 30px;
}
.Add button:hover {
  	background-color: #FCFBF6 ;
  	cursor: pointer;
}

/* Timer */

.timer {
  display: block;
  max-width: 250px;
  width: 95%;
  font-size: 85px;
  text-align: center;
  margin: 30px auto 10px ;
  padding-top: 0px;
  padding-bottom: 10px;
  
  color: #000;
  border-radius: 8px;
  font-family: "Times";
}
#curr-exercise {
  display: block;
 
  content: attr(data-name);
  font-size: 1.9rem;
  font-family: "Times";
  font-weight: lighter;
  text-align: center;
  margin: 0;
  padding-bottom: 30px;
  
}
.timer button {
    display: block;
    border-radius: 15px;
    margin-left: 50px;
    margin-top: 30px;
    padding-top: 0px;
    font-size: 1.2rem;
    width: 60%;
	
    height:  39px;
    background-color: #FFFFFF ;
    border: 0.8px solid #000;
	border-radius: 30px;
    color: #000;
    text-align: center;
    text-decoration: none;
}
.timer button:hover {
  	background-color: #FCFBF6 ;
  	cursor: pointer;
}

/* Exercise queue */
.queue {
  width: 88%;
  max-width: 400px;
  display: block;
  background-color: ;
  padding: 1rem 0.5rem;
  margin: 1rem auto;
  padding: 0 auto;
  border-radius: 7px;
  counter-reset: div;
}
.draggable {
  margin: 0.5em;
  padding: 1rem;
  background-color: black;
  border: 0px solid black;
  cursor: move;
}
.draggable.dragging {
  opacity: .5;
}
.draggable .name {
  display: inline-block;
  font-size: 19px;
  font-weight: lighter;
	color: white;
  margin-right: 10px ;
}
.draggable .duration::after {
  content: " secs";
  font-size: 12px ;
	color: white;
}
.draggable button {
  float: right;
  width: 5em;
  height:  25px;
  text-align: center;
  margin-top: 0px;
	margin-bottom: 5px;
  color: white;
  background-color: #1a1923;
  border: 0.8px solid white;
  border-radius: 30px;
}
.draggable button:hover {
  background-color: #1B1B1B ;
  cursor: pointer;
}

.draggable {
  counter-increment: div;
	color: white;
}
.draggable::before {
  content: counter(div) ".";
  margin-right: .8em;
	color: white;
}


audio {
  display: none;
}


/* Share URL  */
#share-url {

  width: 90%;
  max-width: 750px;
  /* display: block; */
  display: none;
  margin: 0 auto;
  padding: 0 auto;
  margin-top: 1em;
}

.MYTcont{
	margin:0 auto;
	position: relative;
	justify-content: center;
	align-items: center;
	text-align: center;	
    height: 100% ;
	width: 80%;
	max-width: 350px;
	margin-top: 30px;
	margin-bottom: 10px;
	z-index: 1;
    
  
}

.MYTcont p{
	
	color: #000;	    
	font-size: 19px;
	font-family: "Times";
	font-weight: normal;
	margin-top: 10px;
	margin-bottom: 50px;
}



.ulCont{
	justify-content: center;
	align-items: center;
	text-align: center;	
	margin:0 auto;
	margin-top: 0px;
	padding-bottom: 50px;
	z-index: 1;
}

ul {
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
  position: relative;
  

}

li {
  display: inline-block;
  margin: 10px;
}

.download {
  width: 200px;
  height: 75px;
  background: black;
  float: left;
  border-radius: 5px;
  position: relative;
  font-family: 'Open Sans', 'sans-serif';
  color:  #FFF;
  cursor: pointer;
  border: 2px solid  #FFF ;
}

.download > .fa {
 color:  #FFF;
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
}

.df,
.dfn {
  position: absolute;
  left: 70px;
}

.df {
  top: 20px;
  font-size: .68em;
}

.dfn {
  top: 33px;
  font-size: 1.08em;
}

.download:hover {
	
  -webkit-filter: invert(100%);
  filter: invert(100%);
}

.homeText a:link {
	color: #f9ca62;
	text-decoration: none;
}
.homeText a:visited {
	color: #f9ca62;
	text-decoration: none;
}
.homeText:hover {
	color: #f9ca62;
	text-decoration: none;
}
.homeText a:active {
	color: #f9ca62;
	text-decoration: none;
}


@media only screen and (max-width: 750px) {
	
   .github-corner {
    display: none;
    }
   .addEvents {
    width: 98%;
    justify-content: space-between;
    }
   .homeText{
    margin-left: 0px;
		
	}
    .homeText h1{
    font-size: 3.5em;
    padding-bottom: 22px;
	
    }
	.flou img{
		width: 130px;
		padding-top: 10px;
	
	}
}

@media only screen and (max-width: 550px) {
	
   
   
.homeText{
    
	margin-top: 30px;
    margin-left: 0px;
	margin-bottom: 50px;
    padding-bottom: 5px;
	
    }
	
.homeText h1{
    font-size: 3.5em;
	padding-top: 10px;
	padding-bottom: 15px;
	
    }
.flou img{
	width: 130px;
	padding-top: 5px;
	
	}
	
.cont5{
	
	background-size: 390px; 
	
  	background-position: calc(50% + 2px) calc( 100% + 5px); /* Center it in the middle */
	padding-top: 20px;
	padding-bottom:  68px;
	
}	
}

@media only screen and (max-width: 400px) {
	
	
.cont5{
	
	background-size: 380px; 
	
  	background-position: calc(50% + 2px) calc( 100% + 5px); /* Center it in the middle */
	padding-top: 20px;
	padding-bottom:  48px;
	
	}	
	
.MYTcont{
	
	width: 82%;
	max-width: 350px;
	margin-top: 30px;
	margin-bottom: 10px;
	
  }

}

