/*
Theme Name: VRcar Theme
Theme URI: https://www.vrcar.cz/
Author: Automatický převod
Description: Vlastní WordPress šablona vytvořená z původní HTML stránky
Version: 1.0
*/
:root {
    /*  =  Colors  =  */
    --c-main: #0076d1;
    --c-bg: #FAFAFF;
    --c-text: #000000;
}

/*  =  Main section  =  */

body {
    background-color: var(--c-main);
    margin: 0 0 0 0;
}
.main {
    background-color: hsl(240, 100%, 99%);
    border-radius: 50px 50px 0 0;
    margin-top: 128px;
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";line-height:1.5;
    overflow: hidden;
}
.main img{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 640px;
    margin-top: 64px;
}
.main p {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
}
.actions {
    margin-top: 64px;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.main-action {
    background-color: transparent;
    padding: 24px 40px;
    color: white;
    text-decoration: none;
    display: inline-flex;
    
}
.sub-action {
    background-color: var(--c-bg);
    border: 24px solid transparent;
    border-radius: 32px;
    padding-left: 16px;
    padding-right: 16px;
    color: var(--c-text);
    text-decoration: none;
    width: max-content;
    display: inline-flex;
    align-items: center;
    transition: filter 0.2s;
}
.main-action-div{
    transition: 0.5s;
    margin-bottom: 48px;
    background-color: var(--c-main);
    border-radius: 32px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.250));

}
.actions div{
    display: flex;
    justify-content: center;
}
.sub-action:hover {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.250));
}
.main-action-div:hover { 
    filter: drop-shadow(0 16px 8px rgba(0, 0, 0, 0.250));
    scale: 1.05;
}
.sub-action svg {
    padding-right: 8px;
}

/*  =  Adress section  =  */

.adress {
    display: flex;
    margin-top: 128px;
    justify-content: space-around;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.adress-text {
    text-align: left;
    margin-left: 32px;
}
.adress-text div {
    display: flex;
    align-items: center;
}
.adress-text div svg {
    margin-right: 12px;
}
.adress-map{
    display: flex;
    justify-content: center;
}
.map-phone{
    display: none;
}

/*  =  Phone display  =  */

@media (max-width: 600px) {
.main {
    margin-left: 0;
    margin-right: 0;
}
.main img{
    width: 320px;
    margin-top: 64px;
}
.main p {
    max-width: 380px;
}
.actions div{
    flex-wrap: wrap;
}
.sub-action {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.250));
    margin-bottom: 16px;
}
.adress{
    flex-direction: column;
}
.adress-text{
    margin-left: -50px;
}
.map-normal{
    display: none;
}
.map-phone{
    display: block;
    /* width: 110%; */
}
}
