@font-face {
    font-family: "Bahnschrift SemiCondensed";
    src: url("../fonts/Bahnschrift.ttf");
    font-stretch: 87.5%;
}

@font-face {
    font-family: "Bahnschrift Bold";
    src: url("../fonts/Bahnschrift.ttf");
    font-weight: bold;
}

* {
    color: white;
    font-family: "Bahnschrift SemiCondensed", sans-serif;
    line-height: 1;
    box-sizing: content-box;
}

body {
    background-color: #639;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

#overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    margin: -40px 0;
}

#popup {
    background-color: #A080C0;
    border-radius: 0px 30px 30px 30px;
    padding: 20px;
    width: 300px;
    height: 200x;
    transform: translateY(calc(50vh - 100px));
    margin: 0 auto;
}

/* #close-popup {
    position: fixed;
    justify-content: right;
} */

main {
    width: 1000px;
    margin: 0 auto;
}

.header {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 50px;
    margin-top: 40px;
}

.header span {
    margin-top: auto;
}

h1, h2 {
    font-family: "Bahnschrift Bold", sans-serif;
    margin-top: 0;
}

b {
    color:#C6B3D9;
}

#basic-info-container {
    display: flex;
    width: 100%;
    margin-top: 20px;
    justify-content: space-evenly;
}

.basic-info-item p {
    text-align: center;
    margin: 5px;
}

.basic-info-key {
    color: #C6B3D9;
    margin-bottom: 5px;
}

.basic-info-value {
    font-weight: bold;
}

p {
    margin: 20px 0;
}

#thing {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#thing a {
    width: fit-content;
}

#thing section, #form {
    background-color: #A080C0;
    border-radius: 0px 30px 30px 30px;
    padding: 20px;
    width: 100%;
    height: fit-content;
}

#contact-info {
    display: grid;
    grid-template: repeat(3, 24px) / 24px 1fr;
    grid-auto-flow: column;
    gap: 5px;
}

#contact-info img, #contact-info a {
    margin: auto 0;
}

@keyframes pulsate {
    from {
        outline: 0px solid #A080C0;
    }
    to {
        outline: 10px solid white;
    }
}

#form-container {
    display: grid;
    grid-template: repeat(4, 24px) / 120px 300px;
    grid-auto-flow: column;
    row-gap: 5px;
}

input {
    background-color: #639;
    border-radius: 0px 8px 8px 8px;
    border: none;
    font-size: 16px;
}

input[type="submit"], button {
    font-size: 16px;
    padding: 5px;
    border-radius: 0px 8px 8px 8px;
    border:none;
    background-color: white;
    color: #639;
    &:hover {
        background-color: #C6B3D9;
    }
    &:active {
        background-color: #639;
        color:white;
    }
}

input[type="submit"] {
    margin-top: 10px;
}