/*
* Maddie Simens
* Copyright 2017
*/


/* #Basic elements
================================================== */

@font-face {
	font-family: NeueHaas;
	src: url(../fonts/NHaasGroteskTXPro-55Rg.ttf);
}

@font-face {
	font-family: NeueHaasMedium;
	src: url(../fonts/NHaasGroteskTXPro-65Md.ttf);
}

/* @font-face {
	font-family: NeueHaasMedium;
	src: url(../fonts/NHaasGroteskTXPro-75Bd.ttf);
} */

* {
	-webkit-font-smoothing: antialiased;
	margin:0;
    padding: 0;
}

body.night a {
	color: #fff;
	font-family: NeueHaasMedium;
	text-decoration: none;
}

body.day a {
	color: #403E43;
	font-family: NeueHaasMedium;
	text-decoration: none;
}

.underline {
  display: inline;
  position: relative;
  overflow: hidden;
  width: 40px;
}

.underline:after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: -3px;
  background: #8A898C;
  height: 1.5px;
  transition-property: left right;
  transition-duration: 0.2s;
  transition-timing-function: ease-out;
}
.underline:hover:after,
.underline:focus:after,
.underline:active:after {
  right: 0;
}

.underline-rdio {
  display: inline;
  position: relative;
  overflow: hidden;
  width: 40px;
}

.underline-rdio:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 100%;
  bottom: 8px;
  background: #221F26; /* 221F26 */
  height: 1px;
  transition-property: left right;
  transition-duration: 0.175s;
  transition-timing-function: ease-out;
}
.underline-rdio:hover:after,
.underline-rdio:focus:after,
.underline-rdio:active:after {
  right: 0;
}

#rdio-psa {
	color: #8A898C;
	font-family: NeueHaas;
	font-size: 12px;
	letter-spacing: 0.75px;
	line-height: 20px;
	margin-top: 4px;
	opacity: 0;
	transition-duration: 0.4s;
    transition-timing-function: ease-in;
}

.underline-rdio:hover + #rdio-psa {
	opacity: 1;
}


body.night {	
	background-color: #221F26;
	color: #C8C8C9;
	font-family: NeueHaas;
	font-size: 16px;
	line-height: 24px;
}

body.day {
	background-color: #F6F6F7;
	color: #403E43;
	font-family: NeueHaas;
	font-size: 16px;
	line-height: 24px;
}

footer {
	color: #9F9EA1;
	font-family: NeueHaas;
	font-size: 12px;
	letter-spacing: 1px;
	line-height: 20px;
	margin-top: 128px;

}

body.night h1 {
	color: #fff;
	font-family: NeueHaasMedium;
	font-size: 20px;
	letter-spacing: .25px;
	line-height: 28px;
	padding-bottom: 48px;
}

body.day h1 {
	color: #403E43;
	font-family: NeueHaasMedium;
	font-size: 20px;
	letter-spacing: .25px;
	line-height: 28px;
	padding-bottom: 48px;
}

body.night h2 {
	color: #fff;
	font-family: NeueHaasMedium;
	font-size: 16px;
	letter-spacing: .25px;
	line-height: 24px;
	margin-bottom: 48px;
}

body.day h2 {
	color: #403E43;
	font-family: NeueHaasMedium;
	font-size: 16px;
	letter-spacing: .25px;
	line-height: 24px;
	margin-bottom: 48px;
}

body.night h3 {
	color: #C8C8C9;
	font-family: NeueHaas;
	font-size: 16px;
	letter-spacing: 0.35px;
	line-height: 24px;
	margin-bottom: 4px;
}

body.day h3 {
	color: #403E43;
	font-family: NeueHaas;
	font-size: 16px;
	letter-spacing: 0.35px;
	line-height: 24px;
	margin-bottom: 4px;
}

body.night h4 {
	color: #8A898C;
	font-family: NeueHaas;
	font-size: 12px;
	letter-spacing: 1.5px;
	line-height: 20px;
	margin-top: 0px;
	text-transform: uppercase;
}

body.day h4 {
	color: #9F9EA1;
	font-family: NeueHaas;
	font-size: 12px;
	letter-spacing: 1.5px;
	line-height: 20px;
	margin-top: 0px;
	text-transform: uppercase;
}

body.night #moon {
	cursor: pointer;
	width: 20px;
}

body.day #moon {
	display: none;
}

body.night #sun {
	display: none;
}

body.day #sun {
	cursor: pointer;
	width: 20px;
}

.spacer48 {
	height: 48px;
	width: 100%;
}

/* Default theme based on user preference */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #221F26; /* Dark background */
        color: #C8C8C9; /* Light text */
    }
}

@media (prefers-color-scheme: light) {
    body {
        background-color: #F6F6F7; /* Light background */
        color: #403E43; /* Dark text */
    }
}

/* For devices smaller than 550px */
@media (max-width: 550px) {
  /* Fix the column layout on mobile */
  .row.group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 24px;
    width: 100%;
  }
  
  /* Fix nested row issue causing 2nd row misalignment */
  .row.group .row.group {
    padding-left: 0;
    margin-left: 0;
    margin-top: 24px;
    width: 100%;
  }
  
  /* Adjust columns for job entries */
  .three.columns.offset-by-six {
    width: 40%;
    margin-left: 0;
    padding-right: 10px;
  }
  
  .three.columns:not(.icon):not(.offset-by-six) {
    width: 60%;
    margin-left: 0;
  }
  
  /* Ensure all rows have consistent styling */
  .row.group > div {
    flex: 0 0 auto;
  }
  
  /* Ensure text alignment */
  body.night h2, body.day h2,
  body.night h3, body.day h3,
  body.night h4, body.day h4 {
    text-align: left;
    margin-bottom: 8px;
  }
  
  /* Adjust spacing */
  .spacer48 {
    height: 24px;
  }
  
  /* Fix icon positioning */
  body.night #moon, body.day #sun {
    margin-bottom: 40px;
    padding-right: 8px;
    float: right;
  }
}

/* Day mode styling */



}