@import "tailwindcss";

html{
  scroll-behavior: smooth;
}

body{
    background:#0F2A45;
    background-image:
        linear-gradient(#1B3B58 1px, transparent 1px),
        linear-gradient(90deg, #1B3B58 1px, transparent 1px);
    background-size: 44px 44px;
    background-attachment: fixed;
    background-position: -1px -1px;
    font-family: 'Inter', sans-serif;
    color: #9FBAD4;
}

h1, h2, h3{
    font-family: 'Space Grotesk', sans-serif;
}

h2{
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    
}

.line{
    flex: 1;
    height: 1px;
    background-color: #2E5478;
    position: relative;
}

.line::before, .line::after{
    content: "";
    position: absolute;
    top: -4px;
    width: 1px;
    height: 9px;
    background: #2E5478;
}
.line::before{ left: 0; }
.line::after{ right: 0; }

.mono{
    font-family: 'JetBrains Mono', monospace;
}

.btn:hover{
    transform: translateY(-2px);
    transition: all .2s ease;
}
.btn-clr:hover{
    color: #F2A63C;
    border-color: #F2A63C;
    transition: all .2s ease;
}
.intro{
    display:flex;
    align-items:center;
    gap: 1rem;
}

.intro::before{
    content: "";
    width: 22px; 
    height: 1px;
    background-color: #F2A63C;
    display:inline-block
}

.beschikbaarheid{
    border-color: #7FD9A6;
    color: #7FD9A6;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.beschikbaarheid::before{
    content:"";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #7FD9A6;
    box-shadow: 0 0 0 3px rgba(127,217,166,0.18);
}

.pf-foto{
    aspect-ratio: 3 / 4;
}

.photo-corner-tl{
    position: absolute;
    width: 14px;
    height: 14px;
    border-top: 2px solid;
    border-left: 2px solid;
    border-color: #F2A63C;
    top: -8px;
    left: -8px;
}

.photo-corner-br{
    position: absolute;
    width: 14px;
    height: 14px;
    right: -8px;
    bottom: -8px;
    border-bottom: 2px solid;
    border-right: 2px solid;
    border-color: #F2A63C;
}

.corner-hover:hover .corner-tl, .corner-hover:hover .corner-br{
    border-color: #F2A63C;
}

.corner-relative{
    position: relative;
}

.corner-tl{
    position: absolute;
    width: 24px;
    height: 24px;
    border-top: 2px solid;
    border-left: 2px solid;
    border-color: #2E5478;
    top: px;
    left: 16px;
    transition: border-color .2s ease;
}

.corner-br{
    position: absolute;
    width: 24px;
    height: 24px;
    border-bottom: 2px solid;
    border-right: 2px solid;
    border-color: #2E5478;
    bottom: 16px;
    right: 16px;
    transition: border-color .2s ease;
}

@theme{
    --color-panel:#0B2136;
    --color-borderclr:#2E5478;
    --color-accent:#F2A63C;
    --color-dimmer:#6D8CAB;
    --color-bg-photo:#0C2740
}

@theme {
  --breakpoint-mdl: 56rem;
  --breakpoint-xs: 36rem;
}

@utility no-second-border {
  &>*:nth-child(2){
    border-right-width: 0;
  }
}

@utility second-border {
  &>*:nth-child(2){
    border-right-width: 1px;
  }
}

@utility container {
    width: 100%;
    max-width: 980px;
    margin-inline: auto;
    padding-inline: calc(var(--spacing) * 4);
}
