@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Noto+Serif+TC:wght@200..900&display=swap');
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*clear end*/

html {
	font-size:10px;
}

* {
    box-sizing: border-box;
}
body {
    /*width: 1200px;*/
    margin: 0 auto;
    height: 80vh;
	font-family: "Noto Serif TC","Barlow Condensed", serif;
	font-weight: 400;
	font-style: normal;
	background-color:var(--main-background-color);
}
:root {
	--main-background-color:#01011a;
    --primary-color: #56b1f4;
	--primary-rgb-color:86, 177, 244;
    --primary-sub-color: #4895fe;
	--primary-table-color: #3e7faf;
	--primary-table-focus-color: #4695cf;
	--h1-color: #FFF;
	--h1-background-color_rgb: 86, 177, 244;
	--h2-color: #FFF;
	--h2-background-color_rgb: 86, 177, 244;
	--h3-color: white;
	--select-color: white;
	--select-arrow: var(--main-background-color);
}
.h1-title {
	/*padding-left:20px;
	border-radius: 8px;*/
	width: 100%;
	background-image: linear-gradient(180deg, rgba(var(--h1-background-color_rgb), 0.6), transparent 50%),
		linear-gradient(20deg, transparent 70%, rgba(var(--h1-background-color_rgb), 0.2)),
		linear-gradient(270deg, transparent 70%, rgba(var(--h1-background-color_rgb), 0.2));
	
}
h1 {
    font-size: 3.6rem;
    line-height: 1.5;
    font-weight: 700;
    color:var(--h1-color);
}
.h2-title {
	padding-left:20px;
	border-radius: 8px;
	background-image: linear-gradient(to top, rgba(var(--h2-background-color_rgb), 0.1), transparent 50%), 
			linear-gradient(to right, rgba(var(--h2-background-color_rgb), 0.5), transparent 50%)
}
h2 {
    font-size: 2.2rem;
    line-height: 2;
	color:var(--h2-color);
}
h3 {
    font-size: 1.8rem;
    line-height: 1.5;
	color:var(--h3-color);
}
.header{
	display: flex;
	justify-content:center;
	align-items:center;
    text-align: center;
	height: 10vh;
}
.contetnt{
	height: 90vh;
    display: flex;
}

.contetnt .left-area{
	margin: 0 5px;
    width:60vw;
    height: 100%;
	position:relative;
}

.contetnt .right-area{
	margin: 0 5px;
    width:40vw;
    height: 100%;
	position:relative;
}



.d-flex{
    display: flex;
}

.container{
    justify-content:center;
    align-items:start;
	height:100%;
}
.outer-frame {
    border: 3px solid rgba(var(--primary-rgb-color), 0.6);
    border-radius: 20px;
    box-shadow: inset 0 0 50px 5px rgba(var(--primary-rgb-color), 0.5);
    padding: 20px 20px;
}

/*-- 地圖 --*/
.map{
	margin: 10px 0;
    height: 50vh;
}
#map {
    height: 50vh;
    width: 100%;
	border-radius: 20px;
}

.red{
    color: #ff0000;
}
.google-map{
    position: relative;
}

.buoy-top {
    width:40%;
    position: absolute;
    top:10px;
}

.buoy-top .video{
    width:100%;
}

.buoy-bottom{
    width:100%;
    position: absolute;
    bottom:10px;
}
.buoy-info{
    width:40%;
    height: 100%;
}

.buoy-info .info{
    height: 100%;
}

.buoy-grid {
	align-items:center;
	font-size: 2rem;
	padding-right:0.3rem;
	padding-top:0.5rem;
	padding-bottom:0.5rem;
}

.buoy-title{
	width:35%;
}
.buoy-content{
	flex-wrap:wrap;
	align-items:flex-end;
	width:70%;
}

.weather-info{
    width:70%;
    height: 100%;
}
.weather-table{
    width: 100%;
	align-content:space-between;
	align-items:stretch;
}

.weather-grid {
	flex-wrap:wrap;
	align-items:center;
	font-size: 2rem;
	padding-right:0.3rem;
	padding-top:0.4rem;
	padding-bottom:0.4rem;
	width:33%;
}

.weather-title{
	width:40%;
}
.weather-content{
	flex-wrap:wrap;
	align-items:flex-end;
	width:60%;
}
.weather-unit{
	font-size: 1.5rem;
	vertical-align:bottom;
}


.weather-info .info{
    height: 80%;
}

