*{
    font-family: 'EB Garamond', serif;
}

* a,
* button,
* p{
    font-size: 20px;
}

body{
    background-color: rgb(229, 230, 231);
}

.active{
    text-decoration: underline rgba(0, 0, 0, 0.497);
}
/* 
-
NAVBAR 
-
*/

#nav-bar{
    border-bottom: 4px solid rgb(255, 225, 31);
    padding-top: 0px;
    padding-bottom: 0px;
}

#logo{
    height: 50px;
}

.nav-item a,
.nav-item button{
    font-size: 20px;
}

.language a{
    font-size: 29px;
    text-decoration: none;
    border: 2px dashed gray;
    padding-left: 10px;
    padding-right: 10px;
    background-color: rgba(128, 128, 128, 0.166);
    margin-right: 1rem;
}

@media(max-width: 767px){
    .language{
        margin-bottom: 20px;
        margin-top: 10px;
    }
}

@media(min-width: 768px){
    .language{
        margin-left: auto;
    }
}

#lg_pl{
    border: 4px solid rgb(5, 46, 78);
    border-radius: 4px;
    background-color: rgba(128, 128, 128, 0.582);
}

/* 
-
Panel 0
-
*/

.panel-0{
    background-image: url("../img/p-0.png");
    background-size: cover;
    padding: 0px;
    margin-bottom: 40px;
}

#dim{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.752);
    height: 100%;
}

.models-p0{
    flex: 0%;
    display: flex;
    justify-content: space-around;
    width: 80%;
    margin-top: 10px;
}

.models-p0 a{
    text-decoration: none;
    font-size: clamp(20px, 3vw, 30px);
    color: rgb(202, 202, 202);
}

.title-p0{
    flex: 60%;
    text-align: center;
    margin-top: 30px;
}

.title-p0 h1{
    font-size: 60px;
}

@media(max-width: 768px){
    .models-p0{
        display: none;
    }

    .title-p0{
        margin-top: 40px;
    }
}

.models-p0 a:hover{
    color: white;
    transition: 100ms;
    transform:perspective(200px) translateZ(30px);
}

#carousel{
    width: 50%;
    margin-bottom: 50px;
    margin-top: 50px;
    border: 3px solid rgb(203, 179, 26);
    border-radius: 14px;
}

@media(max-width: 700px){
    #carousel{
        width: 80%;
    }
}

.carousel-item img{
    aspect-ratio: 16/9;
    border-radius: 10px;
}

/* 
-
Panel 1
-
*/


.panel-1{
    margin-top: 16px;
}

#panel-1-left{
    padding-right: 0px;
    display: flex;
    flex-direction: column;
}
#panel-1-right{
    padding-left: 0px;
    display: flex;
    flex-direction: column;
}

.type-pick{
    display: flex;
    justify-content: space-between;
}

.type-pick button{
    background-color: rgb(38, 40, 43);
    color: white;
    border: none;
    width: 100%;
    margin: 2px;
    font-size: 20px;
    border-radius: 5px;
}

.expo{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(38, 40, 43);
    border-radius: 5px;
    margin: 2px;
    flex: 1;
}

.expo img{
    width: 100%;
    padding-top: 3vh;
    padding-bottom: 3vh;
}

.opis{
    color: white;
    background-color: rgb(38, 40, 43);
    margin: 2px;
    border-radius: 5px;
    padding-left: 20px;
    flex: 1;
    padding-bottom: 20px;
    padding-right: 20px;
}

.opis h1{
    text-align: center;
    padding-top: 16px;
}

.opis p{
    margin-bottom: 0px;
}

.dec-pic{
    display: flex;
    justify-content: space-between;
}

.dec-pic a,
.dec-pic button{
    background-color: rgb(38, 40, 43);
    color: white;
    border: none;
    margin: 2px;
    border-radius: 5px;
}

.dec-pic a{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;

}

.dec-pic img{
    height: 40px;
}

#bottom-right img{
    height: 30px;
    padding-left: 5px;
    padding-right: 5px;
}

