/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

:root {
  --button-bg: #7F1D1D;
  --button-fg: #ffffff;
}


html {
  height: 100%;
}

body {
  font-family: sans-serif;
  height: 100%;
}

header {
  position: absolute; 
  right: 0;
  left: 0; 
  top: 0; 
  z-index: 50;
}

header nav {
  display: flex;
  display: flex; 
  padding: 1.5rem; 
  justify-content: space-between; 
  align-items: center; 

  @media (min-width: 1024px) { 
    padding-left: 2rem;
    padding-right: 2rem; 
  }
}

header nav .end {
  display: flex; 
  flex: 1 1 0%; 
  justify-content: flex-end; 
}

.btn-primary {
  display: inline-flex; 
  padding-top: 0.5rem;
  padding-bottom: 0.5rem; 
  padding-left: 1rem;
  padding-right: 1rem; 
  justify-content: center; 
  align-items: center; 
  border-radius: 0.375rem; 
  border-width: 1px; 
  border-color: transparent; 
  line-height: 1.5em; 
  font-weight: 500; 
  color: var(--button-fg); 
  background-color: var(--button-bg);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); 
  @media (min-width: 640px) { 
    width: auto; 
  }
}

.rounded-translucent-bg {
  padding-top: 1rem;
  padding-bottom: 1rem; 
  padding-left: 1rem;
  padding-right: 1rem; 
  margin-top: 1.5rem; 
  border-radius: 1rem; 
  font-size: 1.125rem;
  line-height: 1.75rem; 
  line-height: 2rem; 
  color: #D1D5DB;
  background: rgba(0,0,0,0.5);
}

.socials {
  display: flex;
  justify-content: center;
  padding: 1rem;
  gap: 2rem;
}


/* FIXME: the background is zoomed in too much. */

main .hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  gap: 2rem;

  color: white;
  background: url("/assets/violin-closeup-519da7a3.jpg");
  background-position: center;

  @media (min-width: 640px) {
    padding-bottom: 5rem; 
  }
}

h1 {
  font-size: xxx-large;
  font-weight: 600;
}

/* FIXME: ensure this is actually useful... */

.fadeout {
  animation:fadeOut 0.5s 1;
  -webkit-animation:fadeOut 0.5s 1;
  animation-fill-mode: forwards;

  animation-delay:2s;
  -webkit-animation-delay:1s; /* Safari and Chrome */
  -webkit-animation-fill-mode: forwards;
}

@keyframes fadeOut {
  from {opacity :1;}
  to {opacity :0;}
}

@-webkit-keyframes fadeOut {
  from {opacity :1;}
  to {opacity :0;}
}
