/*
Find my fit was made by Vendula Procházková and Dominik Beran
*/

body {
    background-color: black;
    margin: 0;
    height: 100%;
}

.top-bar {
    /* div container for the bar at the top*/
    margin: 0;
    width: 100%;
    height: 8vh;
    /*background-color: red;*/
    /*for debug purpouses*/
    align-items: center;
    display: flex;
    filter:saturate(0);
}

.top-bar-image {
    /*div for the image of the bar at the top*/
    width: 100%;
    height: 60%;
    background-color: #e63da5;
    /*debug; also serves as the background colour, were the image not to load.*/
    background-image: url(/img/strip-top.png);
    background-position: center;
    border: white 2px solid;
    border-left: none;
    border-right: none;
    /* remove the white line at the left and right. there's probably a better way to do this.*/
}

.main-content {
    width: 100%;
    margin: 0;
}

.name-socials {
    width: 100%;
    height: 20vh;
    background-color: rgba(255, 0, 0, 0);
}

.name {
    background-color: rgba(0, 128, 0, 0);
    height: 70%;
    width: 100%;
}

.name-text {
    margin: 0;
    height: 4vh;
    font-size: 5vh;
    font-family: headerFont;
    color:rgba(255, 255, 255, 0);
}

#name1{
    animation: fadeText 700ms 0s 1 forwards;
}
#name2{
    animation: fadeText 700ms 200ms 1 forwards;
}
#name3{
    animation: fadeText 700ms 400ms 1 forwards;
}

@keyframes fadeText {
    from {color:rgba(255, 255, 255, 0);}
    to {color:rgb(255, 255, 255);}
}

.socials {
    height: 30%;
    width: 40vh;
    display:flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: rgba(255, 255, 0, 0);
}

.social-logo{
    height:3.5vh;

}

@font-face {
    /*custom downloaded font for the name of the website*/
    font-family: headerFont;
    src: url(/horizon.otf);
}


.style-name{
    width:40vh;
    height:10vh;
    background-color: #151112;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

}

.style-name>p{
    font-family: "DM Sans";
    font-size:5vh;
    font-weight: bold;
    background: linear-gradient(135deg, #ff4e9e 0%, #812553 62%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.return{
    width:30vh;
    background-color: #151112;
    /*background-image: url(/img/swirly-bg-dark.jpg);*/
    height:5vh;
    color:white;
    margin-right: 1vh;
    font-family:"DM Sans";
    font-size:3vh;
    text-align: center;
    align-content: center;
}

.return:hover{
    background-color: #080506;
}

.return>p{
    background: linear-gradient(135deg, #ff4e9e 0%, #812553 62%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    margin:0;
    padding:0;
}

.content-container{
    width:100vh;
}

.name-links{
    width:100%;
    height:15vh;
    display:flex;
    justify-content: space-between;
    align-items: end;
    padding-bottom: 2vh;
    justify-content: space-between;
}

.name-links>a{
    text-decoration: none;
}

.shop-grid{
    width:100%;
    height:49vh;
    display:flex;
    align-content: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;

}

.shop-container{
    margin-top:1vh;
    background-color: #151112;
    width: 50%;
    height:15vh;
    display:grid;
    grid-template-columns: 19vh auto;
    grid-template-rows: 50% 50%;
}

.shop-right{
    display: flex;
    flex-direction: column;
    align-content: stretch;
    align-items: end;
    padding-right:1vh;
    border-right: black 1vh solid;
    height:15vh;
}

.shop-image{
    height:15vh;
    border-right: black 1vh solid;
}

.shop-name{
    font-family: headerFont;
    color:rgb(245, 232, 239);
    text-shadow: 2px 2px rgba(161, 109, 141, 0.329);
    font-size:2vh;
    margin:0;
    height:60%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width:100%;
}

.shop-name>p{margin:0;}

.shop-redirect{
    height:40%;
    width:100%;
    display:flex;
    align-items: end;
    justify-content: right;
}

.shop-redirect-div{
    background-color: rgb(241, 174, 221);
    color:rgb(37, 6, 25);
    box-shadow: 4px 4px rgba(0, 0, 0, 0.438);
    font-family:headerFont;
    width:20vh;
    height:5vh;
    margin-bottom: 1vh;
    display:flex;
    justify-content: center;
    align-items: center;
}

.shop-redirect-div:hover{
    background-color: rgb(145, 85, 127);
}

.bot-bar {
    /* div container for the bar at the top*/
    margin: 0;
    width: 100%;
    height: 8vh;
    /*background-color: red;*/
    /*for debug purpouses*/
    align-items: center;
    display: flex;
    bottom: 0%;
}

.bot-bar-image {
    /*div for the image of the bar at the top*/
    width: 100%;
    height: 60%;
    background-color: #e63da5;
    /*debug; also serves as the background colour, were the image not to load.*/
    background-image: url(/img/strip-top.png);
    background-position: center;
    border: white 2px solid;
    border-left: none;
    border-right: none;
    filter:saturate(0);
    /* remove the white line at the left and right. there's probably a better way to do this.*/
}

@media (aspect-ratio < 1.1) and (aspect-ratio > 0.7){

    .content-container{
        width:90vw;
    }
    .style-name{
        width:40vw;
    }
    .return{
        width:29vw;
        margin-top:1vh;
        margin-right: 0;
    }
    .shop-grid{
        width: 90vw;
        justify-content: space-between;
    }
    .shop-container{
        width:44vw;
        height:14vw;
        grid-template-columns: 14vw auto;
    }
    .shop-image{
        height:14vw;
    }
    .shop-right{
        width:28vw;
        padding-right: 1vw;
        height: 14vw;
        padding-left: 1vw;
    }
    .shop-name{
        font-size: 2vw;
        text-align: center;
    }
    .shop-redirect{
        width: 100%;
        font-size: 2vw;
    }
    .shop-redirect-div{
        width:20vw;
        height:5vw;
    }
}

@media (aspect-ratio < 0.7) {
    .socials{
        width:90vw;
    }
    .name-links{
        flex-direction: column;
        align-items: center;
    }
    .style-name{
        width:90vw;
    }
    .return{
        width:80vw;
        margin-top:1vh;
        margin-right: 0;
    }
    .content-container{
        width:90vw;
    }
    .shop-grid{
        margin-top:1vh;
        width:90vw;
        overflow: hidden;
        flex-direction: column;
    }
    .shop-container{
        width:90vw;
        grid-template-columns: 16vh auto;
    }
    .shop-right{
        border:none;
        align-items: center;
        align-content: center;
        padding-left: 1vh;
    }
    .shop-name{
        font-size: 4vw;
    }
    .shop-redirect{
        justify-content: center;
        align-items: center;
    }
    .shop-redirect-div{
        width: 47vw;
        font-size: 4vw;
    }
    .shop-name{
        justify-content: center;
        align-items: center;
    }
}