/* 一括で全ての要素の余白をゼロに指定 */
* {
    padding: 0;
    margin: 0;
}

body {
    overflow-y: scroll;
    background-image: url(../common/img/bg.jpg);
}

#loginArea {
    width: 1280px;
    height: 760px;
    background: linear-gradient(to top, rgba(217, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%), url(../common/img/ncrtop.jpg);
    background-size: cover;
    /* 背景画像指定 */
    text-align: center;
}

.title {
    color: #800;
    font-size: 64px;
    padding: 5px;
}

.header {
    color: #fff;
    font-weight: bold;
    -webkit-text-stroke: 3px #800;
    text-stroke: 3px #800;
    paint-order: stroke;
    padding: 5px;
}

.loginForm {
    margin: 10px;
}

.loginForm .header{
    display: inline-block;
    width: 200px;
    text-align: right;
}

.normalText {
    color: #fff;
    -webkit-text-stroke: 3px #800;
    text-stroke: 3px #800;
    paint-order: stroke;
}

.loginError{
    color: #f00;
}

#app {
    width: 1280px;
    height: 760px;
    border: 3px solid #000;
    background-color: #000;
}

#header {
    height: 60px;
    margin: 5px;
    border: 3px solid #800;
}

#hostSetArea {
    margin: 5px;
}

#enemyInfoBoard {
    height: 260px;
    margin: 5px;
    overflow-x: scroll;
    background-position: top;
    border: 3px solid #800;
}

#enemyTable {
    margin: 5px;
}

.enemyInfo {
    width: 120px;
    height: 220px;
    margin: 10px;
    background-image: linear-gradient(0deg, rgba(128, 15, 15, 0.5), rgba(0, 0, 0, 0.5));
    vertical-align: top;
}

#maneuver {
    display: grid;
    grid-template-columns: 1fr 4fr;
    height: 380px;
    margin: 5px;
    border: 3px solid #800;
    background-position: center -260px;
}

#infoLeft {
    text-align: center;
    margin: 5px;
    background-image: linear-gradient(0deg, rgba(128, 15, 15, 0.5), rgba(0, 0, 0, 0.5));
}

#infoRight {
    margin: 5px;
    overflow: scroll;
}

.info {
    margin: 5px;
    display: grid;
    background-color: rgba(32, 0, 0, 0.5);
    grid-template-columns: repeat(6, 150px);
    border: 2px solid #800;
}


.maneuverInfo {
    text-align: center;
    border: 1px solid #800;
    width: 140px;
    height: 220px;
    margin: 5px;
    background-color: rgba(256, 256, 256, 0.25);
}

.nameInfo {
    top: 5px;
    height: 20px;
    color: #fff;
    font-weight: bold;
    -webkit-text-stroke: 3px #800;
    text-stroke: 3px #800;
    paint-order: stroke;
}

.numInfo {
    color: #fff;
    font-size: 12px;
}

h2 {
    height: 30px;
    color: #fff;
    font-weight: bold;
    -webkit-text-stroke: 6px #800;
    text-stroke: 6px #800;
    paint-order: stroke;
}

#infoRightSV {
    margin: 5px;
    overflow: scroll;
    background-color: rgba(32, 0, 0, 0.5);
}

.infoSV {
    margin: 5px;
    display: grid;
    grid-template-columns: repeat(6, 150px);
    border: 2px solid #800;
}

.maneuverInfoSV {
    text-align: center;
    width: 140px;
    height: 220px;
    margin: 5px;
    background-color: rgba(256, 256, 256, 0.25);
}

#footer {
    height: 16px;
    margin: 5px;
    background-image: linear-gradient(90deg, rgba(128, 0, 0, 1), rgba(256, 0, 0, 1), rgba(128, 0, 0, 1));
}

#overlay {
    /*　要素を重ねた時の順番　*/
    z-index: 1;

    /*　画面全体を覆う設定　*/
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);

    /*　画面の中央に要素を表示させる設定　*/
    display: flex;
    align-items: center;
    justify-content: center;

}

.hostModal {
    z-index: 1;

    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    padding: 1em;
    background: #fff;
}


.used {
    transform: rotate(90deg) scale(0.8);
}


.broken {
    filter: grayscale(100%);
    opacity: 50%;
}

.hide {
    filter: invert(1);
}

/*アイコン*/
.dli-copy {
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    position: relative;
    width: 0.63em;
    height: 0.9em;
    background: #fff;
    border: 0.1em solid currentColor;
    border-radius: 0.1em;
    box-sizing: content-box;
    box-shadow: -0.2em 0.2em 0 -0.1em #fff, -0.2em 0.2em 0 0 currentColor;
}

.dli-copy>span {
    content: '';
    position: absolute;
    top: -0.1em;
    left: 50%;
    width: 0.315em;
    height: 0.315em;
    border: 0.1em solid currentColor;
    border-top: 0;
    border-right: 0;
    border-radius: 0 0 0 0.1em;
    box-sizing: content-box;
    overflow: hidden;
}

/*ボタン*/
button {
    position: relative;
    display: inline-block;
    font-weight: bold;
    padding: 0.1em 0.25em;
    text-decoration: none;
    color: #880000;
    background: #fff;
    transition: .4s;
    border: solid 2px #880000;
    border-radius: 3px;
}

button:hover {
    background: #880000;
    color: white;
}

/*フォーム*/
form {
    max-width: 600px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

input {

    margin: 0.1rem 0;
    padding: 0.1rem 1rem;
    border-radius: 0.3rem;
    background: darken(#f9f9f9, 10%);
    color: darken(#f9f9f9, 50%);
    border: solid 2px #880000;
    border-radius: 3px;

    &::placeholder {
        color: darken(#f9f9f9, 50%);
    }

    &.error {
        background: $red;
        color: #fff;

        &::placeholder {
            color: darken($red, 60%);
        }
    }
}

input:focus {
    background: #880000;
    border: solid 2px #880000;
    border-radius: 3px;
    color: white;

    &::placeholder {
        color: #ffffff;
    }
}


.selectbox-1 {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.selectbox-1::after {
    position: absolute;
    right: 10px;
    width: 10px;
    height: 7px;
    background-color: #535353;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
    pointer-events: none;
}

.selectbox-1 select {
    appearance: none;
    padding: .4em calc(.8em + 30px) .2em .4em;
    border: none;
    border-bottom: 2px solid #880000;
    background-color: #fff;
    color: #333333;
    cursor: pointer;
}

.selectbox-1 select:focus {
    outline: none;
    color: white;
    background-color: #800;
}


/*スクロールバー*/
.scroller {
    scrollbar-color: #800 #000;
    scrollbar-width: thin;
}