html, body {
    padding: 0;
    margin: 0;
}

body {
    background-color: #fafafa;
}

main {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 100px;
    transition: 1s;
}

.item {
    margin-top: 100px;
    display: flex;
    margin-left:50px;
}

.content {
    width: 1100px;
    height: 618.75px;
    background-color: #dddddd;
}

.info {
    width: 300px;
    margin-left: 30px;
    font-family: Helvetica, Roboto, sans-serif;
}

p {
    margin: 0;
    padding: 0;
}

p.title {
    font-weight: 900;
    font-size: 38px;
    line-height: 34px;
    margin-bottom: 11px;
}

p.description {
    margin-bottom: 20px;
    font-size: 16px;
}

p.date {
    font-size: 14px;
    font-weight: 700;
}

p.collab {
    font-size: 13px;
    color: #b8b8b8;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(250, 250, 250, 0.9);
    z-index: 100000;
    display: none;
    font-family: Helvetica, Roboto, serif;
}

.overlay_content {
    width: 100%;
    margin: auto;
    height: 100%;
    display: table;
}

.overlay_wrapper {
    display: table-cell;
    vertical-align: middle;
}

.overlay_wrapper2 {
    width: 350px;
    margin: auto;
}

.o_name {
    font-size: 29px;
    margin-bottom: 5px;
    font-weight: 600;
}

img.linkedin {
    float: right;
    margin-top: -50px;
    cursor: pointer;
    width: 50px;
    height: 50px;
}

.close_overlay {
    right: 0;
    top: 0;
    position: fixed;
    margin-top: 20px;
    margin-right: 20px;
    font-weight: 700;
    cursor: pointer;
}

.close_overlay:hover {
    opacity: 0.2;
}

.linkedin:hover {
    opacity: 0.5;
}

.name {
    transform: rotate(-90deg);
    z-index: 100;
    position: fixed;
    bottom: 0;
    margin-bottom: 80px;
    margin-left: -19px;
    font-size: 21px;
    font-weight: 800;
    cursor: pointer;
    font-family: Helvetica, Roboto, sans-serif;
}

.name:hover {
    opacity: 0.2;
}

img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1560px) {
  .content {
      width: 835px;
      height: 470px;
  }
    p.description {
        margin-bottom: 20px;
        font-size: 14px;
    }
    .info {
        width: 300px;
    }
    .item {
        margin-top: 50px;
    }
    p.title {
        font-size: 30px;
        line-height: 30px;
    }
}

@media screen and (max-width: 1300px) {
  .content {
      width: 750px;
      height: 420px;
  }
    p.description {
        margin-bottom: 20px;
        font-size: 13px;
    }
    .info {
        width: 300px;
    }
    .item {
        margin-top: 50px;
    }
    p.title {
    font-size: 25px;
    line-height: 25px;
    margin-bottom: 5px;
}
p.collab {
    font-size: 12px;
    color: #b8b8b8;
}
p.date {
    font-size: 12px;
    font-weight: 700;
}
}

@media screen and (max-width: 1190px) {
  .content {
      width: 100%;
      height: auto;
  }
    p.description {
        margin-bottom: 20px;
        font-size: 13px;
    }
    .info {
        width: 100%;
        margin-left:0px;
        margin-top:15px;
    }
    .item {
        margin-top: 50px;
        flex-direction: column;
        width:80%;
    }
    p.title {
    font-size: 25px;
    line-height: 25px;
    margin-bottom: 5px;
}
p.collab {
    font-size: 12px;
    color: #b8b8b8;
}
p.date {
    font-size: 12px;
    font-weight: 700;
}
}
