/* Basic HTML elements */
html {
    height: 100%;
}

body {
	font-family:Sans-serif;
    background:#e8ebed;
    padding: 0;
    margin: 0;
    height: 100%;
}

h3, p {
    margin: 0;
    text-align: center;
    margin-top: 16px;
}

.deviceContainer, button {
    cursor: pointer;
}

/* Background elements */
#main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 35%;
}

#presentation {
    background:#0e4193;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px;
    position: absolute;
    left: 0;
    width: 30%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow-y: auto;
}

#main, #presentation {
    margin: 0;
    height: 100%;
}

/* Panel and its content */
#panel {
    width: 636px;
    height: 390px;
    margin: auto;
    background: #fff;
    z-index: 1;
    padding: 16px;
    border-radius: 6px;
    background-color: #FFFFFF;
    box-shadow: 0 0 24px 0 rgba(0,0,0,0.12);
}

#mainContainer {
    display: flex;
    justify-content: space-between;
    padding: 0 35px;
    margin-top: 32px;
}

.deviceContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #9BA2AA;
    padding: 16px;
    transition: all .2s ease-in-out;
}

.osPanel {
    width: 40%;
}

.deviceContainer:hover {
    border: 2px solid #3A62C7;
    background-color: #DAE4F7;
    transform: scale(1.1);
}

.deviceIcon {
    height: 100px;
}

.downloadButton {
    width: 80%;
    background-color: #3A62C7;
    color: #fff;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 8px;
    margin-bottom: 8px;
    height: 50px;
    /* font-weight: 100; */
}

.downloadButton:hover {
    background-color: #133897;
}

.otherOsLink {
    font-style: italic;
    color: #9BA2AA;
    font-size: 14px;
    text-align: center;
    text-decoration: underline;
    display: none;
}

.requirement {
    color: #9BA2AA;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    /* font-weight: 100; */
}

/* Presentation content */

.presentationText {
    font-size: 16px;
    line-height: 22px;
    font-weight: 100;
    color: #fff;
    text-align: center;
}

#presentationSignature {
    font-style: italic;
    margin-top: 8px;
}

#logo {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

/* Medium size */
@media screen and (max-width: 1120px) {
    #logo {
        width: 300px;
        margin: 50px;
    }

    #main {
        display: none;
        padding: 0;
    }

    #presentation {
        padding: 0;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .presentationText {
        display: none;
    }
}

/* Small size */
@media screen and (max-width: 640px) {
    #logo {
        width: 250px;
        margin: 25px;
    }

    #panel {
        margin: 0 25px;
        margin-bottom: 25px;
        height: auto;
        width: auto;
    }

    #presentation {
        justify-content: start;
    }

    #mainContainer {
        flex-direction: column;
        justify-content: center;
    }

    .deviceContainer {
        margin-bottom: 16px;
        width: auto;
    }

    .osPanel {
        width: auto;
    }

}