.scrollbar{
    &::-webkit-scrollbar{
      height: 4px;
    }
    &::-webkit-scrollbar-track {
      background-color: #C8E8F9;
      border-radius: 10px;
      margin: 10px 100px;
    }
    &::-webkit-scrollbar-thumb{
      border-radius: 10px;
      background-color: var(--primary-color);
    }
}

.frosted-glass{
    background:rgba(255, 255, 255, 0.37);
    backdrop-filter:blur(8px); /* 模糊效果 */
    border-radius: 20px;
    margin: 0 10px;
    padding: 10px 10px;

    color: white;
}

.spectrum{
    width: 50%;
    margin-right: 10px;
	text-align:center;
}

.spectrum-msg{
	color: white;
	font-size: 1.8rem;
}

/*-- 偵測清單 --*/
.moniter{
	margin: 10px 0;
	height: 38vh;
}

.moniter-list{
    width: 50%;
	height:85%;
}

.td-center{
    text-align: center;
}

.moniter-info{
   	height: 100%;
   	overflow-y: scroll; /*scroll*/
	margin-top:5px;
   	border: 1px solid var(--primary-table-color);
   	border-radius: 20px;
}



.moniter-thead {
    position:sticky;
    top:0;
    background-color:var(--primary-table-color);
    color: white;

    font-size: 1.8rem;
    line-height: 4rem;
}


.moniter-tbody td {
    width:180px;
    text-align:center;
}
.moniter-tbody tr {
    height:40px;
    font-size: 1.8rem;
	color: white;
    line-height: 1.5;
}

.moniter-tbody tr:hover{
    background-color:var(--primary-table-focus-color);
    color: black;
}

.moniter-focus {
    background-color:var(--primary-table-focus-color);
    color: white;
}



/*select {
    background:var(--select-color);
    color: #fafafa;
    margin: 15px;
    width: 20%;
    height: 3em;
    padding: 8px;
    position: relative;
    border-radius: 5px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M7%2010l5%205%205-5z%22%2F%3E%3C%2Fsvg%3E"), linear-gradient(#0A4E70, #0A4E70);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M7%2010l5%205%205-5z%22%2F%3E%3C%2Fsvg%3E"), -webkit-linear-gradient(#0A4E70, #0A4E70);
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M7%2010l5%205%205-5z%22%2F%3E%3C%2Fsvg%3E"), -moz-linear-gradient(#0A4E70, #0A4E70);
    background-position: right 0.5em top 50%, 0 0;
    background-size: contain, cover;
    background-repeat: no-repeat, repeat;
  }
  
  option {
    appearance: none;
    background: #fff;
    position: absolute;
    color: black;
  }*/
  
  select {
   /* A reset of styles, including removing the default dropdown arrow*/
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 0 1em 0 5px;
    margin: 0;
    width: 100%;
    font-family: inherit;
    font-size: 1.5rem;
    cursor: inherit;
    line-height: inherit;

    /* Stack above custom arrow*/
    z-index: 1;

    /* Remove dropdown arrow in IE10 & IE11*/
    /* @link https://www.filamentgroup.com/lab/select-css.html*/
    &::-ms-expand {
      display: none;
    }

    /* Remove focus outline, will add on alternate element*/
    outline: none;
  }

  .select {
	margin:10px;
    display: grid;
    grid-template-areas: "select";
    align-items: center;
    position: relative;

    select,
    &::after {
      grid-area: select;
    }

    min-width: 15ch;
    max-width: 25ch;

    border: 1px solid white;
    border-radius: 0.25em;
    padding: 0.25em 0.5em;

    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1.1;

    /* Optional styles*/
    /* remove for transparency*/
    background-color: #fff;
    background-image: linear-gradient(to top, #f9f9f9, #fff 33%);

    /* Custom arrow*/
    &:not(.select--multiple)::after {
      content: "";
      justify-self: end;
      width: 0.8em;
      height: 0.5em;
      background-color: var(--select-arrow);
      clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    }
  }

  /* Interim solution until :focus-within has better support*/
  select:focus + .focus {
    position: absolute;
    /*top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;*/
    border: 2px solid var(--h2-background-color_rgb);
    border-radius: inherit;
  }
  label {
    font-size: 1.125rem;
    /*font-weight: 500;*/
  }

  .select + label {
    margin-top: 2rem;
	padding-left:50px;
  }
  
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
  } 
  
.carousel-video {
	display: none;
	width: 100%;
}

.carousel-video.active {
    display: block;
}

.hours-record{
	margin: 10px 0;
	height: 44vh;
}

.month-history {
	margin: 10px 0;
	height: 44vh;
}

/*.bar-back{
	background-color:#fff;
	border-radius: 10px;
}*/