/* ===============
      GENERIC 
=================*/

* {
  margin: 0;
  padding: 0;
}

:root {
  font-size: 16px;
  --color-black: #000;
  --color-white: #ffffff;
  --color-yellow: #f6d55c;
  --color-red: #DB0703;
  --bg-primary: #0E0E10;
  --bg-secondary: #4e282e;
  --bg-terciary: #f6d55c;
  --bg-quaternary: #ffffff;
  --bg-red: #DB0703;
  --bg-blue: #18242a;
  --bg-blue-gradient: radial-gradient(circle, rgba(24,36,42,1) 50%, rgba(0,0,0,1) 100%);
  --bg-red-opacity : rgba(78, 40, 46, 0.831);
  --bg-black-opacity :  rgba(0, 0, 0, 0.22);
  --bg-primary-gradient: radial-gradient(circle, rgba(0,0,0,1) 10%,  var(--bg-primary) 100%);
  --bg-sand: linear-gradient(180deg, var(--bg-primary) -30%, #D1B69F 10%, #ffecd9 120%);
  --shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.4) 0px 15px 12px;
  --txt-shadow : 2px 3px 0px #000;
  --font-title: "Bernard MT Std";
  --font-txt: "Liberation Mono";
}

html {
  font-family: var(--font-txt);
  color: var(--color-white);
}

body {
  width: 100%;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--color-red);
  font-family: "Bernard MT Std";
}

address, dl, fieldset, figure, ol, p, pre, ul{
  padding: 0;
  margin: 0;
}

*+address, *+dl, *+fieldset, *+figure, *+ol, *+p, *+pre, *+ul {
  padding: 0;
  margin: 0;
}

.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6, .uk-heading-2xlarge, .uk-heading-large, .uk-heading-medium, .uk-heading-small, .uk-heading-xlarge, h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

li {
  list-style: none;
}

img {
  cursor: pointer;
}

.sf-resume {
  line-height: 1.7;
}

body.sf-overflow {
  overflow: hidden;
}

#sf-transition-title {
  font-size: 2vw;
  color: var(--color-yellow);
}

#sf-transition-title::before, #sf-transition-title::after {
  display: inline-block;
  font-size: 6px;
  color: #fff;
}

#sf-transition-title::before {
  margin-right: 10px;
  content: '[';
}

#sf-transition-title::after {
  margin-left: 10px;
  content: ']';
}

.sf-transition {
  position: fixed;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 101;
  background: var(--bg-primary-gradient);
  transition: 0.5s ease-out;
}

.sf-transition.is-active {
  top: 0;
}

.sf-spinner-sup {
  border-radius: 40px;
  width: 40px;
  height: 40px;
  border-top: 5px solid transparent;
  border-right: 5px solid #f6d55c;
  border-bottom: 5px solid #f6d55c;
  border-left: 5px solid #f6d55c;
  animation: anim_sup 1.4s infinite linear;
}

.sf-spinner-min {
  border-radius: 30px;
  width: 30px;
  height: 30px;
  border-top: 5px solid transparent;
  border-right: 5px solid #4e282e;
  border-bottom: 5px solid #4e282e;
  border-left: 5px solid #4e282e;
  animation: anim_min 1.4s infinite linear;
}

@keyframes anim_sup {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}
@keyframes anim_min {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(-720deg);
  }
}

.sf-link a {
  position: relative;
  color: var(--color-white);
  overflow: hidden;
  background: linear-gradient(to right, var(--color-yellow), var(--color-yellow) 50%, var(--color-white) 50%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  background-position: 100%;
  transition: background-position 275ms ease;
  font-weight: 600;
}

.sf-link a:hover {
  text-decoration: none;;
  background-position: 0 100%;
}

.sf-link a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  background: var(--bg-terciary);
  bottom: 0;
  left: 5px;
  transition: 0.5s;
}

.sf-link a:hover::after {
  width: 100%;
}

.sf-icon-see {
  content: '';
  background-image: url('../icons/chevron-right.png');
  background-repeat: no-repeat;
  background-size: auto;
  background-position: 50%;
  display: block;
  width: 24px;
  height: 24px;
  transition: 0.3s;
}

.sf-link > a:hover .sf-icon-see {
  background-image: url('../icons/right-arrow.png');
}

#sf-main .sf-arrow {
  color: var(--color-yellow);
  background: rgba(0,0,0,0.3);
}

#sf-modal .sf-modal-more {
  color: #000;
  margin: 5px 0;
}

#sf-modal a, #sf-modal a:hover {
  color: #000;
  text-decoration: underline;
}

/* ===============
      HEADER 
=================*/
#sf-menu {
  margin-left: auto;
}

#sf-mobile-menu {
  z-index: 2;
}

#sf-tgle-menu {
  height: 100vh;
  width: 100%;
  top: 70px;
  left: 0;
  background: var(--bg-primary);
  z-index: 3;
}

#sf-tgle-menu > button {
  margin: 10px 10px 0;
}

#sf-tgle-menu > button,
.uk-totop {
  background: #fff;
  border-radius: 50%;
}


#sf-tgle-menu > button {
  padding: 10px;
}

.uk-totop{
  padding: 10px 6px;
  position: relative;
  z-index: 2;
}

#sf-tgle-btn {
  background: none;
  border: none;
  color: #fff;
}

