@import url('https://fonts.googleapis.com/css?family=Roboto:300,400&display=swap&subset=latin-ext');

@font-face {
    font-family: 'GothamRounded-Bold';
    src: url('../fonts/GothamRounded-Bold.otf');
}

@font-face {
    font-family: 'GothamRounded-Book';
    src: url('../fonts/GothamRounded-Book.otf');
}

@font-face {
    font-family: 'GothamRounded-Light';
    src: url('../fonts/GothamRnd-Light.otf');
}

html {
    max-width: 1366px;
    margin: 0 auto;
}

body {
    width: 100%;
    background-color: #f8f8f8;
}

.brifland-container {
    padding: 1% 3%;
}

section#layer {
    background: #f8f8f8;
    position: relative;
}

section#layer .layer-img {
    border-radius: 30px;
    background-size: cover;
    width: 625px;
    height: 625px;
}

section#layer .content {
    top: 75px;
    left: 585px;
    position: absolute;
    border-radius: 30px;
    background: #fff;
    width: 625px;
    height: 625px;
    padding-top: 65px;
    padding-left: 50px;
    padding-right: 25px;
    overflow: auto;
}

section#layer .content h1 {
    font-family: 'GothamRounded-Bold';
    text-transform: capitalize;
    color: #003f4d;
    font-size: 34px;
    margin-bottom: 15px;
}

section#layer .content p {
    color: #626877;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 300;
    position: relative;
    z-index: 99;
    max-width: 515px;
}

section#layer .layer-dots {
    background: url('../images/layer-dots.png');
    background-repeat: no-repeat;
    background-size: contain;
    top: 445px;
    left: 440px;
    position: absolute;
    width: 327px;
    height: 266px;
    z-index: 99;
}

section#layer .close {
    background: url('../images/layer-close-cyan.png');
    color: transparent;
    opacity: 1;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    top: 45px;
    left: 1181px;
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 999;
}

@media (max-width: 1200px) {
    section#layer .layer-img {
        display: none;
    }
    
    section#layer .content {
        position: relative;
        top: 75px;
        left: 0;
        width: 100%;
        height: auto;
        padding-top: 65px;
        padding-bottom: 65px;
    }
    
    section#layer .layer-dots {
        display: none;
    }
    

    section#layer .close {
        top: 45px;
        left: inherit;
        right: 25px;
    }
}