html {
    scroll-snap-type: y proximity;
}

body {
    min-height: 100%;
    padding: 0;
    margin: 0;
    background-color: cornflowerblue;
}

section {
    display: flex;
    height: 100vh;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: auto;
    padding: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    scroll-snap-align: start;
}

a {
    text-decoration: none;
}

h1 {
    font-family: "BBH Sans Bartle", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 4vh;
    font-size: 2.6vw;
}

h2, h3, h4 {
    font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin: 0.2vw;
}

h2 {
    font-size: 1.5vw;
}

h3, h4 {
    font-size: 1.3vw;
}

p {
    font-family: "Manrope", sans-serif;
    font-optical-sizing: auto;
    font-weight: 350;
    font-style: normal;
    font-size: 1vw;
}

.icon {
    max-height: 5.7vh;
    max-width: 5.7vh;
    height: auto;
    width: auto;
    filter: invert(100%);
}

.flip {
    transform: scaleX(-1);
}

.red {
    color: #FF0039;
}

.yellow {
    color: #FFCD00;
}

.green {
    color: #3DC51E;
}

.blue {
    color: #00a4d6;
}

/* HERO SECTION */

#container {
    flex-direction: column;
    justify-content: space-around;
    margin: auto;
    padding: 0;
    background-color: #0c0c0c;
    background-image: url("images/background1.jpg");
}

#ram-stick {
    max-height: 35vh;
    transition: transform 1s;
}

#download-icon{
    max-height: 10vh;
    margin-top: -1vh;
    margin-bottom: 10vh;
    transition: transform 1s;
}

#title {
    margin-top: 4vw;
    transition: transform 1s;
}

#text {
    margin-bottom: 4vw;
    transition: transform 1s;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.space {
    padding-left: 1.5vw;
    padding-right: 1.5vw;
}

#text h2, #text h3, #text h4 {
    font-family: "Marcellus SC", serif;
    font-weight: 400;
    font-style: normal;
}
/* SLIDER SECTION */

#items {
    position: relative;
    flex-direction: row;
    background-color: ivory;
    background-image: url("images/background2.jpg");
}

#quote {
    position: absolute;
    top: 5vh;
    left: 5vw;
    margin: 0;
    text-align: center;
}

#quote-text {
    height: 100%;
    color: black;
    background-color: ivory;
    border-radius: 8px;
    padding: 0.5vh 0;
}

#open-quote-icon {
    vertical-align: text-bottom;
    padding: 1vh 0 1vh 2vh;
    width: 5.7vh;
    transform: rotate(180deg) scale(-0.5);
}

#close-quote-icon {
    vertical-align: text-top;
    padding: 1vh 2vh 1vh 0;
    width: 5.7vh;
    transform: scale(-0.5);
}

#carousel {
    height: 45vh;
    width: 100vw;
    position: relative;
    margin-left: 25vw;
    transition: all .5s;
    overflow: hidden;
}

#slider {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.slide {
    display: grid;
    place-items: center;
    height: 100%;
    min-width: 30vh;
    max-width: 30vh;
    margin: auto 1vh;
    background-color: ivory;
    border-radius: 8px;
}

.slide span {
    color: black;
    font-size: 5.5vh;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.buttons {
    position: absolute;
    left: 26vw;
    bottom: 16vh;
}

#left-btn, #right-btn {
    height: 7vh;
    background-color: ivory;
    border-radius: 50%;
}

/* SOCIAL PROOF SECTION */

#social-proof {
    position: relative;
    background-color: darksalmon;
    background-image: url("images/background3.jpg");
}

#testimonial {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 70%;
    height: 100%;
    margin: auto;
}

.card {
    max-width: 17vw;
    max-height: 90vh;
    margin: auto;
    text-align: center;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.card {
    border-radius: 8px;
}

.card img {
    width: 100%;
    max-height: 50vh;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.card-text {
    margin: 2vh 1.5vw;
}

.card h4 {
    margin-bottom: 1.6vh;
}

.hidden {
        display: block;
}

#left-arrow, #right-arrow {
    display: none;
}

#left-arrow img, #right-arrow img {
    height: 6vh;
}


