/*
Description:
    Contains all the styles for the winning wheel page.
    
Verison History:
    2012-01-28, Douglas McKechie
    - Created based off earlier version.
    
    2015-09-26, Douglas McKechie
    - Minor updates for the 2.0 winwheel example.
*/

@font-face {
    font-family: "Philosopher";
    src: url(./fonts/Philosopher.ttf);
    src: local("Philosopher"), url(./fonts/Philosopher.ttf) format("truetype");
}

@font-face {
    font-family: "Prata";
    src: url(./fonts/Prata-Regular.ttf);
    src: local("Prata"), url(./fonts/Prata-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "Inter";
    src: url(./fonts/static/Inter-Regular.ttf);
    src: local("Inter"), url(./fonts/static/Inter-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "Lato";
    src: url(./fonts/Lato-Regular.ttf);
    src: local("Lato"), url(./fonts/Lato-Regular.ttf) format("truetype");
}

@font-face {
    font-family: "AvertaStd";
    src: url(./fonts/AvertaStd-Bold.otf);
    src: local("AvertaStd"), url(./fonts/AvertaStd-Bold.otf) format("truetype");
}

@font-face {
    font-family: "AvertaStdRegular";
    src: url(./fonts/AvertaStd-Regular.otf);
    src: local("AvertaStdRegular"), url(./fonts/AvertaStd-Regular.otf) format("truetype");
}

body {
    font-family: AvertaStd !important;
    margin: 0 auto;
    background: url(./backgroud.jpeg);
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100vh;
}


.box-luckywheel {
    background: url(./backgroud.jpeg);
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100vh;

}

.tab {
    /* overflow: hidden; */
    /* border: 1px solid #ccc; */
    /* background-color: #f1f1f1; */
    background-color: transparent;
    display: flex;
    justify-content: center;
    height: 155px;
    width: 100%;
}

.tablinks {
    width: 25%;
    color: black;
    display: flex;
    row-gap: 25px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    /* background: linear-gradient(180deg, #C40C0D 0%, #3B262C 100%); */
    background: linear-gradient(180deg, #b898b0 0%, #fff9f9 100%);
    box-shadow: 0px -2px 4px rgb(1 18 34 / 10%);
    border-radius: 12px 12px 0px 0px;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    /* transition: 0.3s; */
    position: relative;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    /* background: linear-gradient(180deg, #3B262C 0%, #C40C0D 100%); */
    background: linear-gradient(180deg, #fff9f9 0%, #b898b0 100%);
    backdrop-filter: blur(2px);
    /* Note: backdrop-filter has minimal browser support */
    transition: all 0.3s;
    color: #FFFFFF;
    margin-top: -40px;
}

.tabtext {
    font-style: normal;
    font-weight: 600;
    font-size: 35px;
    line-height: 16px;
    /* identical to box height, or 133% */

    text-align: center;

    color: #C12242;

    text-shadow: 0px 0px 24px #FFFFFF;
    padding-top: 55px;
}

.tabtext.active {
    color: #FFFFFF;
    padding-top: 0;
}

.img-tab {
    position: absolute;
    /* top: -45px; */
    z-index: 999;
    width: 200px;
}



/* Style the tab content */
.tabcontent {
    display: none;
    border: 1px solid #ccc;
    border-top: none;
    width: 100%;
    height: 100vh;
    padding-top: 50px
}

.header {
    overflow: hidden;
    padding: 40px 0;
}



/* Sets the background image for the wheel */
td.the_wheel {
    /* background-image: url(./wheel_back.png); */
    background-position: center;
    background-repeat: none;
    display: flex;
    justify-content: center;
}

.turns {
    display: flex;
    justify-content: center;
    padding-top: 35px;
}

.btn-turns {
    display: flex;
    justify-content: space-between;
    width: 338px;
    height: 85px;
    border: 3px solid yellow;
    border-radius: 64px;
    font-size: 55px;
    color: #FFFFFF;
}

.the-le {
    padding: 5px 20px;
    background: #fdcc00;
    border-radius: 10px;
    float: right;
    text-transform: uppercase;
    cursor: pointer;
}

#spin_button {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    opacity: 0;
}

.marker {
    position: absolute;
    top: -180px;
    left: -90px;
}

/* Do some css reset on selected elements */

div.power_controls {
    margin-right: 70px;
}

div.html5_logo {
    margin-left: 70px;
}

/* Styles for the power selection controls */
table.power {
    background-color: #cccccc;
    cursor: pointer;
    border: 1px solid #333333;
}

table.power th {
    background-color: white;
    cursor: default;
}

td.pw1 {
    background-color: #6fe8f0;
}

td.pw2 {
    background-color: #86ef6f;
}

td.pw3 {
    background-color: #ef6f6f;
}

/* Style applied to the spin button once a power has been selected */
.clickable {
    cursor: pointer;
}

/* Other misc styles */
.margin_bottom {
    margin-bottom: 5px;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    /* background-color: red; */
    color: white;
    text-align: center;
}

.modal {
    display: none;
    /* Ẩn Mặc Định */
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    /* Vị trí của modal */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* thiết lập scroll khi cần thiết */
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

#myBtn {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    -webkit-transition-duration: 0.4s;
    /* Safari */
    transition-duration: 0.4s;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12),
        0 2px 2px rgba(0, 0, 0, 0.12),
        0 4px 4px rgba(0, 0, 0, 0.12),
        0 8px 8px rgba(0, 0, 0, 0.12),
        0 16px 16px rgba(0, 0, 0, 0.12);
    outline: none;
}

/* Nội Dung Modal */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12),
        0 2px 2px rgba(0, 0, 0, 0.12),
        0 4px 4px rgba(0, 0, 0, 0.12),
        0 8px 8px rgba(0, 0, 0, 0.12),
        0 16px 16px rgba(0, 0, 0, 0.12);
    border-radius: 25px;
}

