@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Manrope', sans-serif;
}

body {
    font-family: 'Manrope';
    display: grid;
    background-color: #f0f0f0;
    overflow-x: auto;
}

#menu-333 {
    display: inline-block;
    vertical-align: top;
}

.header {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
}

.logo {
    margin: 20px;
    float: left;
    opacity: 18%;
    padding-left: 10px;
}

.actions {
    margin: 20px;
    float: right;
    padding-right: 10px;
}

.actions a {
    font-weight: 300;
    margin: 20px;
    color: #42474e;
    text-decoration: none;
    font-size: 18px;
}

.actions a:hover {
    color: #262729;
    transition: all 0.380s;
}

#bbuy {
    padding: 5px 25px;
    border: 2px solid #0066cc;
    border-radius: 50px;
    color: #0066cc;
    font-size: 17px;
    box-shadow: transparent;
    transition: 0.5 ease;
}

#bbuy:hover, :focus {
    background: #0066cc;
    color: #f0f0f0;
    box-shadow: 0 0 0.5px #0066cc, 0 0 0.5px #0066cc, 0 0 2px #0066cc, 0 0 8px #0066cc;
    transition: all 0.380s;
}

.main-text {
    display: flex;
    color: #d1d1d1;
    font-size: 265px;
    font-weight: 800;
    line-height: 0.8;
    margin-bottom: 90px;
    margin-top: 45px;
    margin-left: 21px;
}

@keyframes mac-img-animation {
    from {
        top: 70px
    }
    to {
        top: 0px
    }
}

@keyframes text-animation {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.img-text img {
    position: relative;
    margin-left: 200px;
    animation-name: mac-img-animation;
    animation-duration: 1.5s;
    top: 200px;
    animation-fill-mode: forwards;
}

.mac-main-block {
    position: relative;
    opacity: 0;
    animation-name: text-animation;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.img-text {
    display: flex;
    position: absolute;
    align-items: center;
    top: 200px;
}

.img-text .mac-main-block, .description-text, .buy-button {
    margin-right: 35px;
}

.description-text {
    font-weight: 250;
    font-size: 22px;
    line-height: 1.3;
}

.name-text p {
    font-size: 60px;
    font-weight: 700;
    color: #262729;
}

#photo {
    line-height: 0.8;
    margin-bottom: 25px;
}

.mac-main-block {
    height: 200px; 
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    margin-left: 70px;
}

.buy-button {
    margin-top: 25px;
    padding: 8px 37px;
    border: 2px solid #262729;
    background-color: #262729;
    border-radius: 50px;
    color: #f0f0f0;
    position: absolute;
    align-items: center;
}

.buy-button a {
    text-decoration: none;
    color: #f0f0f0;
    font-size: 17px;
    font-weight: 250;
}

.buy-button:hover {
    box-shadow: 0 0 0.5px #36383E, 0 0 0.5px #36383E, 0 0 2px #36383E, 0 0 8px #36383E;
    transition: all 0.380s;
}

.create-line {
    display: flex;
    width: 80%;
    border-top: 3px solid #d1d1d1;
    border-radius: 70px;
    margin: 0 auto;
}

.proga {
    float: right;
    margin-top: 50px;
    margin-left: 100px;
    margin-bottom: 100px;
}

@keyframes wipe-enter {
    from {
        position: relative;
        right: -20px;
    }
    to {
        right: 20px;
    }
}

.proga-animation {
    animation-name: wipe-enter;
    animation-duration: 2s;
}

.mac-iphone {
    text-align: right;
    color: #262729;
    font-size: 60px;
    font-weight: 700;
    margin-right: 60px;
    margin-top: 80px;
}

.iphone-text {
    color: #262729;
    display: flex;
    text-align: left;
    margin-top: 100px;
    margin-bottom: 30px;
    padding: 0 37px;
    margin-left: 40px;
    font-weight: 250;
    font-size: 22px;
    line-height: 1.3;
}

#llern {
    margin-left: 76px;
    padding: 8px 37px;
    border: 2px solid #0066cc;
    border-radius: 50px;
    position: absolute;
    align-items: center;
    margin-bottom: 30px;
    text-decoration: none;
    color: #0066cc;
    font-size: 17px;
    font-weight: 250;
}

