:root {

  /*colors*/
  --cadet-blue-crayola: hsl(240, 10%, 70%);
  --independence: hsl(225, 24%, 27%);
  --space-cadet: hsl(243, 23%, 18%);
  --bluetiful: hsl(222, 88%, 55%);
  --glaucous: hsl(230, 52%, 63%);
  --manatee: hsl(254, 7%, 65%);
  --black: hsl(0, 0%, 0%);
  --white: hsl(0, 0%, 100%);
  --fs-1: 3.5rem;
  --fs-2: 3rem;
  --fs-3: 2.4rem;
  --fs-4: 2rem;
  --fs-5: 1.8rem;
  --fs-6: 1.3rem;
  --fw-600: 600;
  --fw-700: 700;
  --section-padding: 60px;
  --shadow: 0 -5px 10px var(--manatee);
  --transition-1: 0.05s ease;
  --transition-2: 0.25s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.56, 1.02);

}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
span,
input,
strong,
button,
textarea,
ion-icon { display: block; }

img { height: auto; }

ion-icon {
  pointer-events: none;
  color: var(--white);
}

button,
input,
textarea {
  background: none;
  border: none;
  font: inherit;
}

button { cursor: pointer; }

input,
textarea { width: 100%; }

address { font-style: normal; }

html {
  font-size: 10px;
  font-family: 'Roboto', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--cadet-blue-crayola);
  font-size: 2.0rem;
  font-weight: bold;
  font-family:'Roboto', sans-serif;
  line-height: 2.0;
  overflow-x: hidden;
}

:focus-visible { outline-offset: 4px; }

::-webkit-scrollbar { width: 15px; }

::-webkit-scrollbar-track { background-color: hsl(0, 0%, 95%); }

::-webkit-scrollbar-thumb { background-color: hsl(0, 0%, 80%); }

::-webkit-scrollbar-thumb:hover { background-color: hsl(0, 0%, 70%); }

.container { padding-inline: 10px; }

