/*ブラウザの上のところ*/
.brouserTop {
    height: fit-content;
    width: 100%;
    background-color: aquamarine;
    position: relative;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}


/*ブラウザの右上のボタンが入っているdiv*/
.brouserMigiue {
    height: 100%;
    top:0;
    right: 0;
    position: absolute;
}

.whyDangerous {
    position: absolute;
    font-size: 80%;
    background-color: var(--userSend);
    top: 2em;
    left: 0;
}

.dangerous{
    background-color: var(--userSend);
    cursor: pointer;
}

/*ブラウザを閉じたり最小化したりする、input要素*/
.BrouserClose {
    height: 100%;
    background-color: aqua;

    border: 0.5px solid black;
    aspect-ratio: 1/1;
}

@keyframes windowOpen {
    0% {
        opacity: 0;
        /* translateはJS側で設定したものを維持したいため、scaleだけをいじりたいが、
           CSSはtransformプロパティ全体を上書きしてしまう性質があります */
    }

    100% {
        opacity: 1;
    }
}

/*.window-anime {
    animation: windowOpen 0.25s ease-out forwards;
}*/

/*URLの入力欄*/
.urlText {
    /*position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
    margin-top: 5%;
    border-radius: 100vmax;
    background-color: var(--sendFocus);
    width: 60%;
    text-align: left;
    margin: 0;
    padding-left: 1em;
    vertical-align: middle;
    overflow-x: scroll;
    font-size: 100%;
}

/*でかく表示するやつに使える*/
.brouser {
    /* position: absolute; は .zengamen にあるので、
       ここでの top/left 指定を消すと、JSの指定が正しく反映されます */
    width: 100%;
    height: 100%;
    border: 1px solid black;
    border-radius: 7px 0 7px 7px;
    background-color: white;
    animation: windowOpen 0.25s ease-out forwards;
    /* 中身が見えないのを防ぐ */
}

/*ブラウザの、iframe部分*/
.zengamen-iframe {
    margin: 0;
    width: 100%;
    height: 93%;
    box-sizing: border-box;
    overflow-x: hidden;
    background-color: white;
}


.zengamen {
    position: absolute;
    width: 90vw;
    height: 90vh;
    max-width: 90vw;
    max-height: 80vh;
    padding: 0;
    overflow: hidden;
    z-index: 1000;
}





/*拡大表示するimg要素*/
.zengamen-gazou {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/*画像が入っているところ*/
.gazouDiv {
    height: fit-content;
    width: fit-content;
    max-height: 100%;
    max-width: 100%;
    overflow: auto;
    background-color: white;
}

/*拡大画像のwindow*/
.gazouWindow {
    /*z-index: 100000;*/
    /*transform-origin: center center;*/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
    max-width: 80%;
    max-height: 80%;
    width: fit-content;
    height: fit-content;
    padding: 0;
}