@media(min-width : 769px){
    #A3{
        border-top-left-radius: 20px;
    }

    #top-right{
        border-top-right-radius: 20px;
    }

    #bottom-left{
        border-bottom-left-radius: 20px;
    }

    #bottom-right{
        border-bottom-right-radius: 20px;
    }
}
@media(max-width : 768px){
    #panel-1-left{
        padding-right: 12px;
    }
    #panel-1-right{
        padding-left: 12px;
    }

    #A3{
        border-top-left-radius: 20px;
    }
    .dec-pic a{
        border-bottom-left-radius: 20px;
    }
    #H5{
        border-top-right-radius: 20px;
    }
    #bottom-right{
        border-bottom-right-radius: 20px;
    }
}

.type-pick button:hover,
.dec-pic a:hover{
    border: 1px solid rgb(255, 225, 31);
    padding-top: 0px;
    padding-bottom: 0px;
    margin-left: 1px;
    margin-right: 1px;
    color: rgb(255, 225, 31);
}

#A3{
    background-color: rgb(102, 104, 113);
}

/* 
-
Panel 2
-
*/

.parent-P2{
    clip-path: polygon(0 0, 0 92%, 100% 100%, 100% 8%);
    background-color: rgb(255, 225, 31);
    margin-top: 50px;
}

.panel-2{
    background-color: rgb(38, 40, 43);
    clip-path: polygon(0 0, 0 90%, 100% 100%, 100% 10%);
    padding: 0px;
    padding-top: 10%;
    padding-bottom: 15%;
    display: grid;
    place-items: center;
}

@media(max-width : 600px){
    .parent-P2{
        clip-path: polygon(0 0, 0 97%, 100% 100%, 100% 3%);
    }
    
    .panel-2{
        clip-path: polygon(0 0, 0 95%, 100% 100%, 100% 5%);
    }
}

.panel-2 h1,
.panel-2 h4,
.panel-2 p{
    color: white;
    text-align: center;
    max-width: 800px;
    padding-left: 30px;
    padding-right: 30px;
}

.panel-2 img{
    width: 100%;
    max-width: 1200px;
}

/* 
-
Panel 3
-
*/

.text-P3{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-P3 h1,
.text-P3 p{
    text-align: center;
    max-width: 800px;
}

.text-P3 h1{
    margin-bottom: 30px;
    margin-top: 30px;
}

/* 
-
Panel 4
-
*/

.panel-4{
    margin-top: 30px;
}

#opis-p4{
    background-color: rgb(38, 40, 43);
    color: white;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

.img-p4{
    background-image: url("../img/inside.png");
    background-size: cover;
    background-position: center;
}

#opis-p4 h1{
    margin-bottom: 30px;
}

@media(max-width: 992px){
    .img-p4{
        aspect-ratio: 16/7;
    }

    #opis-p4 {
        text-align: center;
    }

    
}

.panel-4 ul{
    list-style-type: none;
    font-size: 20px;
}

.panel-4 span{
    color: rgb(255, 225, 31);
}

.p4-btn{
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    padding: 5px;
    padding-left: 20px;
    padding-right:  20px;
    padding-bottom: 7px;
    background-color: rgba(255, 255, 255, 0.159);
    width: 100px;
    margin-left: auto;
    margin-top: 20px;
    transition: 200ms;
}

.p4-btn:hover{
    background-color: rgba(255, 255, 255, 0.39);
}

/* 
-
footer
-
*/

.footer{
    background-color: rgb(38, 40, 43);
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border: 0px solid rgb(255, 225, 31);
    border-top-width: 1px;
}

.footer a{
    text-decoration: none;
    color: beige;
    background-color: rgba(245, 245, 220, 0.13);
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 5px;
}

.footer-right a{
    margin-left: 30px;
}
.footer-right{
    transform: translateY(5px);
}

@media(max-width: 400px){
    .footer{
        display: flex;
        flex-direction: column;
    }

    .footer a{
        width: fit-content;
    }

    .footer-right a{
        margin: 0;
    }
}

/* 
-
offcanvas
-
*/

.offcanvas-body a{
    display: block;
    text-decoration: none;
    color: rgb(220, 217, 217);
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 40px;
    font-size: 20px;
    transition: 1s;
    border-bottom: 1px solid rgb(255, 225, 31);
}

.offcanvas-body a:hover{
    color: rgb(255, 255, 255);
    font-size: 25px;
    padding-left: 47%;
}

.offcanvas{
    background-color: rgb(38, 40, 43);
}

.offcanvas-title{
    color: white;
    text-indent: 40px;
}