#sf-tgle-btn span{
  text-transform: uppercase;
  margin: 0 3px;
}

#sf-header {
  height: 70px;
  padding: 0 2vw;
  background: #000;
  z-index: 2;
}

#sf-header a {
  color: var(--color-red);
  font-family: "Bernard MT Std";
}

#sf-header a:hover {
  text-decoration: none;
}

#sf-header #sf-title a {
  font-size: 2rem;
  display: flex;
  align-items: center;
}

#sf-header a svg{
  fill: var(--color-red);
  margin-left: 5px;
}

#sf-header nav li {
  margin: 0 5px;
}

#sf-header nav a {
  font-size: 1rem;
}

#sf-header nav a::before, #sf-header nav a::after {
  display: inline-block;
  opacity: 0;
  -webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
  -moz-transition: -moz-transform 0.3s, opacity 0.2s;
  transition: transform 0.3s, opacity 0.2s;
  color: #fffaee;
  font-size: 6px;
}

#sf-header nav a::before {
  margin-right: 10px;
  content: '[';
  -webkit-transform: translateX(20px);
  -moz-transform: translateX(20px);
  transform: translateX(20px);
}

#sf-header nav a::after {
  margin-left: 10px;
  content: ']';
  -webkit-transform: translateX(-20px);
  -moz-transform: translateX(-20px);
  transform: translateX(-20px);
}

#sf-header nav a:hover::before, #sf-header nav a:hover::after {
  opacity: 1;
  -webkit-transform: translateX(0px);
  -moz-transform: translateX(0px);
  transform: translateX(0px);
}

#sf-header nav a:hover {
  text-decoration: none;
}

/* ===============
      MAIN 
=================*/

#sf-main {
  padding-bottom: 50px;
}

#sf-main #sf-intro-img + .sf-article {
  margin: 50px auto;
  max-width: 80%;
}

#sf-intro-img {
  text-align: center;
}
/*
#sf-intro-img img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
}
*/

.sf-article-content {
  padding-left: 30px;
}

.sf-article-content .sf-resume {
  margin-top: 10px; 

}

#sf-modal > div {
  width: 90%;
}

#sf-modal .uk-width-1-1 img {
  width: 100%;
}

#sf-modal .sf-modal-title {
  text-transform: capitalize;
}

#sf-modal .sf-modal-title,
#sf-modal .sf-modal-resume {
  color: var(--color-black);
}

#sf-modal button {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--bg-terciary);
  border-radius: 50%;
  padding: 10px;
  color: #000;
  z-index: 9999;
}


#sf-main {
  background: var(--bg-primary-gradient);
}

.sf-resume a,
.sf-resume a:hover{
  color:#fff;
  text-decoration: underline;
}


/* ===============
      FOOTER 
=================*/

#sf-audio-control{
  position: fixed;
  bottom: 10px;
  right: 15px;
  border-radius: 15px;
  padding: 5px;
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
  background: #fffaee52;
  z-index: 2;
}

#sf-audio-control button {
  background: rgb(230 224 224);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  margin: 4px 0;
  box-shadow: 
  -1px 1px 1px rgb(78 40 46 / 25%),
  1px -1px 1px rgb(255 255 255 / 25%),
  -2px 2px 2px rgb(78 40 46 / 20%),
  2px -2px 2px rgb(255 255 255 / 20%),
  -4px 4px 4px rgb(78 40 46 / 15%),
  4px -4px 4px rgb(255 255 255 / 15%),
  -8px 8px 8px rgb(78 40 46 / 10%),
  8px -8px 8px rgb(255 255 255 / 10%);
  transition: 0.3s;
}

#sf-audio-control button:hover {
  background: rgb(78 40 46 / 25%);
}

.sf-icon {
  display: block;
  width: 24px;
  height: 24px;
  background-size: 100%;
  background-repeat: no-repeat;
}

.sf-icon-play {
  background-image: url('../icons/play.png');
}

.sf-icon-pause {
  background-image: url('../icons/pause.png');
}

.sf-icon-plus {
  background-image: url('../icons/plus.png');
}

.sf-icon-minus {
  background-image: url('../icons/minus.png');
}

#sf-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--bg-red);
}

#sf-footer nav {
  z-index: 2;
}

#sf-footer ul{
  min-height: 50px;
}

#sf-footer ul li{
  margin: 2px 0;
}

#sf-footer ul li:not(:last-child)::after{
  content: '|';
  margin: 0 5px;
}

#sf-footer ul a {
  color: var(--color-white);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .sf-article-content {
    padding: 0;
    margin-top: 20px;
    text-align: center;
  }
}

@media (max-width: 959px) {
  #sf-title,
  #sf-mobile-menu,
  #sf-socials {
    flex: 1;
  }

  #sf-mobile-menu {
    justify-content: center;
  }

  #sf-socials {
    justify-content: flex-end;
  }

  .sf-link a {
    text-decoration: none;;
    background-position: 0 100%;
  }
  
  .sf-link a::after {
    width: 100%;
  }
  
  .sf-link > a .sf-icon-see {
    background-image: url('../icons/right-arrow.png');
  }

  #sf-footer ul {
    padding:00px 40px;
  }

  #sf-footer ul li {
    margin:10px 0px;
    text-align: center;
  }

}

