/*
Theme Name: DuckRobot
Theme URI: https://duckrobotstudio.com
Author: Kirsten Malin
Author URI:   https://github.com/kirstenmalin
Description: Theme for Duck Robot Studio, based on the WordPress Twenty Twenty-Five theme
Template: twentytwentyfive
*/

@font-face {
  font-family: "TwCenMT";
  src: url("./assets/fonts/tw-cen-mt/Tw-Cen-MT.woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "TwCenMT";
  src: url("./assets/fonts/tw-cen-mt/Tw-Cen-MT-Bold.woff2");
  font-weight: bold;
  font-style: normal;
}

html body {
  box-sizing: border-box;
  font-family: TwCenMT;
  min-height: 95svh;
  padding: 1rem;
}

body > .wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: calc(95vh - 2rem);
}

.header {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  margin-bottom: 3rem;
}

@media screen and (width > 1060px) {
  .header {
    gap: 2.5rem;
    margin-bottom: -39px;
  }
}

@media screen and (width >= 600px) {
  .header {
    gap: 2rem;
  }
}

.header-nav-wrapper {
  display: flex;
  flex-grow: 1;
  gap: 4px;
  justify-content: space-between;
}

@media screen and (width >= 600px) {
  .header-nav-wrapper {
    display: block;
  }
}

.header h1 {
  font-size: 2rem;
  margin-top: 0;
}

@media screen and (width >= 600px) {
  .header h1 {
    font-size: 3.5rem;
  }
}

@media screen and (width >= 450px) {
  .header h1 {
    font-size: 2.6rem;
  }
}

@media screen and (width >= 360px) {
  .header h1 {
    font-size: 2.3rem;
  }
}

.logo {
  display: inline-block;
  flex: 0 0 auto;
  margin-left: clamp(0, 2rem, 5svw);
  max-height: 250px;
}

.header .logo img {
  display: inline-block;
  max-width: 100px;
  min-width: 40px;
  width: 18svw;
}

.header .wp-block-navigation {
  font-size: 1.2rem;
  align-self: flex-start;
}

main {
  flex-grow: 1;
  margin: 0;
}

.instagram-feed {
  max-width: 650px;
  margin: 0 auto;
}

.footer {
  font-size: 14px;
  margin: 3rem auto 0;
  text-align: center;
}