/* FEATURES SECTION */

#features {
    flex-direction: column;
    background-color: cornflowerblue;
    background-image: url("images/background4.jpg");
}

.feature {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 50%;
    height: 12%;
    margin: 1vh;
    padding: 1vh;
    padding-top: 2.1vh;
    border-radius: 8px;
    background-color: #0c0c0c;
    color: blanchedalmond;
}

.feature .icon {
    filter: brightness(0) saturate(100%) invert(95%) sepia(11%) saturate(1145%) hue-rotate(314deg) brightness(103%) contrast(103%);
}

/*blanchealmond filter: brightness(0) saturate(100%) invert(95%) sepia(11%) saturate(1145%) hue-rotate(314deg) brightness(103%) contrast(103%);*/
/*ivory filter: invert(99%) sepia(63%) saturate(411%) hue-rotate(325deg) brightness(106%) contrast(110%);*/

/* VIDEO SECTION */

#video {
    flex-direction: column;
    margin: auto;
    padding:0;
    background-color: #0c0c0c;
    background-image: url("images/background5.jpg");
}

#video-file {
    height: 35vh;
    border-radius: 8px;
}

#video-caption {
    color: ivory;
    background-color: #0c0c08;
    margin-top: 1.2vh;
    padding: 1.5vh;
    border-radius: 5px;
}

/* WEBMASTER SECTION */

#webmaster {
    flex-direction: column;
    background-color: cornflowerblue;
    background-image: url("images/background6.jpg");
}

#webmaster-picture {
    height: 50vh;
    margin: 2vh;
}

.final-text {
    display:flex;
    flex-direction: row;
}

.final-text h2 {
    display: flex;
    align-items: center;
    color: ivory;
    background-color: cornflowerblue;
    margin: 1vh;
    border-radius: 8px;
    padding: 1.5vh;
}

#treat h2:hover {
    cursor:pointer;
    color: beige;
    background-color: darksalmon;
}

#treat h2:hover .icon {
    filter: brightness(0) saturate(100%) invert(99%) sepia(3%) saturate(1300%) hue-rotate(5deg) brightness(100%) contrast(94%);
}

#support {
    display: inline-block;
    justify-content: center;
    align-items: center;
    color: ivory;
    background-color: cornflowerblue;
    border-radius: 8px;
    padding: 1vh 1.5vh;
}

#support h3 {
    font-size: 2vh;
    text-align:center;
    text-justify: auto;
}

#support img {
    vertical-align: text-bottom;
    height: 5vh;
}

#support:hover {
    color: beige;
    background-color: darksalmon;
}

#support:hover img {
    filter:brightness(30%) invert(100%) sepia(100%);
}

.banner {
    display: inline-block;
}

button {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 3px 8px;
    background-color: lightsalmon;
    border: 2px solid darksalmon;
    border-radius: 4px;
}

button:hover {
    cursor:pointer;
}

button img {
    height: 20px;
    margin: 0;
    filter: brightness(0) saturate(100%) invert(99%) sepia(3%) saturate(1300%) hue-rotate(5deg) brightness(100%) contrast(94%);
}

/*darksalmon filter: brightness(0) saturate(100%) invert(60%) sepia(60%) saturate(409%) hue-rotate(325deg) brightness(104%) contrast(83%);*/

:modal {
    text-align: center;
    background-color: beige;
    border: 5px solid wheat;
    border-radius: 8px;
}

#modal-text {
    margin: 3vh 5vh;
    color: #0c0c0c;
}

:modal p {
    margin:  0.5vh;
}