/* Nút Đóng Modal */
.btn-close {
    width: 135px;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.header-infor {
    position: relative;
    padding-top: 100px;
}

.btn-back {
    position: absolute;
    padding: 0px 35px;
    padding-left: 41px;
    width: 235px;
    top: 20px;
}

.title {
    /* width: 100%; */
    /* height: 44px; */
    padding: 30px;
    font-size: 55px;
    line-height: 85px;
    font-weight: 700;
    /* identical to box height, or 122% */
    justify-content: center;
    display: flex;
    align-items: center;
    text-align: center;
    /* color: #BA3430; */
    color: #FFFFFF;
}

.banner {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    padding: 40px 40px 0 40px;
}

.items {
    font-style: normal;
    font-size: 30px;
    /* identical to box height, or 122% */
    color: darkmagenta;
    /* Inside auto layout */
    /* flex: none;
    order: 0;
    flex-grow: 0; */
}

.items-title {
    font-size: 30px;
    line-height: 60px;
    /* identical to box height, or 122% */
    /* color: #FFFFFF; */
}

.items-ul {
    font-size: 30px;
    line-height: 60px;
    /* identical to box height, or 122% */
    /* color: #FFFFFF; */
}

.info-user {
    font-size: 40px;
    line-height: 30px;
    /* identical to box height, or 122% */
    color: #FFFFFF;
    display: flex;
    justify-content: center;
    /* Inside auto layout */
    gap: 10px;
}

.form-the-le {
    display: flex;
    position: relative;
    margin-top: 30px;
}

.image-khung-the-le {
    width: 125%;
    height: 100%;
    margin-left: -115px;
    margin-bottom: 160px;
}

.content-the-le {
    position: absolute;
    padding: 10px 20%;
    overflow: scroll;
    top: 8%;
    height: 80%;
}

.gift {
    border: 1px solid #F7CE62;
    margin: 20px 50px;
    align-items: center;
    display: flex;
    border-radius: 30px;
    background-color: #FFFFFF;
}

.lixi {
    padding: 16px;
    width: 200px
}

.line {
    width: 5px;
}

.gift-content {
    padding: 0px 0px 0px 50px;
}

.gift-content h1 {
    font-size: 45px;
    font-weight: 600;
    color: #BA3430
}

.gift-content h2 {
    font-size: 30px;
    color: #808080
}

.mission {
    border: 1px solid #F7CE62;
    margin: 20px 50px;
    align-items: center;
    display: flex;
    border-radius: 30px;
    background-color: #FFFFFF;
    justify-content: space-between;
}

.mission-content {
    padding: 20px 0px 20px 50px;
}

.mission-content h2 {
    font-size: 40px;
    font-weight: bold;
    color: #ff6b00;
}

.button-thuc-hien {
    text-align: center;
    display: flex;

}

.box-lixi {
    position: relative;
    width: 860px;
    height: 1496px;
}

.phanqua-gift {
    position: absolute;
    top: 5%;
    width: 870px;
    left: 0%;
}

.phanqua {
    /* position: absolute; */
    /* top: 10%; */
    width: 210px;
    /* left: 20%; */
}

.title-phanqua {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 54%;
    left: 50%;
    color: #FFFFFF;
    font-size: 48px;
    font-weight: 600;
    display: flex;
    text-align: center;
    justify-content: center;
    width: 900px;
}

.content-phanqua {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 60%;
    left: 50%;
    color: #FFFFFF;
    font-size: 31px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.choi-tiep {
    position: absolute;
    top: 73%;
    width: 400px;
    left: 25%;
    color: #C12242;
    font-size: 24px;
    display: flex;
    justify-content: center;
    text-align: center;
}


.btn-choi-tiep {
    font-size: 40px;
    border: none;
    border-radius: 24px;
    color: #FFFFFF;
    /* background: linear-gradient(180deg, #E29A4C 2.34%, #CE7531 98.22%); */
    background: transparent;
}

.header-table {
    display: flex;
    justify-content: space-between;
    color: #BA3430;
    font-size: 36px;
    font-weight: 700;
    gap: 10px;
}

.title-table1 {
    background-color: #F7CE9C;
    border-top-left-radius: 40px 40px;
    width: 35%;
    height: 95px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.title-table2 {
    background-color: #F7CE9C;
    width: 30%;
    height: 95px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.title-table3 {
    background-color: #F7CE9C;
    border-top-right-radius: 40px 40px;
    width: 35%;
    height: 95px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.content-table {
    display: flex;
    justify-content: space-between;
    color: #BA3430;
    width: 100%;
    font-size: 30px;
    font-weight: 500;
    padding-top: 10px;
    gap: 10px;
}

.content-table1-center {
    background-color: #FBE8D3;
    width: 35%;
    height: 95px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.content-table2-center {
    background-color: #FBE8D3;
    width: 30%;
    height: 95px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.content-table3-center {
    background-color: #FBE8D3;
    width: 35%;
    height: 95px;
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
}

.content-table1-end {
    background-color: #FBE8D3;
    width: 300px;
    height: 95px;
    border-bottom-left-radius: 40px 40px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.content-table2-end {
    background-color: #FBE8D3;
    width: 295px;
    height: 95px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.content-table3-end {
    background-color: #FBE8D3;
    width: 300px;
    height: 95px;
    border-bottom-right-radius: 40px 40px;
    align-items: center;
    display: flex;
    justify-content: center;
}