*,
:root {
--primary: #c6211c;
--secondary: #ff4943;
--title: #fff;
--subtitle: #fff;
--text-description: #fff;
--text-btn: #fff;
--text-btn2: #fff;
--text-second-btn: fff;
--bg-theme: #000;
--warning-copyright: #aaa;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

html {
  font-size: 10px;
  font-family: 'Open Sans', sans-serif;
}

body {
  line-height: 1.5;
}

/*container */
.hide{
    display: none !important;
}
.warning-page{
    display: block;
}
.warning-page .container-warning{
    background: var(--bg-theme) !important;
}
.warning-page .container-warning{
    background: var(--bg-theme) !important;
}
#exit-link {
    margin-top: -10px;
    color: var(--primary);
}
.warning-page .container-warning{
    position: fixed;
    left: 50%;
    top: 50%;
    right: unset;
    bottom: unset;
    z-index: 99999999;
    overflow: hidden;
    overflow-y: auto;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    transform: translate(-50%,-50%);
    background: hsla(0,0%,100%,.5);
    box-shadow: 0 0 15px rgba(0,0,0,.1);
    
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.warning {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    height: 100vh;

}

.div1 { grid-area: 1 / 2 / 2 / 5; }
.div2 { grid-area: 3 / 2 / 2 / 5; }
.div3 { grid-area: 3 / 2 / 4 / 5; }
.div4 { grid-area: 4 / 2 / 5 / 5; }
.div1, .div2{
    text-align: center;
}
.div1 {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    
}
.div2{
    display: flex;
}
.div3{
    display: flex;
    justify-content: center;
    align-items: center;
}
.container-div1{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
    gap: .2rem;

}
.container-div1 h1{
    color: var(--primary);
    font-size: 72px;
    margin: 0; 
}
.container-div2{
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;

}
.container-div3{
    font-family: 'Oswald', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    text-align: justify;
    max-height: 165px;
    overflow-y: scroll;
    color: var(--text-description);
}
.container-div4{
    font-family: 'Oswald', sans-serif;
    font-style: normal;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.container-div4 .warning-copyright{
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    letter-spacing: .16em;
    color: var(--warning-copyright);
}

.warning-footer-links{
    font-family: Open Sans;
    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    line-height: 19px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--primary);
    transition:  .2955s ease-in-out;
}

.warning-footer-links::after{
    content: "●";
    margin: 0 5px;
}


/*components*/

/*button*/
#btnEnter{
    text-decoration: none;
}
.btn{
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-second-btn);
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.775rem 1.55rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn:active,
.btn:visited{
    border-radius: 0.45rem;
    border: 6.6465px solid var(--primary);
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem var(--secondary);
}


.btn-enter.btn{
    background: var(--primary);
    border: 6.6465px solid var(--primary);
    box-shadow: 0 4px 4px rgba(0,0,0,.1);
    color: var(--text-btn);
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 32px;
    line-height: 25px;
    text-align: center;
    text-transform: uppercase;
    transition: color .4s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
a.exit.btn {
    color: var(--text-btn);
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: underline;
    transition: color .4s ease-in-out, underline .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.exit-text{
    text-decoration: none;
    color: var(--text-description) !important;
}

/*cookie policy */
.cookie-policy-detail {
    font-size: 16px;
    color: var(--text-description);
}

.cookie-policy-detail strong{
    font-weight: bolder;
}
.cookie-policy-detail a{
    color: var(--primary);
}

/*effects*/
.warning-footer-links:hover{
    color: var(--secondary);
}
.cookie-policy-detail a:hover{
    color: var(--secondary);
    transition:  .2955s ease-in-out;
}
a.exit.btn:hover{
    text-decoration: none;
    text-decoration: none;
    box-shadow: none;
}
.btn-enter.btn:hover {
    color: var(--text-second-btn);
    text-decoration: none;
    box-shadow: 0 4px 4px rgba(0,0,0,.1);
}

/*media query*/
@media only screen and (max-width: 767px){
    .container-div2 .cookie-policy-detail {
        font-size: 14px;
    }
    .container-div2 .btn-enter.btn{
        font-size: 28px;
    }
    .container-div2 a.exit.btn{
        font-size: 16px;
    }
    .container-div1 h1{
        font-size: 47px; 
    }
}
@media (max-width: 450px) {
    .container-div3 h3, p{
        margin-top: 10px;
        font-size: 12px;
        line-height: 18px;
        padding: 0 10px;
    }
   .container-div2 .cookie-policy-detail {
        font-size: 13px;
    }
}
@media only screen and (max-width: 820px) {
    .warning {
        display: grid;
        grid-template-columns: .1fr repeat(3, 1fr) .1fr;
        grid-template-rows: repeat(4, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        height: 100vh;
        padding: 0 1rem;
    }
}
@media only screen and (max-width: 450px){
    .warning {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        padding: 0 .5rem !important;
    }
    .warning-page .container-warning{
        width: calc(100% - 25px);
    }
}


@media only screen and (max-width: 325px) {
    .container-div2 .btn-enter.btn{
        font-size: 21px;
    }
    .container-div2 a.exit.btn{
        font-size: 12px;
    }
    .container-div1 h1 {
        font-size: 32px;
    }
}


