/*
CSS stylesheet for the homepage of the Find my fit website.
Find my fit was made by Vendula Procházková and Dominik Beran
*/

body {
    background-image: url(img/background-HQ.png); /*the sponge-like background image*/
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    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;
}

.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%;
}

@font-face {
    /*custom downloaded font for the name of the website*/
    font-family: headerFont;
    src: url(horizon.otf);
}


.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: 20%;
    display:flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: rgba(255, 255, 0, 0);
}

.social-logo{
    height:3.5vh;

}

.fit-styles-container{
    padding-top:2vh;
    padding-bottom: 4vh;
    width:70vh;
    height:50vh;
    background-color: rgba(255, 0, 0, 0);

}

.fit-styles{
    width:50vh;
    height:100%;
    display:grid;
    grid-template-columns: auto auto auto;
    justify-content: space-evenly;
}

.fit-styles>a{
    text-decoration: none;
    color:black;
}

.fit-style-button{
    height:11vh;
    width:14vh;
    font-family:"DM Sans";
    background-color: greenyellow;
}

.fit-style-button:hover{

}

.other-links{
    width:50vw;
   /* padding-left:10vw;
    padding-right:10vw;*/
    height:5vh;
    display:flex;
    justify-content: space-evenly;
}

.link-button{
    height:100%;
    width:15vw;
    background-color: white;
    font-family: headerFont;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image:url(img/bottom-buttons-bg.png);
}

#link-but1{
   background-position: left;
}
#link-but2{
   background-position: center;
}
#link-but3{
   background-position: right;
}

.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%;
    position:absolute;
}

.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;
    /* remove the white line at the left and right. there's probably a better way to do this.*/
}

@media (aspect-ratio < 1.2){

    /*body{
        background-image:none;
        background-color: black;
    }*/
    .socials{
        width:50%;
    }
    .other-links{
        width:100%;
    }
    .link-button{
        width: 33vw;
    }
}

@media (aspect-ratio < 0.7){
    /*body{
        background-image:none;
        background-color: rgb(44, 14, 14);
    }*/
    .top-bar{
        height:3vh;
    }
    .name-text{
        font-size:8vw;
    }
    .fit-styles-container{
        width: 100%;
    }
    .fit-styles{
        width: 100%;
    }
    .fit-style-button{
        width: 30vw;
        font-size: 5vw;
    }
    .other-links{
        width:100%;
        flex-direction: column;
    }
    .link-button{
        width:95%;
        height:5vh;
        margin-bottom: 1vh;
    }
    .bot-bar{
        height:3vh;
    }
}