@media only screen and (max-width: 1050px){

    h1 {
        font-size: 5.5vw;
    }
    
    h2 {
        font-size: 2.5vw;
    }
    
    h3 {
        font-size: 2.2vw;
    }
    
    h4 {
        font-size: 2.7vw;
    }
    
    p {
        font-size: 2.3vw;
    }

    /* HERO SECTION SMALL SCREEN */
    
    #ram-stick {
        height: 45vw;
    }
    
    #download-icon{
        height: 15vw;
    }

    /* SLIDER SECTION SMALL SCREEN */

    #quote {
        top: 10vh;
    }

    #quote-text {
        font-size: 2.3vh;
        padding: 1vh 0;
    }

    #open-quote-icon {
        vertical-align: text-bottom;
        padding: 1vh 0;
        width: 4vh;
    }

    #close-quote-icon {
        vertical-align: text-top;
        padding: 1vh 0;
        width: 3vh;
    }
    
    /* SOCIAL PROOF SECTION SMALL SCREEN */

    .card {
        min-width: 50vw;
        max-width: 50vw;
        margin: auto;
    }

    .card-text {
        margin: 2vh 4vw;
        font-size: 3vw;
    }

    .card h4 {
        font-size: 3.8vw;
    }

    .hidden {
        display: none;
    }

    #left-arrow, #right-arrow {
        display: block;
    }

    #left-arrow {
        margin-right: 2vh;
    }
    #right-arrow {
        margin-left: 2vh;
    }

    /* FEATURES SECTION SMALL SCREEN */

    .feature h3 {
        font-size: 0.8rem;
    }
    
    /* VIDEO SECTION SMALL SCREEN */

    #video-file {
     height: 45vw;
    }

    /* WEBMASTER SECTION SMALL SCREEN */

    #webmaster-picture {
        height: 50vw;
    }

    .final-text h2 {
        color: white;
        background-color: cornflowerblue;
    }

    #treat h2 {
        cursor:pointer;
        color: beige;
        background-color: darksalmon;
    }
    #support {
        color: beige;
        background-color: darksalmon;
    }

    .banner {
        display: block;
    }

    :modal p {
        font-size: 2vh;
    }
}

@media only screen and (max-width: 1050px) and (orientation:landscape){

    h1 {
        font-size: 5.5vh;
    }
    
    h2 {
        font-size: 2.5vh;
    }
    
    h3 {
        font-size: 2.2vh;
    }
    
    h4 {
        font-size: 2.7vh;
    }
    
    p {
        font-size: 2.3vh;
    }

    /* HERO SECTION LANDSCAPE */
    
    #ram-stick {
        height: 45vh;
    }
    
    #download-icon{
        height: 15vh;
    }

    /* SLIDER SECTION LANDSCAPE */

    #quote-text {
        font-size: 2.8vh;
        padding: 1.5vh 1vh;
    }

    .buttons {
        bottom: 12vh;
    }

    #left-btn, #right-btn {
        height: 9vh;
    }

    /* SOCIAL PROOF SECTION LANDSCAPE */

    .card-text {
        font-size: 3.3vh;
    }

    .card h4 {
        font-size: 4vh;
    }

    #left-arrow img, #right-arrow img {
        height: 9vh;
    }

    /* FEATURES SECTION LANDSCAPE */
    .feature {
        width: 38%;
        padding: 3.5vh 1.5vh;
    }

    .feature .icon {
        max-height: 8vh;
        max-width: 8vh;
    }

    .feature h3 {
        margin-top: 1.5vh;
    }

    /* VIDEO SECTION LANDSCAPE */

    #video-file {
        height: 45vh;
    }

    #video-caption {
        font-size: 3.5vh;
        margin-top: 1.5vh;
    }

    /* WEBMASTER SECTION LANDSCAPE */

    #webmaster-picture {
        height: 50vh;
    }

    .final-text {
        padding: 3vh 1.5vh;
    }

    .final-text h2 {
        font-size: 3vh;
    }

    .banner {
        display: inline-block;
        font-size: 2.3vh;
    }

    button {
        padding: 2px 5px;
    }

    button img {
        height: 10px;
    }

    :modal p {
        font-size: 2vh;
    }
}