#llern:hover, :focus {
    background: #0066cc;
    color: #f0f0f0;
    box-shadow: 0 0 0.5px #0066cc, 0 0 0.5px #0066cc, 0 0 2px #0066cc, 0 0 8px #0066cc;
    transition: all 0.380s;
}

.create-line2 {
    display: flex;
    width: 80%;
    border-top: 3px solid #d1d1d1;
    border-radius: 70px;
    margin: 0 auto;
}

.container {
    white-space: nowrap; 
    overflow-x: auto;
    width: 98vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container2 {
    margin-top: 25px;
    overflow: auto;
    flex-direction: column;
    margin: auto;
    height: 450px;
    width: 1260px;
    text-align: center;
    vertical-align: middle;
}

.actual-models a {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.actual-models .another {
    display: inline-flex;
    color: #262729;
    font-size: 60px;
    font-weight: 700;
    margin-left: 40px;
    margin-top: 100px;
    margin-bottom: 30px;
}

.actual-models .another2 {
    display: inline-flex;
    color: #c4c4c4;
    font-size: 60px;
    font-weight: 700;
    margin-left: 5px;
    margin-top: 100px;
    margin-bottom: 30px;
}

.actual-models #spisok {
    color: #262729;
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 22px;
}

.actual-models p {
    font-weight: 300;
}

.actual-models-1 {
    height: 420px;
    width: 400px;
    border-radius: 25px;
    padding: 18px;
    display: inline-block;
    background-color: #ffffff;
    text-align: center;
    margin: 10px -5px 0 15px
}

.actual-models-2, 
.actual-models-3, 
.actual-models-4, 
.actual-models-5,
.actual-models-6 {
    height: 420px;
    width: 400px;
    border-radius: 25px;
    padding: 18px;
    display: inline-block;
    background-color: #ffffff;
    text-align: center;
    margin: 10px -5px 0 20px;
}

.actual-models-7 {
    height: 420px;
    width: 400px;
    border-radius: 25px;
    padding: 18px;
    display: inline-block;
    background-color: #ffffff;
    text-align: center;
    margin: 10px 10px 0 20px;
}

.actual-models-4 #uniq{
    margin-top: 31px;
}

.actual-models-5 #uniq{
    margin-top: 31px;
}

.actual-models-1:hover,
.actual-models-2:hover,
.actual-models-3:hover,
.actual-models-4:hover,
.actual-models-5:hover,
.actual-models-6:hover,
.actual-models-7:hover {
    transform: scale(1.022);
    z-index: 1;
    transition: all 0.3s ease-in-out; 
    box-shadow: 0 0 0.5px #d6d8dd, 0 0 0.5px #d6d8dd, 0 0 1.5px #d6d8dd, 0 0 7px #d6d8dd;
}

#uniq {
    margin-top: 25px;
    margin-bottom: 25px;
}

#second-button {
    margin-top: 15px;
    padding: 6px 26px;
    border: 2px solid #0066cc;
    border-radius: 50px;
    color: #0066cc;
    font-size: 15px;
    font-weight: 400;
}

#second-button:hover, :focus {
    background: #0066cc;
    color: #f0f0f0;
    box-shadow: 0 0 0.5px #0066cc, 0 0 0.5px #0066cc, 0 0 2px #0066cc, 0 0 6px #0066cc;
    transition: all 0.3s ease-in-out; 
}

.footer {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    font-weight: 300;
    font-size: 15px;
}

.footer img {
    margin: 20px;
    padding-bottom: 7px;
    float: left;
    opacity: 18%;
}

.footer-menu {
    display: inline-flex;
    margin: 20px;
}

.footer-menu .ditale-info {
    text-decoration: none;
    color: #42474e;
    padding-left: 20px;
    padding-right: 20px;
    border-left: 1.5px solid #d1d1d1;
    transition: all 0.380s;
}

.footer-menu p {
    padding-right: 20px;
    color: #42474e;
}