.btn {
  color: var(--white);
  font-family: var(--ff-open-sans);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  max-width: max-content;
  padding: var(--padding, 10px 40px);
  border-radius: 50px;
  transition: var(--transition-2);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section { padding-block: var(--section-padding); }

.section-subtitle {
  color: var(--orange-soda);
  font-family: var(--ff-open-sans);
  font-size: var(--fs-4);
  text-align: center;
}

.h2,
.h3 {
  color: var(--white);
  font-family: var(--ff-open-sans);
  font-weight: var(--fw-600);
  line-height: 1.3;
}

.h2 { font-size: var(--fs-2); }

.h3 { font-size: var(--fs-3); }

.section-title,
.section-text { text-align: center; }
.header {
  position: fixed;
  padding-block: 15px;
  width: 100%;
  background-color: black;
  height: 65px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: 0.25s var(--black);
  z-index: 4;
}

.header.nav-active {
  height: 335px;
  background-color: black;
  transition-duration: 0.35s;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.logo {
  color: var(--white);
  font-family: var(--ff-open-sans);
  font-size: 2.4rem;
}

.nav-toggle-btn { font-size: 3rem; }

.nav-toggle-btn .close-icon,
.nav-toggle-btn.active .menu-icon { display: none; }

.nav-toggle-btn.active .close-icon,
.nav-toggle-btn .menu-icon { display: block; }

.navbar {
  position: absolute;
  background-color: #000;
  top: 65px;
  left: 0;
  width: 100%;
  padding-inline: 20px;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-2);
}

.header.nav-active .navbar {
  visibility: visible;
  opacity: 1;
}

.navbar-link {
  color: var(--white);
  font-size: 22px;
  font-family: var(--ff-open-sans);
  padding-block: 3px;
  transition: var(--transition-2); 
}

.navbar-link:hover {
  transform: rotate(10deg);
  box-shadow: 0 2rem 3rem #000;
}
navbar-link:is(:hover, :focus) { color: var(--white); }

.navbar .btn {
  margin-block-start: 15px;
}

.elem,

.hero {
  background-image: url("../img/logo/background.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-block: 100px var(--section-padding);
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.hero-banner {
  background-color: var(--independence);
  margin-inline: auto;
  width: 400px;
  height: 400px;
  margin-block-end: 30px; 
}

.hero-banner img { border-radius: inherit; }

.hero-content {
  text-align: center;
  color: var(--white);
}

.hero-title {
  font-family: var(--ff-open-sans);
  font-size: var(--fs-5);
  font-weight: var(--fw-400);
  line-height: 1.3;
  margin-block-end: 14px;
}

.hero-title strong {
  font-size: var(--fs-1);
  font-weight: inherit;
  margin-block-end: 8px;
}

.hero-text { margin-block-end: 25px; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-6 {
background: transparent;
 color: #fff;
 line-height: 42px;
 padding: 0;
 border: none;
}
.btn-6 span {
 position: relative;
 display: block;
 width: 100%;
 height: 100%;
}
.btn-6:before,
.btn-6:after {
 position: absolute;
 content: "";
 height: 0%;
 width: 2px;
 background: darkgrey;
}
.btn-6:before {
 right: 0;
 top: 0;
 transition: all 500ms ease;
}
.btn-6:after {
 left: 0;
 bottom: 0;
 transition: all 500ms ease;
}
.btn-6:hover{
 color: #fff;
 background: transparent;
}
.btn-6:hover:before {
 transition: all 500ms ease;
 height: 100%;
}
.btn-6:hover:after {
 transition: all 500ms ease;
 height: 100%;
}
.btn-6 span:before,
.btn-6 span:after {
 position: absolute;
 content: "";
 background: white;
}
.btn-6 span:before {
 left: 0;
 top: 0;
 width: 0%;
 height: 2px;
 transition: all 500ms ease;
}
.btn-6 span:after {
  right: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  transition: all 500ms ease;
}
.btn-6 span:hover:before {
  width: 100%;
}
.btn-6 span:hover:after {
  width: 100%;
}

.studiopictures{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-block: 50px var(--section-padding);
  min-height: 50vh;
  display: grid;
  place-items: center;
}

.studio-container{
  margin: 20px;
  width: 98%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 5px;
}

.studio-box1{
  height: 400px;
  color: white;
  position: relative;
}
.studio-box1 img{
  width: 100%;
  height: 100%;

}
.studio-box{
  height: 400px;
  color: white;
  position: relative;
}

.studio-box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #333;
}

.studio-box:hover .overlay {
  opacity: 1;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.artists {
  background-image: url("../img/logo/background.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-block: 80px var(--section-padding);
  min-height: 80vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(1fr, 1fr));
  place-items: center;
}

.contact-card {
  background-image: url("../images/background.jpeg");
  padding: 50px 25px;
  border-radius: var(--radius-20);
}

.contact-card .card-subtitle {
  font-family: var(--ff-open-sans);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
}

.contact .section-title {
  text-align: left;
}

.contact-form { margin-block-end: 50px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-item p{
  color: white;
}

.contact-item:not(:last-child) { margin-block-end: 20px; }

.contact-item-title {
  color: var(--black);
  font-family: var(--ff-open-sans);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
}

.contact-item-link { transition: var(--transition-1); }
.contact-item-link:not(address):is(:hover, :focus) { color: var(--black); }
.footer-link-static{
padding-block: 65px;

}
.footer {
  background-image: url("../img/logo/background.jpeg");
  padding-block: 60px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: grid;
}

.footer-link:hover {
  transform: rotate(-10deg);
  box-shadow: 0 2rem 3rem #000;
}

.copyright {
  max-width: max-content;
  margin-inline: auto;
  margin-block-end: 10px;
}

.copyright-link {
  display: inline-block;
  transition: var(--transition-2);
  justify-content: space-between;
  font-weight: var(--fw-600);
}

.copyright-link:is(:hover, :focus) { color: var(--white); }

.footer-list {
  max-width: max-content;
  margin-inline: auto;
}

.footer-list * { display: inline-block; }
.footer-list > li:not(:last-child) { 
  margin-inline-end: 40px; 
}
.footer-link { transition: var(--transition-2); }
.footer-link:is(:hover, :focus) { color: var(--white); }

.back-to-top {
  color: var(--white);
  font-size: 1.3rem;
  position: fixed;
  bottom: 160px;
  right: -30px;
  transform: rotate(0.25turn);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-2);
  z-index: 1;
}

.back-to-top.active {
  right: -5px;
  opacity: 1;
  color: white;
  visibility: visible;
}

.back-to-top::after {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(100% + 7px);
  width: 100px;
  height: 1px;
  background-color: var(--white);
}

@media (min-width: 992px) {

  :root {
    --fs-1: 6.4rem;
    --fs-2: 3.5rem;
    --fs-3: 3.6rem;
    --section-padding: 80px;
  }

  .container {
    max-width: 1050px;
    margin-inline: auto;
  }

  .nav-toggle-btn { display: none; }

  .header,
  .header.nav-active {
    background-color: transparent;
    box-shadow: none;
    height: unset;
    padding-block: 30px;
  }

  .header.active {
    background-color: var(--black);
    box-shadow: var(--shadow);
    padding-block: 20px;
  }

  .navbar { all: unset; }

  .navbar-list {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .navbar .btn {
    margin-block-start: 0;
    --padding: 7px 30px;
  }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero-content { 
    text-align: left;
    margin-right: 30px; 
  }

  .btn-group { justify-content: flex-start; }

  .hero-title span { font-size: 3rem; }

  .hero-title {
    --fs-5: 2.2rem;
    margin-block-end: 25px;
  }

  .hero-text {
    margin-block-end: 25px;
    font-size: var(--fs-5);
  }

  .hero-banner {
    position: relative;
    margin-block-end: 0;
    order: 1;
    width: 300px;
    height: 300px;
    margin-inline: 0;
    margin-inline-start: auto;
  }

.card {
  background-color: grey;
  color: white;
  padding: 1rem;
  min-height: 300px;
  min-width: 300px;
}

.cards {
	max-width: 1200px;
	min-width: 300px;
	min-height: 300px;
	margin: 0 auto;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(250x, 1fr));
}

@media (min-width: 554px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
}

.profile {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	max-width: 300px;
	margin: auto;
	text-align: center;
}
  
.title {
	color: black;
	font-size: 18px;
}
  
.profile-btn {
	border: none;
	outline: 0;
	display: inline-block;
	padding: 8px;
	color: white;
	background-color: gray;
	text-align: center;
	cursor: pointer;
	width: 100%;
	font-size: 18px;
}
  
.profile-link {
	text-decoration: none;
	font-size: 22px;
	color: black;
}
  
  .profile-btn:hover, a:hover {
	opacity: 0.7;
  }

  .contact-card { padding: 100px; }
  .contact .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .contact-form { margin-block-end: 0; }
  .contact-item { gap: 25px; }
  .contact-icon { padding: 30px; }

  .footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .copyright,
  .footer-list { margin-inline: 0; }
}
